Actions10
Overview
This node manages Zalo users by interacting with the Zalo platform through various user-related operations. It is useful for automating tasks such as blocking or unblocking users, accepting friend requests, sending friend requests, changing alias names, and retrieving user information. For example, you can use this node to automatically block a user based on certain criteria or fetch detailed information about a user to personalize communications.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user to perform the operation on. |
Output
The output JSON structure varies depending on the operation but generally includes:
status: A string indicating success, typically "Thành công" (meaning "Success").response: The raw response from the Zalo API for the performed action.- For the
getUserInfooperation, the output is the detailed user information object returned by the API. - For
getAllFriends, the output contains afriendsarray listing friend objects. - In case of errors (if continuing on fail), the output includes an
errorfield with the error message.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential to authenticate with the Zalo platform.
- Uses cookies, device IMEI, and user agent strings from credentials or input data for authentication.
- Depends on the external
zca-jslibrary to interact with the Zalo API.
Troubleshooting
Common issues:
- Invalid or expired credentials may cause login failures.
- Missing required parameters like User ID will result in errors.
- Network or API rate limiting issues could interrupt operations.
Error messages:
"No API instance found. Please make sure to provide valid credentials."indicates authentication failure; verify your API key and cookie data.- Errors thrown during operations include the specific message from the Zalo API; enabling "Continue On Fail" allows processing subsequent items despite errors.