Zalo CN User  icon

Zalo CN User

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

Overview

This node manages Zalo user interactions, specifically for the "Zalo User" resource. 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. This is useful in scenarios where you previously blocked a user and want to restore communication with them.

Practical examples include:

  • Unblocking a user who was mistakenly blocked.
  • Automating user management workflows where users are unblocked based on certain triggers or conditions.
  • Integrating with customer support systems to unblock users after resolving issues.

Properties

Name Meaning
User ID ID of the user to unblock

The "User ID" property is a required string that specifies the unique identifier of the Zalo user you want to unblock.

Output

The node outputs JSON data with the following structure:

{
  "status": "Thành công",
  "response": { /* response data 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 when unblocking the user. This may include confirmation details or metadata about the unblock action.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential to authenticate with the Zalo API.
  • The node uses stored credentials including cookie, device IMEI, and user agent strings to establish a session with the Zalo service.
  • The external dependency is the zalo-api-final library which handles communication with the Zalo platform.

Troubleshooting

  • Common Issues:

    • Invalid or expired credentials can cause login failures.
    • Providing an incorrect or non-existent User ID will result in errors from the Zalo API.
    • Network connectivity problems may prevent successful API calls.
  • Error Messages:

    • "No API instance found. Please make sure to provide valid credentials."
      This indicates failure to authenticate with Zalo. Verify your API credentials and ensure they are correctly configured.
    • Errors thrown during the unblock operation will be reported with the specific message from the Zalo API. If "Continue On Fail" is enabled, these errors will be included in the output JSON under an error field.
  • Resolution Tips:

    • Double-check the User ID format and existence.
    • Refresh or re-enter API credentials if authentication fails.
    • Ensure stable internet connection.
    • Enable "Continue On Fail" to handle partial failures gracefully in batch operations.

Links and References

Discussion