Actions16
Overview
This node manages Zalo groups by interacting with the Zalo API to perform various group-related operations. Specifically, the "Lấy Thông Tin Nhóm" (Get Group Info) operation retrieves detailed information about a specified Zalo group using its group ID.
Common scenarios where this node is useful include:
- Fetching metadata and member details of a Zalo group for reporting or monitoring.
- Integrating Zalo group data into workflows that require group context.
- Automating group management tasks based on group information.
Practical example:
- You want to get the current members, admins, and other info of a Zalo group to sync it with your CRM or notify team members about group changes.
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 available group data.groupInfo: A specific subset of the response corresponding to the requested group's detailed information.
Example structure of the output JSON:
{
"response": { /* full API response object */ },
"groupInfo": { /* detailed info about the group identified by the given ID */ }
}
No binary data is output by this operation.
Dependencies
- Requires an API key credential to authenticate with the Zalo API.
- The node uses stored credentials including cookie, IMEI, and user agent strings to establish a session with the Zalo service.
- Proper configuration of these credentials in n8n is necessary for successful API calls.
Troubleshooting
Common issues:
- Invalid or expired credentials may cause authentication failures.
- Providing an incorrect or non-existent group ID will result in errors or empty responses.
- Network connectivity problems can prevent API communication.
Error messages:
"No API instance found. Please make sure to provide valid credentials."
Means the node could not initialize the Zalo API client due to missing or invalid credentials. Check and update your API key and related credential fields.- Errors related to group ID usually indicate the group does not exist or the authenticated user lacks permission to access it.
Resolution tips:
- Verify that the API credentials are correctly set up and have not expired.
- Confirm the group ID is correct and accessible by the authenticated account.
- Ensure stable internet connection and no firewall blocking requests.
Links and References
- Zalo Official API Documentation (for detailed API capabilities and parameters)
- n8n documentation on Credentials for setting up API keys and authentication