Actions69
- App Actions
- Chat Actions
- Device Actions
- Group Actions
- Add Participant
- Approve Participant Request
- Create Group
- Demote Participant
- Export Group Participants
- Get Group Info
- Get Group Info From Link
- Get Group Invite Link
- Get Group Participants
- Get Participant Requests
- Join Group With Link
- Leave Group
- Promote Participant
- Reject Participant Request
- Remove Participant
- Set Group Announce Mode
- Set Group Locked Status
- Set Group Name
- Set Group Photo
- Set Group Topic
- Message Actions
- Newsletter Actions
- Send Actions
- User Actions
Group → Leave Group
AI-generatedOverview
This node operation allows a user to leave a specified WhatsApp group using the Go WhatsApp Web MultiDevice API. It is useful in scenarios where a user wants to programmatically exit a group chat, for example, to automate group membership management or to clean up group participation in bulk.
Use Case Examples
- A user wants to leave a group chat automatically after a certain event or condition is met.
- An admin wants to script the removal of their own participation from multiple groups for organizational purposes.
Properties
| Name | Meaning |
|---|---|
| Device ID | Optional device ID override. If set, it takes priority over the credential device ID, allowing the operation to be performed from a specific device. |
| Group ID | The unique identifier of the group that the user wants to leave. This is a required field to specify which group to leave. |
Output
JSON
json- The JSON response from the API after attempting to leave the group, which may include success confirmation or error details.
Dependencies
- Requires an API key credential for the Go WhatsApp Web MultiDevice API, including host URL and authentication details.
Troubleshooting
- Common issues include providing an invalid or missing Group ID, which will cause the operation to fail.
- If the device ID override is incorrect or not authorized, the operation may not execute as expected.
- Errors from the API will be returned in the JSON output; users should check error messages for details and ensure proper permissions and valid group membership before attempting to leave.