Actions101
- š¤ Chatting Actions
- š„ļø Sessions Actions
- š Auth Actions
- š¼ļø Screenshot Actions
- š¢ Channels Actions
- š¢ Status Actions
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ Groups Actions
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
Overview
This node operation retrieves chat data from a specified session. It is useful for scenarios where you need to fetch and analyze chat conversations, such as monitoring customer support interactions, extracting chat history for reporting, or integrating chat data into other workflows.
Use Case Examples
- Fetching the latest 100 chats sorted by conversation timestamp to analyze recent customer interactions.
- Retrieving chats sorted by name in ascending order for alphabetical listing in a dashboard.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the session from which to retrieve chats. This is required to specify the chat context. |
| Sort By | The field by which to sort the retrieved chats. Options include conversation timestamp, chat ID, or chat name. |
| Sort Order | The order in which to sort the chats, either descending (newest first) or ascending (oldest first). |
| Limit | The maximum number of chat records to retrieve. A value of 0 means no limit. |
| Offset | The number of chat records to skip before starting to collect the result set. |
| Request Options | Additional request settings such as batching, SSL certificate validation, proxy configuration, and request timeout. |
Output
JSON
chats- Array of chat objects retrieved from the specified session, containing chat details such as ID, name, and timestamps.
Dependencies
- Requires an API key credential or session authentication to access chat data from the service.
Troubleshooting
- Common issues include invalid session names causing no data to be returned, which can be resolved by verifying the session name.
- Timeout errors may occur if the server is slow or unresponsive; increasing the timeout setting can help.
- SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.