Actions14
Overview
This node enables managing WhatsApp groups through the Wuzapi API. It supports a variety of group-related operations such as creating groups, retrieving group information, managing participants, changing group settings, and leaving groups. This node is useful for automating WhatsApp group administration tasks within workflows, such as setting up new groups with specific participants, updating group details, or programmatically leaving groups.
Practical examples include:
- Automatically creating a WhatsApp group with a predefined list of participants.
- Fetching detailed information about a group to monitor its status.
- Leaving a group when certain conditions in a workflow are met.
- Updating group announcements or descriptions based on external triggers.
Properties
| Name | Meaning |
|---|---|
| Group JID | The unique identifier (JID) of the WhatsApp group, e.g., "120363312246943103@g.us". Required for operations like info retrieval, invite link management, leaving, announcements, topic changes, ephemeral message settings, locking, renaming, photo updates, and participant updates. |
Output
The node outputs JSON data corresponding to the result of the selected operation. The structure varies depending on the operation performed:
- For leave operation, the output confirms the action of leaving the specified group.
- Other operations return relevant group data such as group info, invite links, participant lists, or confirmation of updates.
No binary data output is produced by the leave operation.
Dependencies
- Requires an active connection to the Wuzapi API via an API key credential configured in n8n.
- The node depends on helper functions for phone number validation and media preparation from bundled dependencies.
- Proper network access to the Wuzapi API endpoints is necessary.
Troubleshooting
- Error: Binary property "..." not found — This occurs if the node expects image data from a previous node but cannot find it. Ensure the binary property name matches exactly and that the previous node outputs the expected binary data.
- Invalid Group JID — Providing an incorrect or malformed group JID will cause API errors. Verify the JID format before running the node.
- Invite code parsing issues — When joining a group via invite code, ensure the code or full invite link is correctly provided; the node extracts the code automatically if a full URL is given.
- API request failures — Network issues or invalid credentials can cause request failures. Confirm API credentials are valid and the Wuzapi service is reachable.
Links and References
- Wuzapi Official Documentation (for API details)
- WhatsApp Group JID format explanation: Generally a numeric string followed by "@g.us"
- n8n documentation on creating custom nodes