1. Prepare the following text for sending
[template]
[type]image[/type]
[id]Template 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 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.
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: 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 "Templates" tab:
![](https://static.tildacdn.com/tild6235-3936-4265-b466-643166316338/2023-08-10_20-00-08_.png)
4. Find the approved template you need and copy "Gupshup temp ID":
![](https://static.tildacdn.com/tild6666-3065-4232-b834-623233336333/2023-08-10_20-03-02_.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/tild6663-3233-4461-a632-346337303736/2023-08-10_23-51-59_.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)