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 archives a chat in a specified session by using the provided chat ID. It is useful for managing chat histories by marking chats as archived, which can help in organizing and cleaning up active chat lists. For example, in a customer support workflow, this node can be used to archive resolved chat sessions automatically.
Use Case Examples
- Archiving a customer support chat after the issue is resolved to keep the active chat list clean.
- Automatically archiving old chats in a messaging application to maintain performance and organization.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the session where the chat exists, used to identify the context for the chat to be archived. |
| Chat Id | The unique identifier of the chat to be archived. |
| Request Options | Additional options for the request such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
success- Indicates whether the chat was successfully archived.chatId- The ID of the chat that was archived.session- The session name where the chat was archived.
Dependencies
- Requires an API key credential or session authentication to access the chat service.
Troubleshooting
- Common issues include invalid session names or chat IDs, which result in errors indicating the chat could not be found or archived.
- Timeout errors may occur if the server does not respond within the specified timeout period; increasing the timeout or checking network connectivity can help.
- SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this should be used cautiously due to security risks.