Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Presença → Disponível

AI-generated

Overview

This node interacts with the Press Ticket API to manage presence indicators in a ticketing system. Specifically, for the 'Presença' (Presence) resource and the 'Disponível' (Available) operation, it removes typing or recording indicators from a ticket, signaling that the user is now available. This is useful in customer support or communication workflows where presence status updates are needed to reflect user availability.

Use Case Examples

  1. In a customer support workflow, after sending a typing or recording indicator, the node can be used to set the presence status to available once the message is sent.
  2. In a chat application integrated with Press Ticket, this node can update the presence status to available to indicate the agent is ready for new interactions.

Properties

Name Meaning
ID do Ticket The unique identifier of the ticket for which the presence status is being set to available.

Output

JSON

  • success - Indicates if the presence update was successful.
  • ticketId - The ID of the ticket for which the presence was updated.

Dependencies

  • Press Ticket API with API token authentication

Troubleshooting

  • Ensure the provided ticket ID is valid and exists in the Press Ticket system.
  • Verify that the API token credential is correctly configured and has the necessary permissions.
  • If the API request fails, check the network connectivity and the API endpoint URL.
  • Handle API errors gracefully by enabling 'Continue On Fail' to avoid workflow interruption.

Discussion