Zalo User icon

Zalo User

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

Overview

This node allows users to interact with Zalo's user-related functionalities, specifically here focusing on the operation "Chấp nhận lời mời kết bạn" (Accept Friend Request). It enables accepting friend requests from other Zalo users by specifying their User ID. This is useful in automating social interactions on Zalo, such as managing friend lists or integrating Zalo contacts into workflows.

Practical examples include:

  • Automatically accepting friend requests from a list of user IDs imported from another system.
  • Integrating Zalo friend management into CRM systems to keep contact lists updated.
  • Automating social engagement tasks for marketing or community management.

Properties

Name Meaning
User ID The ID of the Zalo user whose friend request you want to accept.

Output

The output JSON contains:

  • status: A string indicating the result of the operation, typically "Thành công" (Success).
  • response: The raw response data returned from the Zalo API after attempting to accept the friend request.

The output is paired with the input item index to maintain correspondence when processing multiple items.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with Zalo's API.
  • Uses stored cookies, IMEI, and user agent strings from credentials or previous executions to authenticate requests.
  • Depends on an external Zalo API client library internally to perform actions like accepting friend requests.

Troubleshooting

  • Common issues:

    • Invalid or expired authentication credentials may cause failures.
    • Incorrect or missing User ID will prevent the friend request acceptance.
    • Network or API rate limits could cause errors.
  • Error messages:

    • If the node throws an error related to authentication, verify that the API key credential is correctly configured and valid.
    • Errors mentioning missing or invalid User ID indicate that the input property must be checked.
    • For unexpected API errors, check network connectivity and Zalo API status.
  • The node supports continuing on failure; if enabled, it will return error details per item instead of stopping execution.

Links and References

Discussion