Actions12
Overview
This node interacts with the Zalo platform to manage and retrieve information about Zalo users. Specifically, the "Lấy Thông Tin Người Dùng" (Get User Information) operation fetches detailed information about a specified Zalo user by their user ID.
Common scenarios where this node is useful include:
- Retrieving profile details of a Zalo user for CRM or customer support purposes.
- Integrating Zalo user data into other systems or workflows.
- Automating user data collection for marketing or analytics.
For example, you can input a Zalo user ID and get back their profile information such as name, avatar, status, and other public details available via the Zalo API.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the Zalo user whose information you want to retrieve. This is a required string input. |
Output
The output JSON contains the full user information object returned by the Zalo API for the given user ID. This typically includes fields such as:
- User's display name
- Profile picture URL
- Status message
- Other public profile details provided by Zalo
The exact structure depends on the Zalo API response but generally represents the user's profile data in JSON format.
No binary data output is produced by this operation.
Dependencies
- Requires valid Zalo API credentials including an API key credential that provides cookie, IMEI, and user agent information.
- The node uses an external Zalo SDK/library (
zca-js) to interact with the Zalo API. - Proper configuration of the Zalo API credentials in n8n is necessary for authentication.
Troubleshooting
- Invalid Credentials: If the node throws an error indicating no API instance found or authentication failure, verify that the Zalo API credentials are correctly configured and valid.
- User Not Found: If the user ID does not exist or is invalid, the API may return an error or empty response. Double-check the user ID input.
- Rate Limits or API Errors: The Zalo API might enforce rate limits or return errors if requests are malformed. Ensure inputs are correct and retry after some time if rate limited.
- Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error messages in the output JSON under
error.
Links and References
- Zalo Official Developer Documentation
- Zalo SDK (zca-js) GitHub Repository (Note: Replace with actual link if available)