Articles on: Notifications (aka Campaigns)

Send Personalized Image Messages to Each Contact Using Image Templates

Personalizing notifications with unique images for each contact is easy with WANotifier! By uploading images to your website and linking them to your contacts, you can send personalized images to each recipient. Follow these steps to get started.


Step 1: Upload Your Images


To send different images to each contact, you first need to upload all the images to your website or another location where you can access static file URLs. Create one image for each of your contacts, like this:



...and so on, depending on the number of contacts and images you have.


Make sure each image has its own unique link that you can use later. Allowed file formats: PNG and JPEG.


Important note: Dynamic URLs from services like Google Drive, Dropbox, Imgur, etc., will not work. The image file URLs must be static and publicly accessible.


Step 2: Prepare Your Contact List


If you want to send image message templates in bulk using a marketing notification, follow the steps below. If you plan to send images using a transactional notification with our REST API, you can skip this step.


  1. Create a CSV or Excel file with your contact data and add a new column for a custom attribute named image_url (or any name you prefer). In your sheet add the respective image URLs for each of your contacts under this column like this:


Contact Name

Phone Number

image_url

Mike

555-555-5555

https://example.com/images/image-3.png

John

123-456-7890

https://example.com/images/image-1.png

Sarah

098-765-4321

https://example.com/images/image-2.png


  1. Once your sheet is ready, import it into WANotifier. During import, create a new attribute called image_url and map that with the image_url column from your sheet.


This will import your contacts along with the respective image URLs.


Step 3: Set Up Your Message Template


Now create a new message template with Header Type as Media and Media type as Image. Then add a default placeholder image. Note that you need to only add a default image here for WhatsApp to review your template. This default image will be replaced with your unique image for each contact when sending Notification.


Step 4: Setup Your Notification


You can either send a bulk marketing notification or a transactional one using our REST API. Let’s look at how to do both:


1. Marketing Notification


  1. Create a new Notification and select type as Marketing.
  2. Select the contact list you want to send the notification to, and choose the image message template that you created above
  3. In variable mapping section, from Header Media > Image, select the image_url attribute under the Value column.
  4. Map other text variables, if any.
  5. Save and send this Notification


Setting it up this way, Notification will be sent by pulling the unique image URL for each contact and replacing that with default image of the template.


2. Transactional Notification


  1. Create a new Notification and select type as Transactional.
  2. Select a trigger for when you want to send the notification.
  3. Select the image Message Template you created earlier.
  4. You'll get Webhook endpoint URL and request data with header_image_urlfield
  5. Add your static image URL as value of this field for each request you send along with other details in the request.


This way each time you trigger the endpoint with unique image URL, the respective image will be sent to the contact.


What Happens if You Don't Send Image URL?


If a contact doesn’t have an image_url specified in the sheet for a Marketing Notification, or if you do not send a header_image_url for a Transactional Notification, our system will use the default image from your message template and send that instead. This ensures everyone still gets a notification, even without a custom image.

Updated on: 07/07/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!