Zalo User icon

Zalo User

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

Overview

This node manages Zalo user-related operations, specifically for the "Zalo User" resource. The operation "Tìm kiếm người dùng" (Find User) allows searching for Zalo users by phone number. This is useful when you want to retrieve user information from Zalo based on their phone number, such as for contact enrichment, verification, or integration with other systems.

Practical examples:

  • Searching for a user's profile details by their phone number.
  • Retrieving multiple user records up to a specified limit for batch processing.
  • Integrating Zalo user data into CRM or marketing automation workflows.

Properties

Name Meaning
Phone Number The phone number of the user to search for in Zalo.
Limit The maximum number of user results to return from the search.

Output

The node outputs JSON data containing the search results. The main output structure includes:

  • status: A string indicating the status of the operation, typically "success" if the search was successful.
  • response: An object or array containing the user data returned from Zalo matching the phone number query.
  • pairedItem: Metadata linking the output item to the input item index for reference.

No binary data output is indicated in the code.

Example output JSON snippet:

{
  "status": "success",
  "response": {
    // user data objects returned by Zalo API
  }
}

Dependencies

  • Requires an API key credential to authenticate with Zalo's service.
  • Uses stored credentials including cookie, IMEI, and user agent strings for authentication.
  • Depends on an external Zalo API client library bundled within the node implementation.
  • Node configuration must include valid Zalo credentials with necessary permissions.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials causing authentication failures.
    • Network connectivity problems preventing access to Zalo API.
    • Exceeding rate limits imposed by Zalo API.
    • Providing invalid phone numbers or unsupported formats.
  • Error messages:

    • "Login failed": Indicates failure to authenticate with Zalo using provided credentials. Check API keys and cookies.
    • Errors thrown during API calls will be captured and can be output per item if "Continue on Fail" is enabled.
    • If no results are found, the response may be empty or contain an empty list.
  • Resolutions:

    • Verify and refresh credentials.
    • Ensure phone numbers are correctly formatted.
    • Check network and proxy settings.
    • Enable "Continue on Fail" to handle partial errors gracefully.

Links and References

Discussion