Zalo User icon

Zalo User

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

Overview

This node allows users to search for Zalo users by their phone numbers. It is useful in scenarios where you want to find detailed information about a user on the Zalo platform using their phone number as the key identifier. For example, businesses can use this node to verify customer identities or enrich contact data by retrieving user profiles from Zalo.

Properties

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

Output

The output JSON contains:

  • status: A string indicating the status of the operation (e.g., "success").
  • response: The actual response data returned from the Zalo API containing user information matching the phone number query.

Each item in the output corresponds to an input item and includes the paired item index for traceability.

Dependencies

  • Requires a valid Zalo API authentication token (provided via credentials configured in n8n).
  • Uses an internal Zalo API client instantiated with cookie, device IMEI, and user agent parameters extracted from credentials.
  • No additional external dependencies beyond the Zalo API and its authentication.

Troubleshooting

  • Common issues:

    • Invalid or expired API credentials may cause authentication failures.
    • Providing an incorrectly formatted phone number could result in no matches found.
    • Network connectivity issues might prevent successful API calls.
  • Error messages:

    • If the node cannot instantiate the Zalo API client due to missing or invalid credentials, it throws an error indicating failure to connect.
    • API errors returned from Zalo are captured and included in the output under an error field if the node is set to continue on failure.
    • To resolve errors, ensure that the API credentials are correctly configured and valid, and verify the phone number format.

Links and References

Discussion