1. Prepare the following text for sending
[template]
[type]image[/type]
[id]Gupshup temp ID[/id]
[image]Image link[/image]
[var]Variable 1[/var]
[var]Variable 2[/var]
[var]Variable 3[/var]
[/template]
Inside the [id][/id] tag, insert your Gupshup temp 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.
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. How to get Gupshup temp ID
1. Open the Gupshup dashboard: https://www.gupshup.io/whatsapp/dashboard
2. Click on the name of your Gupshup App to go to settings:
![](https://static.tildacdn.com/tild6461-6338-4635-a637-666361646261/2023-08-10_19-57-29_.png)
3. Open the list of your approved templates and click on the filter icon:
![](https://static.tildacdn.com/tild6662-3263-4430-a537-353066333737/2024-09-10_19-09-19_.png)
4. Set in the Filter Template Type: Image
![](https://static.tildacdn.com/tild6632-3430-4038-b535-303864643637/2024-09-08_19-12-27_.png)
![](https://static.tildacdn.com/tild3835-3564-4537-b934-653763323031/2024-09-10_19-10-33_.png)
![](https://static.tildacdn.com/tild6232-3638-4134-b934-353864316138/2024-09-10_19-10-49_.png)
5. Click on the "i" icon:
![](https://static.tildacdn.com/tild6533-6437-4166-a133-396231656335/2024-09-10_19-11-08_.png)
6. Copy the "Gupshup temp ID":
![](https://static.tildacdn.com/tild6236-6366-4132-b361-613961373963/2024-09-10_19-12-09_.png)
3. How to get an image link
1. Upload the image to your Bitrix24 Drive:
![](https://static.tildacdn.com/tild3130-3132-4837-b033-653331306232/2023-07-22_16-13-54_.png)
2. Get a public link to this file:
![](https://static.tildacdn.com/tild3962-6236-4966-b436-366137326565/2023-07-22_16-17-59_.png)
3. Copy the public link:
![](https://static.tildacdn.com/tild6364-3637-4865-b164-366334323962/2023-07-22_16-19-10_.png)
4. Open the copied link in a new browser tab and click on the image:
![](https://static.tildacdn.com/tild6438-3966-4132-b333-393333653635/2023-07-22_18-12-51_.png)
5. The desired image will open in a new tab. Copy the URL of this image:
![](https://static.tildacdn.com/tild3036-3162-4461-b935-346339353062/2023-07-22_18-15-05_.png)
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:
![](https://static.tildacdn.com/tild6636-6431-4139-b063-616232623437/2024-09-10_19-12-50_.png)
2. Text to send:
[template]
[type]image[/type]
[id]1b7d00e8-79b9-4d4b-a9ad-caba4a293e57[/id]
[image]https://bitrix24public.com/aisufa.bitrix24.ru/docs/pub/45b958f56808cd0369853246add06e38/showFile/?&token=siyp070tn643[/image]
[var]Andrey[/var]
[var]WABA[/var]
[/template]
3. Sending from Bitrix24:
![](https://static.tildacdn.com/tild3663-3363-4565-b834-646361366234/2023-08-10_23-53-47_.png)
4. The message that the customer will receive:
![](https://static.tildacdn.com/tild3562-6263-4433-b061-616165653835/photo_2023-08-10_235.jpeg)