Actions76
- Message Actions
- Chat Actions
- Contact Actions
- Group Actions
- Create
- List
- Get
- Delete
- Join
- Get Join Info
- Leave
- Get Picture
- Set Picture
- Delete Picture
- Update Subject
- Update Description
- Get Security Info Admin Only
- Set Security Info Admin Only
- Get Security Messages Admin Only
- Set Security Messages Admin Only
- Get Participants
- Add Participant
- Remove Participant
- Promote Admin
- Demote Admin
- Status Actions
- Channel Actions
- Poll Actions
- Profile Actions
- LID Actions
- File Actions
Overview
The node enables interaction with WhatsApp groups via the Wappfy API. Specifically, the "Group - Leave" operation allows a user to leave a specified WhatsApp group by providing the group's ID. This is useful in automation workflows where you want to programmatically exit groups, for example, when managing membership or cleaning up group participation based on certain triggers.
Practical examples:
- Automatically leaving a group after a campaign ends.
- Leaving groups that no longer match certain criteria.
- Managing group memberships dynamically in customer support or community management scenarios.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the WhatsApp group to leave. |
Output
The output is a JSON object representing the response from the Wappfy API after attempting to leave the group. It typically contains confirmation details or status information about the leave action.
If multiple items are processed, the output will be an array of such JSON objects, one per input item.
No binary data output is involved in this operation.
Dependencies
- Requires an active Wappfy API credential with a valid API key and instance name configured in n8n.
- The node makes HTTP requests to the Wappfy API endpoints.
- Proper network connectivity to the Wappfy service is necessary.
Troubleshooting
Common issues:
- Invalid or missing Group ID: Ensure the Group ID provided is correct and corresponds to a group the user is part of.
- Authentication errors: Verify that the API key credential is correctly set up and has permissions.
- Network or API endpoint errors: Check connectivity and that the Wappfy API base URL and instance name are correct.
Error messages:
- Errors returned from the API will be included in the output JSON under an error field if "Continue On Fail" is enabled.
- If not continuing on fail, the node will throw an error with the message from the API or request failure.
To resolve errors, verify input parameters, credentials, and network access.
Links and References
- Wappfy API Documentation (general reference for API endpoints)
- WhatsApp Group Management (official WhatsApp help on leaving groups)