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
Groups → Approve Members
AI-generatedOverview
This node interacts with the WaliChat WhatsApp API to approve pending members in WhatsApp groups. It allows users to either approve all pending members at once or selectively approve specific phone numbers. This is useful for managing group membership requests efficiently, especially in scenarios where group admins want to automate or streamline the approval process.
Practical examples:
- Automatically approving all pending join requests to a customer support WhatsApp group.
- Approving selected phone numbers that have requested access to a private community group.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) from which the group membership approval will be made. Options are dynamically loaded from available devices. |
| Group ID | The ID of the WhatsApp group where members are to be approved. Options depend on the selected WhatsApp Number and are dynamically loaded. Examples: 447362053576-1500000000, 447362053576-1500000000@g.us. |
| Approve All | Boolean flag indicating whether to approve all pending members in the group (true) or not (false). |
| Phone Numbers | List of phone numbers to approve individually if "Approve All" is set to false. Multiple values allowed. Format example: +1234567890. |
Output
The node outputs JSON data representing the result of the approval operation. This typically includes confirmation details about the approved members or any relevant status messages returned by the WaliChat API.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the WaliChat WhatsApp API via an API key credential configured in n8n.
- Dynamic loading of options for WhatsApp Numbers and Groups depends on API calls to fetch available devices and groups.
- Proper permissions on the WhatsApp account/device to manage group memberships.
Troubleshooting
Common issues:
- Invalid or expired API key leading to authentication errors.
- Selecting a WhatsApp Number (device) that does not have access to the specified group.
- Providing incorrect or malformed group IDs or phone numbers.
- Attempting to approve members when there are no pending requests.
Error messages and resolutions:
- Authentication failed: Verify the API key credential is correct and has not expired.
- Group not found or inaccessible: Confirm the group ID is valid and the device has permission to manage it.
- Invalid phone number format: Ensure phone numbers are in international format with country code, e.g.,
+1234567890. - No pending members to approve: Check if there are pending join requests before attempting approval.
Links and References
- WaliChat WhatsApp API Documentation (hypothetical link)
- WhatsApp Group Management Best Practices
- n8n Documentation on Creating Custom Nodes and Using Credentials