Actions10
Overview
This node manages Zalo groups by interacting with the Zalo API. It supports various group-related operations such as creating a group, retrieving group information, managing members, 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 current state of a group, such as member lists, group name, or other group attributes.
Practical examples:
- Fetching group info to display in a dashboard.
- Verifying group existence before performing further actions.
- Auditing group membership or settings programmatically.
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 from the Zalo API containing all data related to the group.groupInfo: A subset of the response specifically keyed by the group ID, representing detailed information about that particular group.
Example output structure:
{
"response": { /* full API response object */ },
"groupInfo": { /* detailed info about the requested group */ }
}
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential to authenticate with the Zalo API.
- Uses the
zca-jslibrary internally to interact with Zalo services. - Requires valid cookie, IMEI, and user agent values either from credentials or input data to establish a session.
Troubleshooting
- Invalid or expired credentials: If the node cannot create an API instance, it will throw an error indicating no API instance was found. Ensure your API key credential is valid and includes up-to-date cookie, IMEI, and user agent information.
- Group ID not found or invalid: If the provided group ID does not exist or is incorrect, the API may return an error or empty data. Verify the group ID before running the node.
- Network or API errors: Temporary network issues or API downtime can cause failures. Retry after some time or check your network connection.
- Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning the error message in the output JSON.
Links and References
- Zalo Official API Documentation
- n8n Documentation on Creating Custom Nodes
- zca-js GitHub Repository (for underlying Zalo API client)