Actions15
Overview
This node integrates with the DinastiAPI to manage WhatsApp groups. It supports a variety of group-related operations such as creating groups, listing groups, retrieving group information, managing participants, and updating group settings like name, description, photo, and permissions.
The List operation specifically retrieves all WhatsApp groups associated with the authenticated account. It optionally allows ignoring participant details to improve performance when participant data is not needed.
Practical use cases include:
- Automating group management workflows in WhatsApp.
- Fetching a list of groups for reporting or monitoring purposes.
- Integrating WhatsApp group data into other systems or dashboards.
Properties
| Name | Meaning |
|---|---|
| Ignore Participants | Whether to ignore participant details for better performance (groups will still be listed but without participant information). |
Output
The output is a JSON array where each item represents a WhatsApp group retrieved from the DinastiAPI. The structure includes group metadata and, unless ignored, participant details.
- When Ignore Participants is set to
true, the participant information is omitted to optimize performance. - The exact fields depend on the API response but typically include group identifiers, names, and optionally participant lists.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the DinastiAPI service.
- Needs an API authentication credential configured in n8n to authorize requests.
- The node uses internal helper functions to validate phone numbers and prepare media data (not relevant for the List operation).
Troubleshooting
Common issues:
- Authentication failures if the API key or credentials are missing or invalid.
- Network errors if the DinastiAPI service is unreachable.
- Errors due to incorrect parameter types or missing required parameters (less likely for List since it has minimal inputs).
Error messages:
"Binary property \"<name>\" not found"— Not applicable for List operation but may appear in other operations involving images.- API error responses will be passed through; ensure the API key is valid and the account has permission to list groups.
To resolve errors, verify API credentials, network connectivity, and parameter correctness.
Links and References
- DinastiAPI Documentation (hypothetical link)
- WhatsApp Group Management Concepts: https://faq.whatsapp.com/general/chats/how-to-create-and-manage-groups/