Actions37
- Message Actions
- Media Actions
- Contact Actions
- Group Actions
- Instance Actions
- Webhook Actions
Overview
This node integrates with a premium WhatsApp API service to manage WhatsApp groups and perform various group-related operations. Specifically, the "Get Group Info" operation retrieves detailed information about a specified WhatsApp group by its unique group ID. This is useful for scenarios where you need to programmatically access group metadata such as group name, participants, admins, or other settings.
Practical examples include:
- Fetching group details to display in a dashboard.
- Verifying group membership or status before sending messages.
- Automating workflows that depend on group attributes or participant lists.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the WhatsApp group whose information you want to retrieve. |
| Additional Fields | Optional extra parameters that can be provided (not specifically used in this operation). |
The "Additional Fields" collection includes options like:
- Reply to Message ID: ID of a message to reply to (not applicable here).
- Delay (seconds): Delay before sending a message (not applicable here).
- Disable Link Preview: Whether to disable link previews (not applicable here).
- Mention Users: Phone numbers to mention (not applicable here).
For the "Get Group Info" operation, only the Group ID is required and relevant.
Output
The output is a JSON object containing the response from the WhatsApp API endpoint /v1/groups/info. This typically includes detailed information about the group such as:
- Group name
- Group ID
- List of participants
- Admins
- Other metadata related to the group
The exact structure depends on the API response but will be contained within the json field of the output item.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the premium WhatsApp API service via an API key credential.
- The node uses credentials including an API key, API token, instance ID, and base URL configured in n8n.
- Network connectivity to the WhatsApp API endpoint is necessary.
- No additional external dependencies beyond the configured API credentials.
Troubleshooting
- Invalid Group ID: If the group ID is incorrect or does not exist, the API may return an error. Verify the group ID format and existence.
- Authentication Errors: Ensure the API key and tokens are valid and have sufficient permissions.
- Network Issues: Connectivity problems to the API endpoint will cause request failures.
- API Rate Limits: Excessive requests might be throttled; check API usage limits.
- Unexpected Response Structure: If the API changes, the output format might differ, requiring updates to downstream processing.
Common error messages will be returned in the json.error field if the node is set to continue on failure.
Links and References
- WhatsApp Group Management API Documentation (example placeholder, replace with actual API docs)
- n8n Documentation - Creating Custom Nodes
- WhatsApp Business API Overview
This summary focuses solely on the "Get Group Info" operation of the "Group" resource based on the provided source code and property definitions.