Actions53
- Account Actions
- Contact Actions
- Group Actions
- Message Actions
- Session Actions
Group → Leave Group
AI-generatedOverview
This node operation allows a user to leave a specified WhatsApp group using the WasenderAPI. It is useful in scenarios where a user wants to programmatically exit a group chat, for example, when automating group management or cleaning up group memberships.
Use Case Examples
- A user wants to leave a group chat after a certain event or condition is met in an automation workflow.
- An admin automates the process of leaving multiple groups based on specific criteria.
Properties
| Name | Meaning |
|---|---|
| Group | The identifier (JID) of the WhatsApp group to leave. This is required to specify which group the user wants to leave. |
| Session | Optional session selection to specify which WhatsApp session to use for the operation. If not provided, the session from the incoming item is used automatically. |
| Options | Additional request options such as retry behavior on failure and maximum retry attempts. |
Output
JSON
json- The JSON response from the WasenderAPI after leaving the group, typically confirming the success or failure of the leave operation.
Dependencies
- WasenderAPI service with appropriate API key or credentials for authentication.
Troubleshooting
- Ensure the session ID is correctly provided or available in the incoming data; otherwise, the node will throw a session required error.
- The group JID must be valid and accessible by the session; invalid or unauthorized group IDs will cause API errors.
- Network or API errors may occur; enabling retry options can help mitigate transient failures.
Links
- WasenderAPI Group Leave Endpoint - Official API documentation for the leave group operation in WasenderAPI.