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 clears messages in a specified chat session. It is useful for managing chat histories by removing all messages from a particular chat, which can help in maintaining privacy, freeing up storage, or resetting chat contexts. For example, it can be used in customer support workflows to clear chat logs after a session ends.
Use Case Examples
- Clearing all messages in a customer support chat session after the conversation is completed.
- Resetting a chat history in a team collaboration tool to start fresh discussions.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the chat session where messages will be cleared. |
| Chat Id | The unique identifier of the chat from which messages will be cleared. |
| Request Options | Additional settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
success- Indicates whether the clear messages operation was successful.clearedMessagesCount- Number of messages that were cleared from the chat.
Dependencies
- Requires an API key credential or authentication token to access the chat service API.
Troubleshooting
- Ensure the session name and chat ID are correct and exist in the system to avoid errors.
- If SSL certificate validation fails, enable 'Ignore SSL Issues' option cautiously to bypass the error.
- Check proxy settings if network requests fail due to connectivity issues.
- Adjust timeout settings if the server response is slow to prevent premature request abortion.