Actions23
- ✉️ Message Actions
- 👥 Group Actions
Overview
This node interacts with the Wazzap API to manage group settings related to join requests. Specifically, for the "👥 Group" resource and the "🔓 Allow Join Requests" operation, it enables or disables the requirement for admin approval when users request to join a WhatsApp group. This is useful for group administrators who want to control membership by either requiring approval for new members or allowing immediate joining via invite links.
Practical examples:
- A community manager wants to ensure only vetted members can join their group, so they enable join request approval.
- An event organizer prefers open access to a group and disables approval, allowing anyone with the invite link to join instantly.
Properties
| Name | Meaning |
|---|---|
| 👥 Group ID (JID) | The unique identifier of the WhatsApp group where the join request approval setting will be changed. Example format: 1234567890-123456@g.us. |
| 🛡️ Allow Join Requests | Toggle join request approval: - ✅ On (Approval Required): Users must request to join and be approved by an admin. - ❌ Off (No Approval Needed): Anyone with the invite link can join immediately. |
| ⚙️ Additional Options | Optional advanced settings: - 🔢 Priority Number: Select which sending number to use (0=default, 999=random, 1–5=specific slot). - ⏱️ Delay Settings: Configure a random delay range (in milliseconds) before sending the update message, specifying start and end values. |
Output
The node outputs a JSON array containing the response from the Wazzap API after attempting to update the group's join request approval setting. The exact structure depends on the API response but typically includes confirmation of the updated status or error details if the operation failed.
There is no indication that this node outputs binary data.
Dependencies
- Requires an active connection to the Wazzap API service.
- Needs an API authentication credential configured in n8n to authorize requests.
- The base URL for API requests is
https://doc.wazzap.mx/api-reference. - No additional external dependencies are indicated.
Troubleshooting
- Unsupported operation error: If the node throws an error stating the operation is unsupported, verify that the Resource is set to "👥 Group" and Operation to "🔓 Allow Join Requests".
- Invalid Group ID: Ensure the Group ID (JID) is correctly formatted and corresponds to an existing WhatsApp group.
- API authentication errors: Confirm that the API key or token credential is valid and has sufficient permissions.
- Network issues: Check connectivity to the Wazzap API endpoint.
- Delay settings misconfiguration: If using delay options, ensure the start delay is less than or equal to the end delay to avoid unexpected behavior.
Links and References
- Wazzap API Documentation (official API reference)
- WhatsApp group management best practices (external resources may apply)