Wiki WhatsApp Business API Gupshup

How to send a template message with type MEDIA IMAGE

1. Prepare the following text for sending

[id]Template ID[/id]
[image]Image link[/image]
[var]Variable 1[/var]
[var]Variable 2[/var]
[var]Variable 3[/var]
Inside the [id][/id] tag, insert your template ID.

Inside the [image][/image] tag, insert a link to the image. Below we will write how to upload an image to Bitrix24 and get a link to the image.

Use the [var][/var] tags to designate as many variables as are created in your template.

2. Where to get Template ID

1. Open the Gupshup dashboard:
2. Click on the name of your Gupshup App to go to settings:
3. Open the "Templates" tab:
4. Find the approved template you need and copy "Gupshup temp ID":

3. How to get an image link

1. Upload the image to your Bitrix24 Drive:
2. Get a public link to this file:
3. Copy the public link:
4. Open the copied link in a new browser tab and click on the image:
5. The desired image will open in a new tab. Copy the URL of this image:
6. Paste the copied URL inside the [image]copied URL[/image] tag when submitting the template.

4. Example of sending a template message

1. Approved template:
2. Text to send:
3. Sending from Bitrix24:
4. The message that the customer will receive:
WhatsApp Business API Gupshup
Made on