Actions101
- 🖥️ Sessions Actions
- 🔑 Auth Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
💬 Chats → Delete Chat
AI-generatedOverview
This node operation deletes a chat session by specifying the session name and chat ID. It is useful for managing chat data by removing unwanted or obsolete chat sessions from a system. For example, it can be used in customer support workflows to delete chat histories after a case is closed or to maintain privacy by removing sensitive chat data.
Use Case Examples
- Deleting a chat session by providing the session name and chat ID to clean up chat records.
- Automating chat data management by removing chats that are no longer needed after a certain period.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the chat session to delete. This is required to identify which session the chat belongs to. |
| Chat Id | The unique identifier of the chat to be deleted. This is required to specify the exact chat to remove. |
| Request Options | Additional options to customize the HTTP request such as batching, SSL certificate validation, proxy settings, and timeout duration. |
Output
JSON
success- Indicates whether the chat deletion was successful.message- Additional information or status message about the deletion operation.
Dependencies
- Requires an API key or authentication token to access the chat service API.
Troubleshooting
- Ensure the session name and chat ID are correct and exist in the system; otherwise, the deletion will fail.
- If SSL certificate validation fails and the request is blocked, enable the 'Ignore SSL Issues' option to bypass this check (not recommended for production).
- Check proxy settings if the request cannot reach the server due to network restrictions.
- Timeout errors may occur if the server is slow to respond; increase the timeout setting if necessary.