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 integrates with the SparkBot WhatsApp API to perform various operations related to WhatsApp messaging and management. Specifically, for the WhatsApp profile resource with the Get Profile Image operation, it retrieves the profile image associated with a specified WhatsApp number.
Common scenarios where this node is beneficial include:
- Fetching the profile picture of a WhatsApp contact or business number for display in dashboards or CRM systems.
- Automating the retrieval of profile images to enrich contact data.
- Using profile images in customer support or marketing workflows to personalize interactions.
Example: A user wants to display the profile image of a WhatsApp number in their internal app. They configure this node to get the profile image by selecting the WhatsApp profile resource and the Get Profile Image operation, providing the target WhatsApp number.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number whose profile image you want to retrieve. This is selected from available WhatsApp numbers linked to your account. |
Output
The node outputs JSON data containing the profile image information of the specified WhatsApp number. The exact structure depends on the API response but typically includes:
- URL or base64 data of the profile image.
- Metadata such as image format or size (if provided by the API).
If the profile image is returned as binary data, it would be accessible in the node's binary output field, representing the actual image file.
Dependencies
- Requires an active connection to the SparkBot WhatsApp API via an API key credential configured in n8n.
- The node depends on the availability of WhatsApp numbers linked to the SparkBot account; these are loaded dynamically for selection.
- Network access to the SparkBot API endpoints is necessary.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp number ID: Ensure the WhatsApp number is correctly selected and linked to your SparkBot account.
- API authentication errors: Verify that the API key credential is valid and has the required permissions.
- No profile image available: Some WhatsApp numbers may not have a profile image set; handle empty or null responses gracefully.
Error messages:
"error": "Invalid WhatsApp number"β Check if the WhatsApp number exists and is active."error": "Authentication failed"β Reconfigure the API key credential.- Network timeouts or unreachable API β Confirm network connectivity and API endpoint status.
Links and References
- SparkBot WhatsApp API Documentation (general reference for API capabilities)
- n8n Documentation for configuring credentials and using nodes
Note: This summary is based on static analysis of the bundled source code and provided property definitions without runtime execution.