Actions9
Overview
This node interacts with the Zalo platform to manage and retrieve information about Zalo users. It is useful for automating user-related tasks such as fetching user details, managing friend requests, blocking/unblocking users, updating account settings, and more.
A practical example is using this node to get detailed information about a specific Zalo user by their User ID, which can be helpful in customer support workflows or CRM integrations where you need to enrich contact data with Zalo profile information.
Properties
| Name | Meaning |
|---|---|
| User ID | The ID of the Zalo user whose information you want to retrieve |
Output
The output JSON contains the detailed information of the requested Zalo user. The structure corresponds directly to the data returned by the Zalo API's user info endpoint. This typically includes user profile fields such as name, avatar, status, and other relevant user metadata.
No binary data output is produced by this operation.
Example output snippet (simplified):
{
"id": "123456789",
"name": "Nguyen Van A",
"avatar": "https://example.com/avatar.jpg",
"status": "Online",
...
}
Dependencies
- Requires an API key credential to authenticate with the Zalo platform.
- The node depends on a third-party library (
zca-js) to handle Zalo API interactions. - Proper configuration of credentials including cookie, IMEI, and user agent values is necessary for successful API calls.
Troubleshooting
Common issues:
- Invalid or expired credentials may cause authentication failures.
- Missing or incorrect User ID input will result in errors or empty responses.
- Network connectivity problems can prevent API communication.
Error messages:
"No API instance found. Please make sure to provide valid credentials."
Means the node could not establish a connection to Zalo API due to missing or invalid credentials. Verify that the API key and related authentication details are correctly set up.- Errors related to specific user operations often include the error message from the Zalo API. Check the User ID and ensure it exists and is accessible.
To resolve errors, confirm all required inputs are provided, credentials are valid, and the Zalo service is reachable.
Links and References
- Zalo Official Developer Documentation
- Zalo API Authentication Guide
- zca-js GitHub Repository (third-party library used for API calls)