Zalo User icon

Zalo User

Quản lý người dùng Zalo

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 updating user account details programmatically. For example, you could use it to automatically unblock users who meet certain criteria or to integrate Zalo user management into a larger workflow.

Properties

Name Meaning
User ID The ID of the Zalo user to unblock

Output

The node outputs JSON data with the following structure:

{
  "status": "Thành công",
  "response": { /* response object from the unblockUser API call */ }
}
  • status: A string indicating success ("Thành công" means "Success").
  • response: Contains the detailed response returned by the Zalo API after attempting to unblock the user.

No binary data output 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-js library 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, including a valid cookie, IMEI, and user agent.
  • User ID Issues: Providing an incorrect or non-existent user ID may cause the unblock operation to fail. Verify the user ID before running the node.
  • API Rate Limits or Restrictions: The Zalo API might impose rate limits or restrictions; if errors occur repeatedly, 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

Discussion