Actions9
- Bot Actions
- Message Actions
Overview
This node integrates with the Zalo Bot Platform to send chat actions within a conversation. Specifically, the sendChatAction operation allows you to display a "typing..." status in a chat, indicating that the bot is composing a message. This feature enhances user experience by providing real-time feedback during interactions.
Common scenarios include:
- Indicating to users that the bot is processing their request before sending a reply.
- Simulating human-like typing behavior in automated conversations.
- Improving engagement in customer support or interactive chatbot workflows.
Example: When a user sends a message, the bot can immediately show the "typing..." action while it fetches data or generates a response, then send the actual message afterward.
Properties
| Name | Meaning |
|---|---|
| Debug Mode | If enabled, returns the API call URL for debugging purposes instead of the usual output. |
| Chat/User ID | The unique identifier of the chat or user where the chat action will be displayed. |
| Action | The type of chat action to perform. Currently supports only "typing" (shows typing...). |
Output
The node outputs a JSON array containing the response from the Zalo Bot API. The structure typically includes:
response: The parsed JSON response from the API indicating success or failure.debug(optional): When debug mode is enabled, contains the called URL and HTTP status for troubleshooting.
No binary data is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Zalo Bot Platform.
- Uses the Zalo Bot API endpoint at
https://bot-api.zapps.me. - Requires network access to the Zalo API service.
- No additional environment variables are needed beyond the API credential.
Troubleshooting
- Missing or invalid Chat/User ID: The node requires a valid chat identifier; ensure this is correctly provided.
- Unsupported action value: Currently, only the
"typing"action is supported. Using other values may cause errors. - API authentication errors: Verify that the API key credential is valid and has necessary permissions.
- Debug mode output: Enable debug mode to see the exact API request URL and HTTP status, which helps diagnose connectivity or parameter issues.
- Error on missing confirmation: Not applicable here but relevant for webhook deletion operations in the broader node.
Links and References
- Zalo Official Bot API Documentation
- Zalo Chat Actions Overview (for understanding available chat actions)
If you need summaries for other resources or operations, feel free to ask!