Overview
This node listens for incoming messages on the Zalo platform, specifically user messages and group messages. It is designed as a trigger node in n8n workflows to react to new messages received on Zalo. Common use cases include automating responses, logging messages, or integrating Zalo message events with other systems.
Use Case Examples
- Automatically respond to user messages received on Zalo.
- Log group messages from Zalo into a database.
- Trigger workflows based on specific message content from Zalo users or groups.
Properties
| Name | Meaning |
|---|---|
| Event Types | Specifies the types of messages to listen for, either user messages, group messages, or both. |
| Self Listen | Determines whether the node should listen to messages sent by the authenticated user itself. |
Output
JSON
message- The incoming message object received from Zalo, containing details about the message event.
Dependencies
- Zalo API accessed via an API key credential
Troubleshooting
- Ensure valid Zalo API credentials are provided; otherwise, the node will fail to connect.
- If the webhook URL is not correctly set or accessible, the node will not receive message events.
- The node requires the Zalo API cookie, IMEI, and user agent for authentication; missing or invalid values will cause connection failure.
Links
- Zalo Social API Documentation - Official documentation for Zalo API used to interact with messages and other social features.