Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files 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
Overview
This node integrates with the Wassenger WhatsApp API to update the profile image of a specified WhatsApp number (device). It allows users to change their WhatsApp profile picture by providing either a direct URL to an image or a Base64-encoded image string. This is useful for automating profile updates in bulk, managing multiple WhatsApp numbers programmatically, or integrating profile management into broader workflows.
Practical examples:
- Automatically updating the profile picture of a customer support WhatsApp number based on marketing campaigns.
- Changing profile images periodically for branding purposes without manual intervention.
- Syncing profile pictures across multiple WhatsApp devices managed by a company.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) whose profile image you want to update. |
| Image Source | The source type of the new profile image. Options: "URL" (provide an image URL) or "Base64" (provide Base64 encoded image data). |
| Image URL | The URL of the image to use as the profile picture. Must be JPG or PNG format, max size 1MB. Required if Image Source is "URL". |
| Base64 Image | Base64 encoded image data to use as the profile picture. Must be JPG or PNG format, max size 1MB. Required if Image Source is "Base64". |
Output
The node outputs JSON data representing the result of the profile image update operation. This typically includes confirmation details from the Wassenger API about the updated profile image status. The output does not include binary data.
Example output structure (conceptual):
{
"success": true,
"message": "Profile image updated successfully",
"deviceId": "string",
"profileImageUrl": "string"
}
Dependencies
- Requires an active Wassenger WhatsApp API account.
- Needs an API key credential configured in n8n for authentication with the Wassenger service.
- Internet access to fetch images if using the URL option.
- The image must be in JPG or PNG format and not exceed 1MB in size.
Troubleshooting
Common issues:
- Providing an invalid or unreachable image URL will cause the update to fail.
- Using an unsupported image format or exceeding the 1MB size limit will result in errors.
- Incorrect WhatsApp number/device ID will prevent the profile update.
- Missing or invalid API key credential will cause authentication failures.
Error messages and resolutions:
"Invalid image format": Ensure the image is JPG or PNG."Image size exceeds limit": Use an image smaller than 1MB."Device not found": Verify the WhatsApp number/device ID is correct and accessible."Authentication failed": Check that the API key credential is correctly set up and valid.