Actions9
Overview
This node enables interaction with Zalo user accounts through various operations such as sending friend requests, accepting friend requests, blocking/unblocking users, changing account settings or avatar, retrieving user information, and searching for users. It is particularly useful for automating social interactions on the Zalo platform, managing contacts, and updating user profiles programmatically.
A practical example is using this node to send personalized friend requests with a custom message to multiple users automatically, which can help in marketing campaigns or community building on Zalo.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the Zalo user to whom the friend request will be sent. |
| Message | The accompanying message that will be sent along with the friend request. |
Output
The output JSON object contains:
status: A string indicating the success status, typically "Thành công" (meaning "Success").response: The raw response from the Zalo API for the performed operation, which may include details about the friend request or other user-related data.
Each output item is paired with the corresponding input item index for traceability.
Dependencies
- Requires an API key credential to authenticate with the Zalo platform.
- Uses stored credentials including cookie, device IMEI, and user agent strings to establish a session.
- Depends on the external
zca-jslibrary to interact with the Zalo API.
Troubleshooting
- Invalid Credentials: If the node throws "No API instance found," it indicates invalid or missing credentials. Ensure that the API key and related authentication details are correctly configured.
- Operation Failures: Errors during operations like sending friend requests or blocking users will throw exceptions. Enable "Continue On Fail" to handle errors gracefully per item.
- Missing Required Parameters: Make sure all required properties such as User ID and Message are provided; otherwise, the node will error out.