Actions9
Overview
This node interacts with the Zalo platform to manage user-related actions, specifically focusing on operations related to Zalo users. The provided operation "Chặn người dùng" (Block User) allows you to block a specific user by their User ID. This is useful in scenarios where you want to prevent certain users from interacting with your Zalo account or application.
Practical examples include:
- Automatically blocking users who send spam messages.
- Managing user access by blocking users who violate terms of service.
- Integrating with customer support workflows to restrict problematic users.
Properties
| Name | Meaning |
|---|---|
| User ID | The ID of the user to be blocked |
Output
The output JSON contains the following structure:
status: A string indicating the result of the operation, typically "Thành công" (Success).response: The raw response data returned from the Zalo API after attempting to block the user.
Each output item corresponds to an input item and includes the paired item index for traceability.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Zalo platform.
- Uses cookies, IMEI, and user agent strings extracted from credentials or previous node executions to authenticate requests.
- Depends on an external Zalo API client library internally to perform user operations such as blocking.
Troubleshooting
Common issues:
- Invalid or expired authentication credentials may cause failures.
- Incorrect User ID format or non-existent user IDs will result in errors from the Zalo API.
- Network connectivity problems can interrupt API calls.
Error messages:
- If the node throws an error indicating missing or invalid credentials, verify that the API key and other required authentication details are correctly configured.
- Errors related to user not found or permission denied usually mean the User ID is incorrect or the authenticated account lacks necessary permissions.
- For unexpected errors, enabling the "Continue on Fail" option allows processing subsequent items without stopping the workflow.
Links and References
- Zalo Official Developer Documentation
- Zalo API User Management (for detailed API endpoints and parameters)