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.
Common scenarios for this node include:
- Retrieving metadata and member details of a Zalo group for monitoring or reporting.
- Integrating group information into workflows that require group context, such as sending notifications or managing memberships.
- Automating administrative tasks related to Zalo groups.
For example, you can use this node to input a group's ID and receive comprehensive data about that group, including members, admins, and other relevant group attributes.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm | The unique identifier 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-related data.groupInfo: A specific subset of the response focused on the requested group's detailed information, extracted from a map keyed by the group ID.
Example output structure:
{
"response": { /* full API response object */ },
"groupInfo": { /* detailed info about the specified group */ }
}
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential to authenticate with the Zalo platform.
- The node depends on the external
zca-jslibrary to interact with the Zalo API. - Proper configuration of credentials including cookie, IMEI, and user agent values is necessary for successful API calls.
Troubleshooting
- Invalid Credentials: If authentication fails, ensure that the provided API key credential includes valid cookie, IMEI, and user agent information.
- Group Not Found: If the 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.
- API Instance Not Found: The node throws an error if it cannot create a valid API instance, usually due to missing or invalid credentials.
- Continue On Fail: If enabled, the node will continue processing subsequent items even if one item causes an error, 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 the underlying Zalo API client library)