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 integrates with the Wassenger WhatsApp API to manage WhatsApp groups, specifically allowing users to add participants to a group. It is useful in scenarios where you want to programmatically manage group membership, such as adding new members to a customer support group, marketing broadcast group, or team collaboration group on WhatsApp.
For example, you can use this node to add multiple phone numbers to a WhatsApp group and optionally assign admin privileges to some of them, automating group management tasks that would otherwise require manual intervention in the WhatsApp app.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) from which the group is managed. |
| Group ID | The unique identifier of the WhatsApp group to which participants will be added. |
| Participants | A collection of participants to add, each with: |
| - Phone Number: The participant's phone number in international format (e.g., +1234567890). | |
| - Make Admin: Boolean flag indicating whether the participant should be granted admin rights. |
Output
The node outputs JSON data representing the result of the add participants operation. This typically includes confirmation details about the participants added to the group, any errors encountered per participant, or status messages returned by the Wassenger API.
No binary data output is involved in this operation.
Dependencies
- Requires an active Wassenger WhatsApp API account.
- Requires an API key credential for authentication with the Wassenger service.
- The node depends on dynamic loading of WhatsApp devices and groups via internal methods (
getDevicesandgetGroups) to populate options for the WhatsApp Number and Group ID fields. - Proper configuration of these credentials and permissions in n8n is necessary for successful execution.
Troubleshooting
Common Issues:
- Invalid or missing WhatsApp number/device ID may cause failure to identify the source device.
- Incorrect or expired group ID can lead to errors when attempting to add participants.
- Phone numbers not formatted in international format (+countrycode...) may be rejected.
- Insufficient permissions to add participants or assign admin roles in the target group.
- Network or API authentication issues due to invalid API key.
Error Messages:
- Errors related to "Invalid group ID" indicate the specified group does not exist or is inaccessible.
- "Participant phone number invalid" suggests formatting issues or unregistered WhatsApp numbers.
- Authentication errors imply problems with the API key credential setup.
Resolutions:
- Verify the WhatsApp number and group ID are correct and accessible.
- Ensure all phone numbers are in proper international format.
- Confirm the API key is valid and has required permissions.
- Check network connectivity and Wassenger service status.