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 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 data about the unblock operation */
  }
}

No binary data is output by this operation.

Dependencies

  • Requires an API key credential with valid Zalo API authentication.
  • Uses stored credentials including cookie, IMEI, and user agent strings to authenticate API calls.
  • Depends on the external zca-js library to interact with the Zalo API.

Troubleshooting

  • Invalid Credentials: If the node throws an error stating no API instance was found, verify that the provided credentials (cookie, IMEI, user agent) are correct and active.
  • User ID Errors: Ensure the User ID provided exists and is valid; otherwise, the API may return errors.
  • API Rate Limits or Restrictions: The Zalo API might limit requests or restrict certain actions depending on account status.
  • 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