Green API icon

Green API

Send WhatsApp messages via Green API

Group → Leave Group

AI-generated

Overview

This node operation allows a user to leave a WhatsApp group using the Green API. It is useful in scenarios where automation workflows need to manage group memberships, such as removing a bot or user from a group after certain conditions are met.

Use Case Examples

  1. Automatically leave a group after a campaign ends.
  2. Remove a user from a group when they unsubscribe from notifications.

Properties

Name Meaning
Group ID The unique identifier of the WhatsApp group to leave. It is required to specify which group the leave action should be performed on.
Override Credentials Optional credentials override for this specific operation, allowing the user to specify a different instance ID and API token than the default credentials.

Output

JSON

  • success - Indicates if the leave group operation was successful.
  • message - Response message from the API regarding the leave group action.

Dependencies

  • Green API service requiring instance ID and API token credentials

Troubleshooting

  • Ensure the Group ID is correctly formatted and valid, e.g., '972501234567-1587570015@g.us'.
  • Verify that the API token and instance ID credentials are correct and have the necessary permissions.
  • Common error messages include failures to leave the group due to invalid group ID or authentication errors. Check the error message details for troubleshooting.

Links

Discussion