Actions10
Overview
This node manages Zalo user interactions, specifically for the "Zalo User" resource. The operation "Đổi tên gợi nhớ" (Change Alias Name) allows you to update the alias name of a Zalo user in your contacts. This is useful when you want to personalize or organize your contact list by assigning memorable or custom names to users.
Practical examples:
- Automatically rename contacts imported from another system with meaningful aliases.
- Update alias names based on user preferences or CRM data synchronization.
- Manage friend lists by setting recognizable nicknames for easier identification.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the Zalo user whose alias name you want to change. |
| Alias Name | The new alias name to assign to the specified user. |
Output
The output JSON contains:
status: A string indicating the success status, typically"Thành công"meaning "Success".response: The raw response from the API call that performed the alias name change. This may include details about the updated alias or confirmation data.
Example output JSON structure:
{
"status": "Thành công",
"response": {
// API response details here
}
}
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential to connect to the Zalo platform.
- Uses stored authentication data including cookie, device IMEI, and user agent strings to authenticate API requests.
- Relies on the external
zca-jslibrary for interacting with the Zalo API.
Troubleshooting
Common issues:
- Invalid or expired credentials can cause authentication failures.
- Incorrect User ID or Alias Name parameters may result in errors or no changes.
- Network connectivity problems can prevent API calls from succeeding.
Error messages:
"No API instance found. Please make sure to provide valid credentials."
Means the node could not authenticate with Zalo API. Verify your API key and credential setup.- Errors returned from the API will be shown in the output if "Continue On Fail" is enabled; otherwise, they will stop execution. Check the error message for details such as invalid user ID or permission issues.
Links and References
- Zalo Official Developer Documentation
- n8n Documentation for general node usage and credential setup