WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

WhatsApp profile → Update Profile Image

AI-generated

Overview

This node integrates with the WaliChat WhatsApp API to update the profile image of a specified WhatsApp number (device). It allows users to change the profile picture by providing either a direct URL to an image or a Base64-encoded image string. This is useful for businesses or individuals who want to programmatically manage their WhatsApp profile images across multiple devices or accounts.

Practical examples:

  • Automatically updating the WhatsApp profile image daily or during campaigns.
  • Setting different profile pictures for different WhatsApp numbers managed by a business.
  • Changing profile images based on events, such as holidays or promotions.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) whose profile image will be updated.
Image Source The source type of the image to use. Options: "URL" (image fetched from a web address), "Base64" (image data encoded in Base64).
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 The 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 returned by the WaliChat API about the success or failure of the update.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API.
  • Needs an API key credential configured in n8n for authentication with the WaliChat service.
  • The node depends on internal methods that handle the actual API calls to update the profile image.

Troubleshooting

  • Common issues:

    • Providing an invalid or unreachable image URL may cause the update to fail.
    • Using an image larger than 1MB or in an unsupported format (non-JPG/PNG) will likely result in errors.
    • Incorrect WhatsApp number/device ID will prevent the profile image from updating.
    • Missing or invalid API key credential will cause authentication failures.
  • Error messages and resolutions:

    • "Image size exceeds limit" — Ensure the image is under 1MB.
    • "Unsupported image format" — Use JPG or PNG images only.
    • "Invalid device ID" — Verify the WhatsApp number/device ID is correct and available.
    • "Authentication failed" — Check that the API key credential is correctly set up and valid.

Links and References

Discussion