Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
Overview
This node interacts with the Wassenger WhatsApp API to approve pending members in WhatsApp groups. It is useful for automating group membership management, especially when you need to programmatically approve multiple users waiting to join a group without manual intervention.
Practical examples include:
- Automatically approving all pending members of a specific WhatsApp group.
- Approving selected phone numbers from a list of pending members.
- Integrating group member approval into larger workflows that manage WhatsApp group participation dynamically.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) used to perform the operation. |
| Group ID | The ID of the WhatsApp group where members will be approved. |
| Approve All | Boolean flag indicating whether to approve all pending members in the group. |
| Phone Numbers | List of phone numbers to approve individually (used only if "Approve All" is false). |
Output
The node outputs JSON data representing the result of the approval operation. This typically includes confirmation details about which members were approved or any errors encountered during the process.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Wassenger WhatsApp API.
- The node depends on dynamic loading of WhatsApp devices and groups via internal methods (
getDevicesandgetGroups). - Proper configuration of the Wassenger API key credential within n8n is necessary.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp number (device) ID can cause failures.
- Incorrect or expired API key credential will prevent successful API calls.
- Specifying phone numbers that are not pending members may result in no action or errors.
- Network connectivity issues can cause timeouts or failed requests.
Error messages:
- Errors related to authorization usually indicate problems with the API key; verify and update credentials.
- Errors about invalid group IDs suggest the group does not exist or the device does not have access; check group selection.
- If "Approve All" is false but no phone numbers are provided, the node may throw an error due to missing required input.
Links and References
- Wassenger Official Website
- Wassenger WhatsApp API Documentation
- n8n Documentation on Creating Custom Nodes