Actions21
- Contato Actions
- LiveChat Actions
- Tag Actions
- WhatsApp Template Actions
- Campo Personalizado Actions
- Disparo Actions
- Fluxo Actions
Overview
This node integrates with the uChat API to perform various operations related to LiveChat conversations, subscribers, tags, custom fields, flows, broadcasts, and WhatsApp templates. Specifically, for the LiveChat resource with the 'Obter Historico' operation, it retrieves the message history of a conversation for a specified contact. This is useful for scenarios where you need to access past chat messages of a user, such as customer support follow-ups or chat analytics.
Use Case Examples
- Retrieve the last 50 messages from a user's chat history to analyze customer interactions.
- Fetch chat history for a specific user to display in a CRM system.
Properties
| Name | Meaning |
|---|---|
| User NS | Unique identifier of the contact (user_ns) whose chat history is to be retrieved. |
| Limite | Maximum number of chat messages to return from the conversation history. |
Output
JSON
- ``
message- Individual chat message content from the conversation history.timestamp- Timestamp of when each message was sent.sender- Identifier or details of the message sender.
Dependencies
- Requires an API key credential for uChat API authentication.
Troubleshooting
- Common issues include invalid or missing user_ns resulting in no data returned or errors from the API.
- If the limit parameter is set too high, the API might throttle or reject the request.
- Errors related to authentication indicate missing or incorrect API credentials.
Links
- uChat API Documentation - Official API documentation for uChat, detailing endpoints and usage.