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
Group → Remove Participant
AI-generatedOverview
This node enables interaction with WhatsApp groups via the Wappfy API, specifically allowing you to remove a participant from a group. It is useful in scenarios where you need to manage group membership programmatically, such as moderating group participants or automating group maintenance tasks.
For example, if a user leaves an organization or should no longer be part of a WhatsApp group, this node can be used to remove their phone number or ID from the group automatically.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the WhatsApp group from which a participant will be removed. |
| Participant ID | The phone number or WhatsApp ID of the participant to remove from the group. |
Output
The output is a JSON object representing the response from the Wappfy API after attempting to remove the participant. This typically includes confirmation of the removal or details about any error encountered.
No binary data is output by this operation.
Example output structure:
{
"success": true,
"message": "Participant removed successfully",
"groupId": "123456789@g.us",
"participantId": "987654321@c.us"
}
(Note: Actual response fields depend on the API's response.)
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 base URL using these credentials.
- Proper permissions on the WhatsApp group are necessary to remove participants.
Troubleshooting
Common issues:
- Invalid or missing Group ID or Participant ID will cause the API call to fail.
- Insufficient permissions for the API user to remove participants from the group.
- Network or authentication errors due to incorrect API key or instance configuration.
Error messages:
"Participant not found": The specified participant ID does not exist in the group."Unauthorized"or"Invalid API key": Check that your API credentials are correct and have the required permissions."Group not found": Verify the Group ID is correct and the group exists.
Resolution tips:
- Double-check input parameters for correctness.
- Ensure the API key and instance name are properly set up in n8n credentials.
- Confirm that the API user has admin rights or appropriate permissions in the WhatsApp group.
Links and References
- Wappfy API Documentation (for detailed API endpoints and responses)
- WhatsApp Group Management Best Practices