Actions148
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
Overview
This node interacts with the SparkBot WhatsApp API to retrieve detailed information about a specific WhatsApp group. It is useful when you need to programmatically access metadata or settings of a WhatsApp group associated with a particular WhatsApp number managed via SparkBot.
Common scenarios include:
- Fetching group details for monitoring or reporting purposes.
- Integrating group information into CRM or customer support workflows.
- Automating group management tasks by first retrieving current group data.
For example, you might use this node to get the name, description, or participant list of a WhatsApp group before sending targeted messages or updating group settings.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) from which the group is managed. This selects the WhatsApp account context. |
| Group ID | The unique identifier of the WhatsApp group to retrieve information about. Examples: 447362053576-1500000000 or 447362053576-1500000000@g.us. |
Output
The node outputs a JSON object containing the details of the specified WhatsApp group as returned by the SparkBot API. This typically includes group metadata such as:
- Group name
- Group description
- List of participants
- Group creation date
- Other relevant group settings and status information
No binary data output is expected from this operation.
Dependencies
- Requires an active connection to the SparkBot WhatsApp API.
- Needs an API key credential configured in n8n for authenticating requests to SparkBot.
- The node depends on dynamic loading of available WhatsApp numbers ("devices") and groups based on the selected device.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp number (device) selection may cause failure to load groups.
- Incorrect or expired API key will result in authentication errors.
- Specifying a non-existent or inaccessible Group ID will lead to errors indicating the group was not found.
Error messages and resolutions:
"Group not found": Verify that the Group ID is correct and belongs to the selected WhatsApp number."Authentication failed": Check that the API key credential is valid and has necessary permissions."Failed to load devices/groups": Ensure the SparkBot service is reachable and the account has active WhatsApp numbers and groups.
Links and References
- SparkBot WhatsApp API Documentation (for detailed API capabilities and group data structure)
- n8n documentation on Creating Custom Nodes