Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node manages Zalo groups, specifically allowing users to remove one or more members from a specified group. It is useful in scenarios where group administrators need to maintain or moderate group membership by removing unwanted or inactive users. For example, if a community manager wants to clean up a group by removing certain participants, this node can automate that process.

Properties

Name Meaning
ID Nhóm (groupId) The unique identifier of the Zalo group from which users will be removed.
ID Người Dùng (nếu nhiều người dùng vui lòng phân cách bằng dấu phẩy) (userIds) One or multiple user IDs to remove from the group, separated by commas if multiple users.

Output

The output JSON contains the response from the Zalo API after attempting to remove the specified users from the group. This typically includes status information about the removal operation. The exact structure depends on the API response but generally confirms success or failure of the removal request.

Example output structure:

{
  "status": "success",
  "details": { /* additional response data from Zalo API */ }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zalo platform.
  • The node uses the Zalo API client library (zca-js) to perform operations.
  • Proper configuration of credentials including cookie, IMEI, and user agent is necessary for successful API calls.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials may cause authentication failures.
    • Incorrect group ID or user IDs can lead to errors or no changes applied.
    • Network connectivity problems might prevent API communication.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      Resolution: Verify that the API credentials are correctly set and valid.
    • Errors related to invalid parameters usually indicate wrong group or user IDs; double-check these values.
    • If the node fails but continueOnFail is enabled, error details will be included in the output JSON under the error field.

Links and References

Discussion