Actions29
- Chat Actions
- Group Actions
- Instance Actions
- Message Actions
- Webhook Actions
Overview
This node operation creates a new WhatsApp group using the MegaAPI WhatsApp service. It allows users to specify a group name and a list of participants to form the group. This is useful for automating group creation in WhatsApp for team collaboration, event planning, customer support groups, or community management.
For example, you can create a WhatsApp group named "Project Team" with all project members added automatically by providing their phone numbers in the required format.
Properties
| Name | Meaning |
|---|---|
| Group Name | The name for the new WhatsApp group. |
| Participants | Comma-separated list of participant phone numbers in WhatsApp format (e.g., 551199999999@s.whatsapp.net). Each number must include country code and end with @s.whatsapp.net. |
Additionally, there is an informational notice property explaining that participants must be contacts and have WhatsApp accounts.
Output
The output JSON contains details about the newly created WhatsApp group, including:
- The group's unique JID (WhatsApp identifier).
- Creation status indicating success or failure.
- Additional group details as returned by the MegaAPI service.
No binary data output is involved in this operation.
Dependencies
- Requires an active MegaAPI WhatsApp service connection configured with an API key credential.
- The node uses the base URL and authorization token from the configured credentials.
- Participants must be valid WhatsApp contacts with active accounts.
Troubleshooting
Common issues:
- Invalid participant phone number format: Ensure each participant's number includes the country code and ends with
@s.whatsapp.net. - Participants not in contacts or without WhatsApp accounts: The API requires participants to be recognized WhatsApp users.
- API authentication errors: Verify that the API key/token and host URL are correctly set in the node credentials.
- Invalid participant phone number format: Ensure each participant's number includes the country code and ends with
Error messages:
"Unknown group operation: createGroup": Indicates a misconfiguration or unsupported operation; ensure the operation is set exactly to "Create Group".- API response errors related to invalid participants or permissions will be returned in the output error field if "Continue On Fail" is enabled.
Links and References
- WhatsApp Group Management Documentation
- MegaAPI official documentation (refer to your MegaAPI provider for detailed API docs)