Actions9
Overview
This node interacts with a group management service to retrieve the list of members in a specified group. It is useful for scenarios where you need to manage or analyze group membership, such as monitoring active users, sending targeted messages, or syncing group data with other systems.
A practical example: You have a chat or social platform group and want to fetch up to 50 members' details to display them in a dashboard or process their information further in your workflow.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm | The unique identifier (ID) of the group from which to retrieve members. |
| Giới Hạn | The maximum number of group members to retrieve (limit). |
Output
The output is an array of JSON objects representing the group members and related metadata. Specifically, the json field contains:
members: An array of member objects limited by the specified "Giới Hạn".admins: An array of group administrators.currentMems: Current members in the group.updateMems: Members who have been updated recently.totalMember: Total count of members in the group.
This structure allows downstream nodes to access detailed membership information for further processing.
Dependencies
- Requires an API authentication token credential to connect to the external group management service.
- Uses a cookie, IMEI, and user agent string internally to authenticate requests.
- No additional environment variables are explicitly required beyond the configured credentials.
Troubleshooting
Common issues:
- Invalid or expired API authentication token may cause authentication failures.
- Providing an incorrect or non-existent group ID will result in errors or empty results.
- Exceeding the allowed limit for member retrieval might cause partial data or errors.
Error messages:
- Authentication errors typically indicate invalid credentials; reconfigure the API key or token.
- "No valid cookie found" or similar messages suggest missing or expired session data; reauthenticate.
- Network or service errors should be retried or checked for service availability.
Links and References
- Refer to the official API documentation of the group management service for details on group member retrieval endpoints.
- n8n documentation on creating and using custom nodes: https://docs.n8n.io/integrations/creating-nodes/