Zalo User icon

Zalo User

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

Overview

This node manages Zalo user interactions, specifically allowing you to unblock a user on the Zalo platform. It is useful in scenarios where you have previously blocked a user and want to restore communication with them. For example, if you manage customer relationships or social contacts via Zalo, this node can automate unblocking users based on certain triggers or workflows.

Properties

Name Meaning
User ID The ID of the user to unblock

Output

The node outputs a JSON object for each input item processed. The output JSON contains:

  • status: A string indicating success, typically "Thành công" (meaning "Success" in Vietnamese).
  • response: The raw response from the Zalo API related to the unblock operation.

Example output JSON:

{
  "status": "Thành công",
  "response": { /* API response data */ }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential to authenticate with the Zalo platform.
  • 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

  • Common issues:

    • Invalid or expired credentials may cause authentication failures.
    • Missing or incorrect User ID will prevent the unblock operation.
    • Network connectivity problems can interrupt API calls.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      This indicates that the node could not establish a connection to the Zalo API due to missing or invalid credentials. Verify your API key and credential details.
    • Errors thrown during the unblock call will be reported per item unless "Continue On Fail" is enabled, in which case errors are returned as part of the output JSON under an error field.

Links and References

Discussion