Actions10
Overview
This node manages Zalo user interactions through various operations such as accepting friend requests, sending friend requests, blocking or unblocking users, changing alias names, retrieving user information, and more. It is useful for automating social interactions on the Zalo platform, especially in scenarios like customer engagement, community management, or personal contact organization.
For example, you can use this node to automatically unblock a user who was previously blocked, accept incoming friend requests without manual intervention, or update a friend's alias name for better identification.
The specific operation "Bỏ chặn người dùng" (Unblock User) allows you to remove a block from a specified user by their User ID, restoring communication capabilities with that user.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user to perform the operation on. For "Unblock User," it specifies which user to unblock. |
Output
The output JSON object contains:
status: A string indicating the success status, typically"Thành công"meaning "Success".response: The raw response data returned from the Zalo API for the performed operation, which may include details about the unblock action or other relevant metadata.
Example output JSON for the unblock user operation:
{
"status": "Thành công",
"response": { /* API response details */ }
}
No binary data output is produced by this node.
Dependencies
- Requires an API key credential to authenticate with the Zalo platform.
- Uses stored cookies, device IMEI, and user agent strings for session management.
- Depends on the external
zca-jslibrary to interact with the Zalo API. - Must be configured with valid Zalo credentials including cookie, IMEI, and user agent values.
Troubleshooting
Common issues:
- Invalid or expired credentials leading to authentication failures.
- Missing or incorrect User ID input causing the operation to fail.
- Network connectivity problems preventing API calls.
Error messages:
"No API instance found. Please make sure to provide valid credentials."
This indicates missing or invalid authentication details. Verify your API key and session parameters.- Errors related to specific API calls will be thrown if the user ID is invalid or the user cannot be unblocked. Ensure the User ID exists and is correct.
Resolution tips:
- Double-check the provided User ID for correctness.
- Refresh or reauthenticate your Zalo API credentials.
- Enable "Continue On Fail" in the node settings to handle errors gracefully during batch processing.