Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation allows a user to leave a WhatsApp group using the WARest WhatsApp REST API. It requires specifying a session and the group ID to perform the leave action. This is useful for automating group management tasks, such as leaving groups programmatically when certain conditions are met or as part of a workflow involving WhatsApp group interactions.
Use Case Examples
- Automatically leave a WhatsApp group when a project is completed.
- Leave a group based on a schedule or trigger from another system.
Properties
| Name | Meaning |
|---|---|
| Session | The WhatsApp session identifier used to authenticate and perform the operation. It can be selected from a list of available sessions or entered manually. |
| Group ID | The unique identifier of the WhatsApp group to leave, typically ending with @g.us or a raw ID string. |
Output
JSON
json- The JSON response from the WARest API indicating the result of the leave group operation.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and a valid session ID.
Troubleshooting
- Ensure the session ID is valid and active; otherwise, the API call will fail.
- Verify the group ID is correct and the session has permission to leave the group.
- Common errors include invalid session, unauthorized access, or group not found. Check API response messages for details.
Links
- WARest WhatsApp REST API - Official repository and documentation for the WARest API used by this node.
