Actions10
Overview
This node manages Zalo groups by interacting with the Zalo platform's group-related features. Specifically, for the "Lấy Danh Sách Thành Viên" (Get Group Members) operation under the "Group" resource, it retrieves a list of members from a specified Zalo group.
Common scenarios where this node is useful include:
- Fetching current members of a Zalo group for monitoring or reporting.
- Integrating group member data into other workflows or systems.
- Automating group management tasks based on member lists.
For example, you might use this node to get up-to-date member information before sending targeted messages or analyzing group participation.
Properties
Name | Meaning |
---|---|
ID Nhóm | The unique identifier of the Zalo group from which to retrieve members. |
Giới Hạn | The maximum number of group members to fetch (limit). |
Output
The output JSON contains detailed information about the group's members and related metadata:
members
: An array of member IDs limited by the specified "Giới Hạn".admins
: An array of admin user IDs within the group.currentMems
: A list representing current members (details depend on API response).updateMems
: A list representing updated members (details depend on API response).totalMember
: The total number of members in the group.
This structured output allows downstream nodes or processes to access comprehensive membership data for further processing.
Dependencies
- Requires valid Zalo API credentials including an API key credential that provides cookie, IMEI, and user agent information.
- The node uses an external Zalo SDK library (
zca-js
) to interact with the Zalo platform. - Proper configuration of these credentials in n8n is necessary for successful API communication.
Troubleshooting
- Invalid Credentials: If the node throws an error indicating no API instance found, verify that the provided Zalo API credentials are correct and contain valid cookie, IMEI, and user agent values.
- Empty Member List: If the returned
members
array is empty, ensure the group ID is correct and that the authenticated user has permission to view the group's members. - Limit Exceeded: Setting a very high "Giới Hạn" value may cause performance issues or API rate limits; try reducing the limit if errors occur.
- API Errors: Any API-related errors will be surfaced as node execution errors unless "Continue On Fail" is enabled, in which case error details will be included in the output JSON.