Mtai Zalo User icon

Mtai Zalo User

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

Overview

This node manages Zalo user interactions through various operations such as blocking or unblocking users, handling friend requests, changing account settings, and retrieving user information. It is particularly useful for automating social media management tasks on the Zalo platform, such as moderating contacts by blocking unwanted users or programmatically managing friend lists.

For example, you can use this node to automatically block a user based on certain criteria in your workflow, or to fetch detailed information about a user to personalize communications.

Properties

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

Output

The output JSON contains:

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

Example output JSON:

{
  "status": "Thành công",
  "response": {
    // API response details here
  }
}

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, device IMEI, and user agent strings to establish a session.
  • Depends on the external zca-js library for interacting with the Zalo API.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials may cause authentication failures.
    • Missing or incorrect User ID input will prevent the operation from executing properly.
    • Network connectivity problems can interrupt communication with the Zalo API.
  • 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 invalid or missing credentials. Verify that the API key and other required authentication details are correctly configured.
    • Errors returned from the Zalo API will be passed through; enabling "Continue On Fail" allows the workflow to proceed while capturing error messages in the output.

Links and References

Discussion