Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node manages Zalo Groups by interacting with the Zalo API. It supports various group-related operations such as creating groups, retrieving group information, managing members, changing group details, and more. The specific operation "Lấy Tất Cả Nhóm" (Get All Groups) fetches all groups associated with the authenticated user.

Practical scenarios include:

  • Automating group management tasks in Zalo for marketing or community engagement.
  • Retrieving a list of all groups to synchronize with other systems.
  • Managing group membership and settings programmatically.

Example use case: A social media manager wants to automatically retrieve all Zalo groups they manage to analyze member activity or send notifications.

Properties

Name Meaning
Giới Hạn Maximum number of groups to retrieve (limit).

Note: For the "Lấy Tất Cả Nhóm" operation, the only input property is "Giới Hạn" which controls how many groups are fetched at most.

Output

The output JSON contains a field response which holds the data returned from the Zalo API representing the list of groups. The exact structure depends on the API but typically includes group identifiers, names, and metadata.

Example output structure:

{
  "response": [
    {
      "groupId": "string",
      "groupName": "string",
      "otherGroupDetails": "..."
    },
    ...
  ]
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential to authenticate with the Zalo API.
  • The node uses stored credentials including cookie, device IMEI, and user agent strings to establish the session.
  • The external dependency is the Zalo API accessed via the zca-js library.

Troubleshooting

  • No API instance found: This error indicates invalid or missing credentials. Ensure that the API key credential is correctly configured and valid.
  • Empty response or no groups returned: Verify that the authenticated user has groups and that the limit parameter is set appropriately.
  • Network or authentication errors: Check internet connectivity and that the cookie and other session parameters have not expired.
  • If the node fails but "Continue On Fail" is enabled, error messages will be included in the output JSON for each failed item.

Links and References

Discussion