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
This node enables interaction with WhatsApp groups via the Wappfy API. Specifically, the "Delete" operation for the "Group" resource allows users to delete a WhatsApp group by specifying its unique Group ID. This is useful in scenarios where a group is no longer needed or should be removed programmatically as part of workflow automation.
Practical examples include:
- Automatically cleaning up temporary groups created for event coordination after the event ends.
- Managing group lifecycle in customer support workflows by deleting inactive or resolved issue groups.
- Integrating with other systems to maintain updated group lists by removing obsolete groups.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the WhatsApp group to delete. |
Output
The node outputs JSON data representing the response from the Wappfy API after attempting to delete the specified group. The structure typically contains confirmation of deletion or error details if the operation failed.
Example output JSON might look like:
{
"success": true,
"message": "Group deleted successfully",
"groupId": "123456789@g.us"
}
If an error occurs, the output JSON will contain an error message describing the issue.
Dependencies
- Requires a valid Wappfy API credential with an API key and instance name configured in n8n.
- The node makes HTTP requests to the Wappfy API endpoints.
- Network connectivity to the Wappfy API base URL is necessary.
Troubleshooting
Common issues:
- Invalid or missing Group ID: Ensure the Group ID is correct and corresponds to an existing group.
- Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network errors: Check internet connectivity and that the Wappfy API service is reachable.
Error messages:
"Group not found": The provided Group ID does not exist or is incorrect."Unauthorized"or"Invalid API key": The API key credential is invalid or expired."Failed to delete group": General failure; check API response details for more information.
Resolving these usually involves verifying input parameters, credentials, and network status.
Links and References
- Wappfy API Documentation (for detailed API endpoint info)
- WhatsApp Business API Overview (for understanding WhatsApp group management concepts)