Zalo User icon

Zalo User

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

Overview

This node interacts with the Zalo platform to retrieve user information based on a given User ID. It is useful in scenarios where you need to fetch detailed data about a specific Zalo user, such as for customer support, user verification, or personalized marketing campaigns.

For example, you might use this node to:

  • Obtain profile details of a user who interacted with your chatbot.
  • Verify user identity by fetching their public information.
  • Integrate Zalo user data into your CRM system.

Properties

Name Meaning
User ID The unique identifier of the Zalo user whose information you want to retrieve.

Output

The node outputs JSON data containing the status and the response from the Zalo API regarding the requested user's information. The structure typically looks like:

{
  "status": "success",
  "response": {
    // user information fields returned by Zalo API
  }
}

Each output item corresponds to an input item, paired by index.

No binary data output is produced by this operation.

Dependencies

  • Requires a valid API authentication token credential to connect to the Zalo platform.
  • The node internally uses a helper class to send requests to Zalo's API endpoints.
  • Proper configuration of the credential with necessary permissions is essential.

Troubleshooting

  • Common issues:

    • Invalid or expired API credentials will cause authentication failures.
    • Providing an incorrect or non-existent User ID will result in errors or empty responses.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Errors thrown during execution include descriptive messages from the underlying API or network layer.
    • If the node is set to continue on failure, error details are included in the output JSON under an error field.
    • To resolve errors, verify the API key validity, check the User ID correctness, and ensure stable internet connection.

Links and References

Discussion