Actions25
- Message Actions
- Friend Actions
- Get Actions
- Group Actions
- Tool Actions
Overview
This node is designed to find a user on the Zalo platform using their phone number. It is particularly useful in scenarios where you need to identify or retrieve information about a Zalo user based on their registered phone number. For example, it can be used in automation workflows to verify user identities, fetch user profiles before sending messages, or manage contacts by phone number.
Practical examples include:
- Automatically finding and verifying a user's Zalo account when they provide their phone number in a form.
- Integrating with CRM systems to enrich contact data with Zalo user details.
- Preparing recipient lists for messaging campaigns by resolving phone numbers to Zalo user IDs.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The phone number of the Zalo user to find. This is a required string input property. |
Output
The node outputs JSON data representing the found user's information from Zalo. The structure typically includes user profile details such as user ID, display name, avatar URL, and other relevant metadata returned by the Zalo API.
If the node supports binary data output (not explicitly shown in the provided code), it would generally represent media or attachments related to the user, but this is not indicated here.
Dependencies
- Requires an API key credential for authenticating requests to the Zalo platform.
- Depends on the Zalo API service being accessible and the provided phone number being valid and registered on Zalo.
- May require configuration of environment variables or credentials within n8n to securely store the API key.
Troubleshooting
Common Issues:
- Invalid or missing phone number input will cause the node to fail.
- Network issues or incorrect API credentials may result in authentication errors.
- If the phone number is not registered on Zalo, the node may return no results or an error indicating the user was not found.
Error Messages:
- Authentication failures: Check that the API key credential is correctly configured and has necessary permissions.
- User not found: Verify the phone number is correct and registered on Zalo.
- Request timeouts or network errors: Ensure stable internet connection and that Zalo API endpoints are reachable.
Links and References
- Zalo Official API Documentation — for detailed API usage and authentication setup.
- n8n Documentation — for guidance on setting up credentials and using custom nodes.
Note: The source code provided is heavily obfuscated, but the key functionality extracted relates to finding a Zalo user by phone number as per the given resource and operation.