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, and retrieving user information. Specifically, the "Bỏ chặn người dùng" (Unblock User) operation allows you to remove a block on a specified Zalo user by their user ID.
Common scenarios for this node include automating social interactions on Zalo, managing friend lists, and controlling user access programmatically. For example, you could use it to automatically unblock users who meet certain criteria or to integrate Zalo user management into broader workflows.
Properties
| Name | Meaning |
|---|---|
| User ID | The ID of the user to unblock. |
Output
The output JSON contains:
status: A string indicating the success of the operation, typically"Thành công"(Success).response: The raw response from the Zalo API related to the unblock action.
Example output JSON:
{
"status": "Thành công",
"response": {
// API response details here
}
}
No binary data is produced by this operation.
Dependencies
- Requires an API key credential to authenticate with the Zalo API.
- Uses stored credentials including cookie, 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 an error about no API instance found, ensure that valid Zalo API credentials are provided and that the cookie, IMEI, and user agent values are correct.
- User ID Issues: Providing an incorrect or non-existent user ID will likely cause the API call to fail. Verify the user ID before running the node.
- API Rate Limits or Restrictions: The Zalo API may impose limits or restrictions; if errors occur, check API usage policies.
- Continue On Fail: If enabled, the node will continue processing other items even if one fails, returning error messages in the output JSON.
Links and References
- Zalo Official Developer Documentation
- zca-js GitHub Repository (for the underlying Zalo API client used)