Actions9
Overview
This node allows you to interact with Zalo Groups via the Zalo API. Specifically, for the "Lấy Thông Tin Nhóm" (Get Group Info) operation, it retrieves detailed information about a specific Zalo group when provided with its ID. This is useful in scenarios where you need to fetch metadata or status of a group for reporting, automation, or integration purposes.
Practical examples:
- Automatically fetching and logging group details for audit or monitoring.
- Integrating Zalo group info into dashboards or other communication workflows.
- Validating group existence or properties before performing further actions.
Properties
| Name | Type | Meaning |
|---|---|---|
| ID Nhóm | String | ID của nhóm cần lấy thông tin (Group ID to retrieve information for). Required. |
Output
The output json field for this operation has the following structure:
{
"response": { /* Full response from Zalo API for the group */ },
"groupInfo": { /* Detailed info about the group, keyed by groupId */ }
}
- response: The complete response object returned by the Zalo API for the requested group.
- groupInfo: An object containing detailed information about the group, such as members, admins, and other metadata, indexed by the provided group ID.
Dependencies
- External Service: Requires access to the Zalo API via the
zca-jslibrary. - Credentials: You must provide valid Zalo credentials (
zaloApi) including cookie, IMEI, and user agent. - n8n Configuration: Ensure that the Zalo credential is set up in n8n and available to the node.
Troubleshooting
Missing or Invalid Credentials:
Error message:"No API instance found. Please make sure to provide valid credentials."
Resolution: Double-check your Zalo credentials (cookie, IMEI, user agent) in n8n's credential manager.Invalid Group ID:
If the provided group ID does not exist or is incorrect, the Zalo API may return an error or empty data.
Resolution: Verify the group ID is correct and accessible with your credentials.API Rate Limits or Temporary Bans:
Excessive requests or invalid credentials may result in temporary bans or rate limiting by Zalo.
Resolution: Space out requests and ensure credentials are valid.General Errors:
Any unexpected errors will be reported in the output under theerrorkey if "Continue On Fail" is enabled.