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 profile information related to a specified WhatsApp number. Specifically, the "Get Profile" operation under the "WhatsApp profile" resource fetches details about a WhatsApp device/profile associated with the given number.
Common scenarios where this node is useful include:
- Retrieving metadata or status information about a WhatsApp number managed via SparkBot.
- Verifying profile details before sending messages or performing other operations.
- Integrating WhatsApp profile data into workflows for customer support, marketing, or analytics.
Example use case: A user wants to check the profile information of a WhatsApp number to confirm it is active and correctly configured before initiating a messaging campaign.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) whose profile you want to retrieve. This is selected from available devices loaded dynamically. |
| Include Options | Optional string to specify additional data to include in the response when fetching the profile. |
Output
The node outputs JSON data representing the profile information of the specified WhatsApp number. This typically includes details such as profile name, status, and possibly other metadata returned by the SparkBot API.
If the "Include Options" property is used, the output may contain extended information as requested.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the SparkBot WhatsApp API.
- The node depends on the SparkBot service being accessible and properly configured.
- The "WhatsApp Number" options are dynamically loaded, implying the node fetches available devices from the API.
Troubleshooting
Common issues:
- Invalid or missing API key credential will cause authentication failures.
- Selecting a WhatsApp number that does not exist or is inactive may result in errors or empty responses.
- Network connectivity problems can prevent successful API calls.
Error messages:
- Authentication errors: Verify that the API key credential is correctly set up.
- Device not found: Ensure the WhatsApp number/device ID is valid and currently registered.
- Unexpected API errors: Check SparkBot service status and review any rate limits or usage restrictions.
Links and References
- SparkBot WhatsApp API Documentation (example placeholder, replace with actual URL if known)
- n8n Documentation on Creating Custom Nodes
- General WhatsApp Business API references for context on profile data structures.