Zalo User Trigger
AI-generatedOverview
This node listens to various events from Zalo, such as messages, group events, reactions, and message undo events. It allows users to specify which events to listen to, whether to include events sent by themselves, and to filter events by allowed or blocked thread IDs. It can also fetch additional user metadata from Zalo and supports receiving messages via a webhook callback URL. This node is useful for automating workflows based on real-time interactions and events in Zalo messaging and group environments.
Use Case Examples
- Listening to incoming messages from users or groups to trigger automated responses or logging.
- Monitoring group events to track changes or activities within specific groups.
- Capturing reactions to messages to analyze user engagement.
- Detecting message undo events to update records or notify users.
Properties
| Name | Meaning |
|---|---|
| Events | Select the types of Zalo events to listen for, such as messages, group events, reactions, and undo events. |
| Include Self Events | Whether to listen to events sent by the user themselves. |
| Allowed Thread IDs | Comma-separated list of thread IDs (groups or users) to listen to. If empty, listen to all events. |
| Blocked Thread IDs | Comma-separated list of thread IDs (groups or users) to block from listening. If empty, no threads are blocked. |
| Get Metadata | Whether to fetch additional user metadata from Zalo. |
| Webhook callback URL | URL to receive messages from Zalo Manager when Get Metadata is enabled. |
Output
JSON
json- The event data received from Zalo, including event type, timestamp, and workflow ID.
Dependencies
- Zalo API for event listening and user metadata fetching.
Troubleshooting
- Ensure the webhook callback URL is correctly configured and accessible if using webhook mode.
- Verify that the API credentials for Zalo are valid and have the necessary permissions.
- Check that the allowed and blocked thread ID lists are correctly formatted as comma-separated strings.
- If no events are received, confirm that the selected event types are supported and that the Zalo account is active and connected.
Links
- Zalo Official Account API Webhook Documentation - Official documentation for setting up and using Zalo webhooks to receive events.