How to Send Image Templates with Unique Images for Each Contact?
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 contact. Follow these steps to get started.
Step 1: Upload Your Images
To send different images to each contact, you need to first upload all the images to your website or some place from where you can access the static file URLs. Create one image each for each of your contacts like this:
https://example.com/images/image-1.png
https://example.com/images/image-2.png
https://example.com/images/image-3.png
- and so on, depending on 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 like Google Drive, Dropbox, Imgur etc won't work. The image file URLs need to be a 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 provided below. If you want to send the images using Transactional Notification with our REST API, you can skip this step.
- Create a CSV or Excel file with your contacts data and add a new column for custom attribute
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 | |
John | 123-456-7890 | |
Sarah | 098-765-4321 |
- 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 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 images 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
- Go to the Notifications page in WANotifier and add required details.
- For the Header Image URL, select the
image_url
attribute from your contact list. - WANotifier will automatically pull the unique image URL for each contact and include it in their notification.
That’s it! Each contact will receive a personalized notification with their own unique image.
You Can Do This Using Variables Also
This process is similar to adding variables like {{ 1 }}
to personalize templates. If you’re new to variables, check out our detailed guide:
How to Personalize Templates Using Variables?
In actual notification you can send a different image to different person.
What Happens if There’s No Image URL?
If a contact doesn’t have an image_url
specified in the sheet, WANotifier will use the default image from your message template. This ensures everyone still gets a notification, even without a custom image.
Updated on: 25/06/2025
Thank you!