Zalo Friend Trigger
Overview
This node acts as a trigger for friend-related events from the Zalo platform, specifically listening for friend request events. It is designed to be used in workflows where you want to automate actions based on incoming friend requests on Zalo, such as sending notifications, logging events, or updating databases when a new friend request is received.
Practical examples include:
- Automatically notifying a team via chat or email when a new friend request arrives.
- Logging friend request data into a CRM system.
- Triggering follow-up workflows that engage with the requester.
Properties
| Name | Meaning |
|---|---|
| Event Types | Friend events to listen for. Options: "Friend Requests" (value 2) |
The property allows selecting which types of friend events the node should listen for. Currently, it supports only "Friend Requests".
Output
The node outputs JSON data representing the friend event received from Zalo. The output structure includes details about the friend event type and associated data. This data can then be used downstream in the workflow for further processing.
No binary data output is produced by this node.
Dependencies
- Requires an API authentication credential to connect to the Zalo platform.
- Uses an external library to handle Zalo API interactions and event listening.
- The node expects proper configuration of the Zalo API credentials within n8n to establish a connection.
Troubleshooting
- Connection failures: If the node throws a "Zalo connection failed" error, verify that the provided API credentials are correct and have the necessary permissions.
- Event not triggering: Ensure that the selected event types match the actual events occurring on the Zalo account. Also, confirm that the webhook URL is correctly set up and accessible.
- Missing or invalid credentials: The node requires valid credentials; missing or misconfigured credentials will prevent it from working.