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 group information, managing invite links and codes, joining or leaving groups, updating group settings (name, description, photo, announcement mode, ephemeral messages, locked status), and managing participants (adding, removing, promoting, demoting).
For the Get Invite Info operation specifically, the node retrieves detailed information about a WhatsApp group invite code or link. This is useful when you want to verify or inspect an invite code before joining or sharing it.
Practical example:
- You receive a WhatsApp group invite link and want to check details like the group name or expiration before joining. Using this node with the "Get Invite Info" operation, you input the invite code or full link, and the node returns the invite's metadata.
Properties
| Name | Meaning |
|---|---|
| Invite Code | The WhatsApp group invite code or full invite link to get information about. Required. |
Note: The property expects either just the invite code (e.g., HffXhYmzzyJGec61oqMXiz) or a full invite URL (e.g., https://chat.whatsapp.com/HffXhYmzzyJGec61oqMXiz). The node extracts the code automatically if a full link is provided.
Output
The output JSON contains the information returned by the DinastiAPI API about the invite code. This typically includes metadata such as:
- Group name associated with the invite
- Invite expiration or validity status
- Possibly other invite-specific details depending on the API response
The exact structure depends on the API but will be a JSON object representing the invite info.
The node does not output binary data for this operation.
Dependencies
- Requires an active connection to the DinastiAPI API.
- Requires an API key credential configured in n8n for authenticating requests to DinastiAPI.
- The node uses internal helper functions to validate phone numbers and prepare media data (not relevant for this operation).
- No additional environment variables are needed beyond the API authentication setup.
Troubleshooting
- Invalid or malformed invite code: If the invite code is incorrect or expired, the API may return an error. Ensure the invite code is copied correctly from the WhatsApp invite link or message.
- Network or authentication errors: Verify that the API key credential is valid and has proper permissions.
- Missing required property: The "Invite Code" property is mandatory; omitting it will cause the node to throw an error.
- Full invite link handling: The node automatically extracts the code from a full invite URL, but if the format changes, extraction might fail. Provide only the code if issues arise.
Links and References
- WhatsApp Group Invites - Official Documentation
- DinastiAPI Official Website (for API documentation and support)