Actions15
Overview
This node integrates with the DinastiAPI API to manage WhatsApp groups. It allows users to perform various group-related operations such as creating groups, retrieving group information, managing invite links, joining or leaving groups, updating group settings (name, description, photo, announcement mode, ephemeral messages, locked status), and managing participants (adding, removing, promoting, demoting).
A common use case is automating WhatsApp group management within workflows, for example:
- Automatically creating a new group and adding participants.
- Changing the group name or description based on external triggers.
- Retrieving group info or invite links to share externally.
- Managing group membership dynamically by adding or removing participants.
Specifically, the "Set Name" operation changes the name of an existing WhatsApp group identified by its JID.
Properties
| Name | Meaning |
|---|---|
| Group JID | The unique identifier (JID) of the WhatsApp group to operate on. Example: 120363312246943103@g.us. Required for most group operations including setting the name. |
| New Name | The new name to assign to the WhatsApp group. This is required when changing the group name. |
Output
The node outputs JSON data representing the response from the DinastiAPI API for the requested operation. For the "Set Name" operation, the output typically includes confirmation details about the group name change.
The output structure is an array of JSON objects, each corresponding to an input item processed. Each object contains the API response data relevant to the performed operation.
No binary data output is produced by the "Set Name" operation.
Dependencies
- Requires an active connection to the DinastiAPI API via an API key credential configured in n8n.
- The node uses internal helper functions to validate phone numbers and prepare media data (not applicable for "Set Name").
- Network access to the DinastiAPI endpoints is necessary.
Troubleshooting
Error: Missing or invalid Group JID
Ensure the "Group JID" property is correctly set and corresponds to an existing WhatsApp group.Error: Invalid new group name
Verify that the "New Name" property is provided and meets any naming constraints imposed by WhatsApp or DinastiAPI.API request failures
Check the API key credential validity and network connectivity. Also, confirm that the DinastiAPI service is operational.Unexpected errors during execution
Enable "Continue On Fail" in the node settings to handle errors gracefully and inspect error messages returned in the output.
Links and References
- DinastiAPI Documentation (general reference for API endpoints)
- WhatsApp Group Management Concepts: https://faq.whatsapp.com/general/chats/how-to-create-a-group/