Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node manages Zalo groups, specifically allowing users to perform various group-related operations via the Zalo API. The "Remove User From Group" operation enables removing one or multiple users from a specified Zalo group by their user IDs.

Common scenarios include:

  • Moderating group membership by removing inactive or unwanted members.
  • Automating group management tasks in workflows that maintain community or team groups on Zalo.
  • Integrating with other systems to sync group membership dynamically.

Example: Automatically remove users who have left an organization from the company’s Zalo group by providing their user IDs.

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 (userIds) Comma-separated list of user IDs to be removed from the group.

Output

The output JSON contains the response from the Zalo API after attempting to remove the specified users from the group. It typically includes status information and any relevant data returned by the API about the removal operation.

Example output structure:

{
  "status": "success",
  "removedUserIds": ["12345", "67890"],
  "message": "Users removed successfully"
}

(Note: The exact fields depend on the underlying API response.)

Dependencies

  • Requires a valid Zalo API credential with appropriate permissions to manage groups.
  • The node uses stored authentication details such as cookie, IMEI, and user agent to authenticate API requests.
  • No additional external dependencies beyond the Zalo API and its authentication are required.

Troubleshooting

  • Invalid Credentials: If the node throws an error indicating no API instance found, verify that the provided Zalo API credentials are correct and active.
  • User IDs Format: Ensure user IDs are provided as a comma-separated string without extra spaces or invalid characters.
  • Group ID Validity: Confirm the group ID exists and the authenticated user has permission to modify the group.
  • API Rate Limits: Removing many users at once might hit API rate limits; consider batching removals if errors occur.
  • Error Handling: 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