Actions9
Overview
This node interacts with Zalo Groups, allowing users to manage and retrieve information about groups on the Zalo platform. Specifically, the "Lấy Thông Tin Nhóm" (Get Group Info) operation fetches detailed information about a specified group by its ID. This is useful for scenarios where you need to monitor group details, such as member lists, admins, or other metadata, within an automated workflow.
Practical examples include:
- Automatically retrieving group info to sync with external databases.
- Monitoring changes in group membership or settings.
- Integrating group data into reporting dashboards.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm | The unique identifier of the Zalo group whose information you want to retrieve. |
Output
The output JSON contains two main fields:
response: The full raw response object returned from the Zalo API containing all group-related data.groupInfo: A specific subset of the response keyed by the group ID, providing detailed information about the group.
Example output structure:
{
"response": { /* full API response object */ },
"groupInfo": { /* detailed info about the requested group */ }
}
No binary data is output 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. - Proper configuration of the Zalo API credential in n8n is necessary to authenticate requests.
Troubleshooting
Common issues:
- Invalid or expired credentials may cause authentication failures.
- Incorrect or non-existent group IDs 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 establish a connection to the Zalo API due to missing or invalid credentials. Verify your API key and cookie values.- Errors thrown during execution will be reported per item unless "Continue On Fail" is enabled, which allows the workflow to proceed despite individual errors.
Links and References
- Zalo Official Developer Documentation
- n8n Documentation on Credentials
- zca-js GitHub Repository (for the underlying Zalo API client)