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:
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 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.
- 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 | |
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 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
- Create a new Notification and select type as Marketing.
- Select the contact list you want to send the notification to, and choose the image message template that you created above
- In variable mapping section, from Header Media > Image, select the
image_url
attribute under the Value column. - Map other text variables, if any.
- 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
- Create a new Notification and select type as Transactional.
- Select a trigger for when you want to send the notification.
- Select the image Message Template you created earlier.
- You'll get Webhook endpoint URL and request data with
header_image_url
field - 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
Thank you!