Actions15
Overview
The node "DinastiAPI Group" allows managing WhatsApp groups through the DinastiAPI API. It supports various group-related operations such as creating groups, retrieving information, managing participants, and configuring group settings.
The Set Announce operation specifically enables or disables announce mode in a WhatsApp group. When announce mode is enabled, only group admins can send messages to the group, which is useful for broadcast-style communication where only admins post announcements and other members read without replying.
Practical examples:
- A company wants to create an announcement-only channel for employees where only HR admins can post updates.
- Community managers want to restrict message sending rights temporarily during important announcements.
Properties
| Name | Meaning |
|---|---|
| Group JID | The unique identifier (Jabber ID) of the WhatsApp group to modify (e.g., 120363312246943103@g.us). Required. |
| Announce Mode | Boolean flag indicating whether announce mode is enabled (true) or disabled (false). When enabled, only admins can send messages. |
Output
The node outputs JSON data representing the response from the DinastiAPI API after setting the announce mode. This typically includes confirmation of the updated group settings or error details if the operation failed.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the DinastiAPI API with valid API authentication credentials configured in n8n.
- The node depends on the external DinastiAPI service to perform WhatsApp group management actions.
- No additional environment variables are explicitly required beyond the API credential setup.
Troubleshooting
Common issues:
- Invalid or missing Group JID will cause the API request to fail.
- Insufficient permissions or invalid API credentials may result in authorization errors.
- Network connectivity problems can prevent successful API calls.
Error messages:
"Binary property \"<name>\" not found"— Not applicable for this operation but seen in photo upload; ignore here.- API errors returned from DinastiAPI will be passed through, e.g., "Group not found" or "Unauthorized".
Resolutions:
- Verify the Group JID is correct and corresponds to an existing WhatsApp group.
- Ensure the API key or token used has sufficient permissions.
- Check network connectivity and retry if transient errors occur.
Links and References
- DinastiAPI Official Documentation (for detailed API usage)
- WhatsApp Group Management Concepts: https://faq.whatsapp.com/general/chats/about-groups/