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.
Common scenarios where this node is beneficial include:
- Fetching metadata about a WhatsApp group such as its name, participants, admins, and settings.
- Monitoring group details for automation workflows, e.g., syncing group info with CRM or databases.
- Auditing group membership or status before performing further actions like adding or removing participants.
Practical example:
- You want to automatically retrieve and log the current participant list of a WhatsApp group whenever a new message arrives in that group. Using this node’s Get Group Info operation, you can fetch the latest group data and use it downstream in your workflow.
Properties
| Name | Meaning |
|---|---|
| Group ID | The unique identifier of the WhatsApp group whose information you want to retrieve. |
| Additional Fields | Optional extra parameters (not typically used for Get Group Info) but available for other operations. Includes: • Reply to Message ID • Delay (seconds) • Disable Link Preview • Mention Users (comma-separated phone numbers) |
Output
The output JSON contains the response from the WhatsApp API endpoint /v1/groups/info. This typically includes:
- Group metadata such as group name, description, creation date.
- List of participants with their roles (e.g., admin or member).
- Group settings and status information.
The exact structure depends on the API response but generally provides comprehensive details about the group.
No binary data output is produced by this operation.
Example output snippet (conceptual):
{
"groupId": "12345@g.us",
"name": "My WhatsApp Group",
"description": "Group for project updates",
"participants": [
{"number": "5511999999999", "admin": true},
{"number": "5511888888888", "admin": false}
],
"createdAt": "2023-01-01T12:00:00Z"
}
Dependencies
- Requires an active connection to the premium WhatsApp API service (Uazapi).
- Needs valid credentials including an API key, API token, instance ID, and API URL configured in n8n.
- The node sends authenticated HTTP requests to the Uazapi endpoints via a proxy service hosted at
https://n8ntools.io/api/v1/proxy/uazapi.
Troubleshooting
- Invalid Group ID: If the provided group ID is incorrect or does not exist, the API may return an error indicating the group was not found. Verify the group ID format and correctness.
- Authentication Errors: Missing or invalid API credentials will cause authorization failures. Ensure all required credentials are correctly set up in n8n.
- Network Issues: Connectivity problems to the API or proxy server can cause request timeouts or failures. Check network access and proxy availability.
- API Rate Limits: Excessive requests might be throttled by the API provider. Implement retry logic or reduce request frequency if needed.
Common error messages:
"Unauthorized": Check API token and key validity."Group not found": Confirm the group ID is correct."Request timeout": Network or server issues; try again later.
Links and References
- WhatsApp Group Management API Documentation
- n8n Documentation - Creating Custom Nodes
- Uazapi Official Website (for API details and account setup)