Actions29
- Chat Actions
- Contact Actions
- Group Actions
- Message Actions
- Status Actions
Group → Leave Group
AI-generatedOverview
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
- Automatically leave a group after a campaign ends.
- 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
- Green API Leave Group Documentation - Official documentation for the leave group operation in Green API.