Actions15
Overview
This node enables managing WhatsApp groups through the DinastiAPI API. It supports 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 practical use case is automating WhatsApp group management tasks within workflows, for example:
- Automatically creating a new group with specified participants.
- Removing a group's photo to reset its appearance.
- Leaving a group programmatically.
- Updating participant roles based on external triggers.
Specifically, the Remove Photo operation removes the current photo of a specified WhatsApp group.
Properties
| Name | Meaning |
|---|---|
| Group JID | The unique identifier (JID) of the WhatsApp group from which the photo will be removed. |
Output
The node outputs JSON data representing the response from the DinastiAPI API after attempting to remove the group photo. This typically includes confirmation of success or error details.
No binary data output is produced by this operation.
Example output JSON structure might look like:
{
"success": true,
"message": "Group photo removed successfully"
}
Dependencies
- Requires an active connection to the DinastiAPI API via an API key credential configured in n8n.
- The node depends on the
dinastiapiApiRequesthelper function to communicate with the API endpoints. - Proper permissions on the WhatsApp group are necessary to perform photo removal.
Troubleshooting
- Error: Binary property not found — Not applicable for Remove Photo but relevant for other operations involving images.
- API errors — If the API returns an error (e.g., invalid group JID, insufficient permissions), the node will throw an error unless "Continue On Fail" is enabled.
- Ensure the provided Group JID is correct and that the authenticated user has rights to modify the group.
- Network or authentication issues with the DinastiAPI service can cause failures; verify API credentials and connectivity.
Links and References
- DinastiAPI Documentation (for detailed API usage)
- WhatsApp Group Management Concepts (general understanding of group JIDs and permissions)