Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node operation removes one or more users from a specified group in the Zalo platform. It is useful for managing group membership dynamically, such as when you want to revoke access or clean up inactive members from a group chat or community.

Practical examples:

  • Automatically removing users who violate group rules.
  • Cleaning up group membership after an event or campaign.
  • Managing user roles by removing certain users from specific groups.

Properties

Name Meaning
ID Nhóm (groupId) The unique identifier of the 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 and any relevant details about the operation's success or failure.

Example structure:

{
  "response": {
    // API response details about the removal operation
  }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zalo platform.
  • Uses a Zalo API client internally that requires valid cookie, imei, and userAgent parameters extracted from credentials.
  • The node depends on the external Zalo API service to perform group management operations.

Troubleshooting

  • Common issues:

    • Invalid or expired authentication credentials can cause authorization failures.
    • Incorrect group ID or user IDs may result in errors or no changes.
    • Network connectivity problems can prevent communication with the Zalo API.
  • Error messages:

    • Errors thrown by the node include descriptive messages from the Zalo API or internal validation errors.
    • If the node encounters an error but is configured to continue on failure, it outputs the error message in the JSON under an error field for the corresponding item.
  • Resolution tips:

    • Verify that the provided group ID and user IDs are correct and exist.
    • Ensure the API key credential is valid and has necessary permissions.
    • Check network connectivity and retry if transient errors occur.

Links and References

Discussion