Overview
This node listens for friend-related events on the Zalo platform, specifically focusing on friend requests. It acts as a trigger that activates workflows when such events occur. This is useful for automating responses or actions based on incoming friend requests, such as sending welcome messages, logging new connections, or integrating with CRM systems.
Practical examples include:
- Automatically sending a greeting message when a new friend request is received.
- Logging friend requests into a database for analytics.
- Triggering notifications to team members about new connection opportunities.
Properties
| Name | Meaning |
|---|---|
| Event Types | Friend events to listen for. Options: "Friend Requests" |
Output
The node outputs JSON data representing the friend event details received from Zalo. The output contains an array of objects under the json field, each describing a specific friend event (e.g., a friend request). This data can be used downstream in the workflow for further processing.
No binary data output is produced by this node.
Dependencies
- Requires a valid API authentication token credential to connect to the Zalo platform.
- Uses a webhook URL generated by n8n to receive real-time friend event notifications.
- Depends on the Zalo SDK or API client internally to establish and maintain the connection and event listening.
Troubleshooting
- Connection failures: If the node cannot connect to Zalo, ensure the API credentials are correct and have sufficient permissions.
- Webhook issues: Verify that the webhook URL is accessible from the internet and correctly configured in Zalo.
- Event filtering: If no events are triggered, check that the selected event types match the actual events occurring on the Zalo account.
- Error messages related to missing cookies or IMEI: These indicate internal connection setup problems; re-authenticate or refresh credentials.