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 "Lấy Tất Cả Nhóm" (Get All Groups) operation specifically fetches all groups associated with the authenticated user.

Practical scenarios include:

  • Automating group management tasks in Zalo for marketing or community engagement.
  • Synchronizing group data with other systems.
  • Bulk retrieval of group lists for reporting or analysis.

Properties

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

(Note: For the "Lấy Tất Cả Nhóm" operation, only the "Giới Hạn" property is relevant.)

Output

The output JSON contains a single field:

  • response: An array or object representing all groups retrieved from the Zalo account.

Example structure:

{
  "response": [
    {
      "groupId": "string",
      "name": "string",
      "membersCount": "number",
      ...
    },
    ...
  ]
}

No binary data is output by this node.

Dependencies

  • Requires an API key credential to authenticate with the Zalo API.
  • Uses the zca-js library internally to interact with Zalo services.
  • Requires valid cookie, IMEI, and user agent information either from credentials or input data for authentication.

Troubleshooting

  • No API instance found: This error indicates invalid or missing credentials. Ensure that the API key credential is correctly configured and includes valid cookie, IMEI, and user agent values.
  • Empty response or no groups returned: Verify that the authenticated user has groups and that the "Giới Hạn" parameter is set appropriately.
  • Network or API errors: Check internet connectivity and Zalo API service status.

If the node is set to continue on failure, errors for individual items will be included in the output JSON under an error field.

Links and References

Discussion