Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node interacts with Zalo Group functionalities, specifically managing and retrieving information about Zalo groups. The "Lấy Danh Sách Thành Viên" (Get Group Members) operation fetches a list of members from a specified Zalo group, including details such as member IDs, admin IDs, current members, updated members, and the total number of members.

Common scenarios where this node is beneficial include:

  • Synchronizing group member lists with external systems.
  • Monitoring group membership changes.
  • Automating group management tasks based on member data.

Practical example:

  • A user wants to retrieve up to 50 members of a specific Zalo group to send targeted notifications or analyze group composition.

Properties

Name Meaning
ID Nhóm The unique identifier (ID) of the Zalo group from which to retrieve members.
Giới Hạn The maximum number of group members to retrieve (limit).

Output

The output JSON contains the following fields:

  • members: An array of member IDs limited by the specified "Giới Hạn".
  • admins: An array of admin user IDs in the group.
  • currentMems: An array representing current members (context-specific meaning).
  • updateMems: An array representing updated members (context-specific meaning).
  • totalMember: The total number of members in the group.

This structured output allows users to access detailed membership information for further processing or integration.

Dependencies

  • Requires an API key credential to authenticate with the Zalo API.
  • The node uses stored credentials that include cookie, IMEI, and user agent strings necessary for API authentication.
  • The node depends on the external zca-js library to interact with the Zalo API.

Troubleshooting

  • No API instance found: This error indicates invalid or missing credentials. Ensure that the API key credential is correctly configured and valid.
  • Empty or incomplete member lists: Verify that the provided group ID is correct and that the authenticated user has permission to access the group's member information.
  • Limit parameter issues: If the limit is set too high or invalid, the API might return fewer members than expected or throw an error. Use reasonable limits within allowed ranges.
  • Network or API errors: Check network connectivity and Zalo API service status if requests fail unexpectedly.

Links and References

Discussion