Actions9
Overview
This node manages Zalo user interactions through various operations such as accepting friend requests, sending friend requests, blocking or unblocking users, changing account settings or avatar, retrieving user info, and finding users by phone number. Specifically, the "Bỏ chặn người dùng" (Unblock User) operation removes a block on a specified Zalo user, allowing renewed interaction.
Common scenarios include:
- Re-enabling communication with previously blocked contacts.
- Managing user relationships programmatically in automated workflows.
- Integrating Zalo user management into broader CRM or customer support systems.
Example: Automatically unblock a user after resolving a dispute, enabling further messaging.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the Zalo user to unblock |
Output
The output JSON contains:
status: A string indicating success, e.g.,"Thành công"("Success").response: The raw response from the Zalo API for the unblock action, which may include details about the unblock operation result.
Output example:
{
"status": "Thành công",
"response": {
/* API response details */
}
}
No binary data is output by this operation.
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," verify that the provided API credentials are valid and contain necessary authentication tokens like cookies.
- User Not Found or Invalid User ID: Errors may occur if the specified User ID does not exist or is malformed. Double-check the User ID input.
- API Rate Limits or Network Issues: Temporary failures might happen due to network problems or API rate limiting; retrying later can help.
- Continue On Fail: If enabled, errors for individual items will be returned in the output JSON under an
errorfield instead of stopping execution.