Zalo User icon

Zalo User

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

Zalo User → Tìm Kiếm Người Dùng

AI-generated

Overview

This node allows users to search for Zalo users by their phone number. It is useful in scenarios where you want to find user profiles on the Zalo platform based on a given phone number, such as verifying contacts, enriching customer data, or integrating Zalo user information into workflows.

A practical example would be: Given a list of phone numbers, use this node to retrieve corresponding Zalo user details to personalize communication or validate user identities.

Properties

Name Meaning
Phone Number The phone number to search for the Zalo user. This is a required string input.
Limit The maximum number of search results to return. This is a required number input (default 50).

Output

The node outputs JSON data containing the search results from Zalo. Each item in the output corresponds to one input item and includes:

  • status: A string indicating the status of the search operation.
  • response: The detailed response object from the Zalo API containing user information matching the phone number query.

The output is paired with the input item index to maintain correspondence between inputs and outputs.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating requests to the Zalo service.
  • Uses an internal helper class to perform the actual API calls to Zalo.
  • The node expects certain authentication cookies and device identifiers (like IMEI and user agent) to be provided via credentials or environment configuration to successfully interact with the Zalo API.

Troubleshooting

  • Common issues:

    • Missing or invalid API authentication credentials will cause the node to throw errors.
    • Providing an incorrectly formatted phone number may result in no results or API errors.
    • Exceeding the allowed limit or rate limits imposed by Zalo API could lead to failures.
  • Error messages:

    • Errors related to authentication failure indicate missing or incorrect API keys or tokens.
    • Network or timeout errors suggest connectivity issues with the Zalo API endpoint.
    • If the node throws an error about missing cookies or device info, ensure that all required credential fields are properly configured.

To resolve these issues, verify your API credentials, check the phone number format, and ensure network connectivity.

Links and References

Discussion