Actions9
Overview
This node interacts with Zalo Group functionalities, specifically allowing users to retrieve detailed information about a Zalo group by its ID. It is useful in scenarios where you need to programmatically access group metadata such as members, admins, and other group-related details within an automation workflow.
Practical examples include:
- Fetching group info to display or log group membership details.
- Using group data to trigger further actions based on group composition or status.
- Integrating Zalo group management into broader communication or CRM workflows.
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 structure contains detailed information about the requested group. Specifically, it includes:
members: An array of current group members.admins: An array of group administrators.currentMems: Current members in the group.updateMems: Members who have been updated recently.totalMember: Total number of members in the group.response: The full raw response from the API containing all group info keyed by group ID.
The output is structured as an object with these fields inside the json property of each item.
No binary data output is indicated in this operation.
Dependencies
- Requires valid credentials for accessing the Zalo API, including authentication tokens or cookies.
- The node uses an internal Zalo API client class to communicate with Zalo services.
- Proper configuration of the API key/credential in n8n is necessary to authenticate requests.
- The node expects the environment to support asynchronous HTTP requests.
Troubleshooting
Common issues:
- Invalid or missing group ID will cause the API call to fail.
- Incorrect or expired credentials will result in authentication errors.
- Network connectivity problems can prevent successful API calls.
Error messages:
"No API instance found. Please make sure to provide valid credentials."— Indicates missing or invalid API credentials; verify credential setup.- Errors related to group not found or access denied usually mean the group ID is incorrect or the authenticated user lacks permission.
Resolution tips:
- Double-check the group ID input for correctness.
- Ensure that the API credentials are up-to-date and have sufficient permissions.
- Handle errors gracefully by enabling continue-on-fail if processing multiple items.
Links and References
- Zalo Official API Documentation
- n8n Documentation on Creating Custom Nodes
- Zalo Group Management API Reference
If you need further details on other operations or resources, feel free to ask!