Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Presença → Digitando

AI-generated

Overview

This node interacts with the Press Ticket® API to send presence indicators related to a ticket in a communication system. Specifically, for the 'Presença' resource and 'Digitando' operation, it sends a typing indicator for a specified ticket ID, optionally with a duration in milliseconds. This is useful in scenarios where you want to show that a user is currently typing a message in a chat or ticketing system, enhancing real-time communication feedback.

Use Case Examples

  1. In a customer support chat, when an agent starts typing a response, this node can send a 'typing' presence indicator to notify the customer that a reply is being composed.
  2. In a collaborative ticketing system, this node can be used to signal to other agents or users that someone is actively typing in a ticket conversation.

Properties

Name Meaning
ID do Ticket The unique identifier of the ticket for which the typing indicator will be sent.
Duração (ms) The duration in milliseconds for which the typing indicator should be active. This property is optional and only applicable for typing and recording operations.

Output

JSON

  • success - Indicates if the typing indicator was successfully sent.
  • ticketId - The ID of the ticket for which the typing indicator was sent.
  • duration - The duration in milliseconds for which the typing indicator was active.

Dependencies

  • Press Ticket® API with an API token credential

Troubleshooting

  • Ensure the provided ticket ID is valid and exists in the system to avoid errors.
  • Verify that the API token credential is correctly configured and has the necessary permissions to send presence indicators.
  • If the duration is not provided, the node uses a default value of 3000 milliseconds (3 seconds). Adjust this value as needed.

Discussion