Actions23
- ✉️ Message Actions
- 👥 Group Actions
Overview
This node interacts with the Wazzap API to manage WhatsApp groups. Specifically, for the "👥 Group" resource and the "👤 Who Can Add Members" operation, it allows you to configure who is permitted to add new members to a specified WhatsApp group. This is useful for automating group management tasks such as restricting member addition rights to admins only or allowing all members to add participants.
Practical examples include:
- Automatically setting a newly created group so that only admins can add members.
- Changing an existing group's settings to allow all members to add new participants without admin approval.
Properties
| Name | Meaning |
|---|---|
| 👥 Group ID (JID) | The unique identifier of the WhatsApp group where the permission change will be applied (e.g., 1234567890-123456@g.us). |
| 👤 Who Can Add Members | Defines who is allowed to add new members to the group. Options: - Admins Only: Only admins can add members. - All Members: Any group member can add new participants. |
| 🔢 Priority Number | Selects the sending number priority: - 0 = Default - 999 = Random - 1–5 = Specific number slot. |
| ⏱️ Delay Settings | Configures a delay range before sending the message: - Start (MS): Minimum delay in milliseconds. - End (MS): Maximum delay in milliseconds; actual delay is random between start and end. |
Output
The node outputs a JSON array containing the response from the Wazzap API after attempting to update the group's member addition permissions. The exact structure depends on the API response but typically includes confirmation of the updated settings or error details if the operation failed.
No binary data output is involved.
Dependencies
- Requires an active connection to the Wazzap API service.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The base URL for API requests is
https://doc.wazzap.mx/api-reference.
Troubleshooting
- Unsupported operation error: If the node throws an error stating the operation is unsupported, verify that the selected resource and operation names match those implemented by the node.
- Invalid Group ID: Providing an incorrect or malformed group JID will cause the API call to fail. Ensure the group ID follows the expected format (e.g.,
1234567890-123456@g.us). - Permission Denied: If the API key lacks sufficient privileges, the request to change member addition permissions may be rejected.
- Delay Misconfiguration: Setting the delay start value higher than the end value could cause unexpected behavior; ensure the start is less than or equal to the end.
Links and References
- Wazzap API Documentation – Official API reference for detailed endpoint information.
- WhatsApp Group Management Concepts – General info about group roles and permissions on WhatsApp.