Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node manages Zalo groups, allowing users to perform various group-related operations such as creating a new group, retrieving group information, managing members, and updating group details. It is particularly useful for automating workflows that involve organizing contacts into groups on the Zalo platform, facilitating communication and collaboration.

A practical example is creating a new group with specified members by providing the group name and a list of user IDs. Another use case includes fetching detailed information about an existing group or adding/removing members programmatically.

Properties

Name Meaning
Tên Nhóm (groupName) The name of the new group to be created.
Danh Sách ID Thành Viên (nếu nhiều người dùng vui lòng phân cách bằng dấu phẩy) (userIds) A comma-separated list of member IDs to include in the group.

Output

The output JSON structure depends on the operation performed. For the "Tạo Nhóm" (createGroup) operation, the output contains the response from the API after attempting to create the group. This typically includes details about the newly created group such as its ID and metadata.

Example output JSON snippet:

{
  "json": {
    // API response object containing group creation details
  },
  "pairedItem": {
    "item": 0
  }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential to authenticate with the Zalo platform.
  • Uses the zca-js library internally to interact with the Zalo API.
  • Node configuration must include valid credentials with cookie, IMEI, and user agent information for successful API calls.

Troubleshooting

  • Invalid Credentials: If the provided API authentication token or cookie is invalid or expired, the node will fail to instantiate the API client, resulting in an error indicating no API instance was found. Ensure credentials are up-to-date.
  • Malformed User IDs: Providing improperly formatted or non-existent user IDs in the member list may cause API errors. Always separate multiple IDs with commas and verify their validity.
  • API Rate Limits or Network Issues: Temporary failures communicating with the Zalo API can occur. Enabling "Continue On Fail" allows the workflow to proceed despite individual item errors.
  • Missing Required Parameters: Omitting required fields like group name or user IDs will cause validation errors before execution.

Links and References

Discussion