Green API icon

Green API

Send WhatsApp messages via Green API

Group → Remove Group Participant

AI-generated

Overview

This node operation removes a participant from a specified WhatsApp group using the Green API. It is useful for managing group membership by programmatically removing users from groups. For example, an admin can automate the removal of inactive or unwanted participants from a group chat.

Use Case Examples

  1. Removing a participant from a WhatsApp group by specifying the group ID and the participant's chat ID.
  2. Automating group management tasks such as cleaning up group members based on certain criteria.

Properties

Name Meaning
Group ID The unique identifier of the WhatsApp group from which a participant will be removed.
Participant Chat ID The chat ID of the participant to be removed from the group.
Override Credentials Optional credentials override for this specific operation, allowing to specify a different instance ID and API token than the default credentials.

Output

JSON

  • success - Indicates if the participant removal was successful.
  • message - Response message from the API regarding the removal operation.

Dependencies

  • Green API service requiring instance ID and API token credentials

Troubleshooting

  • Ensure the Group ID and Participant Chat ID are correctly formatted and valid WhatsApp identifiers.
  • Check that the API credentials (instance ID and API token) are correct and have the necessary permissions.
  • Common errors include network issues, invalid IDs, or insufficient permissions, which will be reported in the error messages thrown by the node.

Links

Discussion