Actions10
Group → Lấy Danh Sách Thành Viên
AI-generatedOverview
This node manages Zalo groups, specifically providing operations to interact with group data on the Zalo platform. The "Lấy Danh Sách Thành Viên" (Get Group Members) operation retrieves a list of members from a specified Zalo group, including detailed profile information for each member.
Common scenarios where this node is useful include:
- Fetching current members of a Zalo group for monitoring or reporting.
- Synchronizing group membership data with other systems.
- Automating group management tasks based on member lists.
For example, you can use this node to get up to 50 members of a group by specifying the group's ID and the maximum number of members to retrieve.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm | The unique identifier of the Zalo group from which to fetch members. |
| Giới Hạn | The maximum number of group members to retrieve (limit). |
Output
The output JSON contains the following fields:
memberIds: An array of member IDs limited by the specified "Giới Hạn".profiles: An object containing detailed profile information for each member ID retrieved.totalMembers: The total number of members returned in this response (up to the limit).limit: The requested maximum number of members to retrieve.groupInfo: Metadata about the group itself, such as group details fetched from Zalo.
This structure allows downstream nodes or workflows to access both the list of member IDs and their corresponding profile details for further processing.
Dependencies
- Requires valid Zalo API credentials including an API key credential that provides cookie, IMEI, and user agent information.
- Uses the external
zca-jslibrary to interact with the Zalo API. - The node expects these credentials to be configured properly in n8n before execution.
Troubleshooting
- Invalid Credentials: If the node throws an error indicating no API instance found, verify that the Zalo API credentials are correctly set and contain valid cookie, IMEI, and user agent values.
- Empty Member List: If the group has no members or the group ID is incorrect, the output will have empty arrays/objects. Double-check the group ID parameter.
- API Rate Limits or Network Issues: Errors during API calls may occur due to rate limits or connectivity problems. Retrying after some time or checking network status can help.
- Incorrect Parameter Types: Ensure "ID Nhóm" is a valid string and "Giới Hạn" is a positive number.