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 deletes a WhatsApp group using the WARest WhatsApp REST API. It requires specifying a session and the group ID to identify which group to delete. This operation is useful for managing WhatsApp groups programmatically, such as removing obsolete or unwanted groups automatically within workflows.
Use Case Examples
- Automatically delete a WhatsApp group after an event ends.
- Remove groups that are no longer active or needed in a business communication setup.
Properties
| Name | Meaning |
|---|---|
| Session | The WhatsApp session identifier to use for the API call. It can be selected from existing sessions or entered manually. |
| Group ID | The unique identifier (JID) of the WhatsApp group to delete, typically ending with @g.us or a raw ID. |
Output
JSON
json- The JSON response from the WARest API after attempting to delete the group, containing operation results or status.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID is valid and active; invalid or expired sessions will cause errors.
- Verify the group ID is correct and the bot or session has permissions to delete the group.
- Common errors include 'Operation not implemented' if the operation name is incorrect, or API errors if the group does not exist or cannot be deleted due to permissions.
Links
- WARest WhatsApp REST API - Official repository and documentation for the WARest API used by this node.
