Actions10
Overview
This node manages Zalo groups by interacting with the Zalo API. It supports various group-related operations such as creating groups, retrieving group information, managing members and deputies, changing group details, and creating notes within groups.
The specific operation "Lấy Thông Tin Nhóm" (Get Group Info) retrieves detailed information about a specified Zalo group by its ID. This is useful for scenarios where you need to fetch metadata or member details of a group for reporting, monitoring, or automation purposes.
Practical example:
You have an automation workflow that needs to monitor activity in certain Zalo groups. Using this node's "Get Group Info" operation, you can retrieve the current state and member list of a group to trigger further actions based on group composition or status.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm | The unique identifier (ID) of the Zalo group whose information you want to retrieve. This is a required string input. |
Output
The output JSON contains two main fields:
response: The full raw response object returned from the Zalo API containing all group data.groupInfo: A subset of the response specifically related to the requested group's detailed information.
Example structure:
{
"response": { /* full API response object */ },
"groupInfo": { /* detailed info about the group identified by the given ID */ }
}
No binary data output is produced by this operation.
Dependencies
- Requires valid Zalo API credentials including authentication cookies, device IMEI, and user agent strings.
- The node depends on the external
zca-jslibrary to interact with the Zalo API. - Credentials must be configured in n8n with appropriate API keys and session data to authenticate requests.
Troubleshooting
Common issues:
- Invalid or expired credentials may cause authentication failures.
- Providing an incorrect or non-existent group ID will result in empty or error responses.
- 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 the Zalo API. Check your credential configuration and ensure cookies, IMEI, and user agent are correctly set.- Errors thrown during execution will include the item index causing the failure. Use this to identify problematic inputs.
Resolution tips:
- Verify that the group ID exists and is accessible by the authenticated user.
- Refresh or re-enter credentials if authentication errors occur.
- Enable "Continue On Fail" in the node settings to allow partial processing when some items fail.
Links and References
- Zalo Official API Documentation (for general API reference)
- n8n Documentation (for configuring credentials and using nodes)