# Templates

### 1. Creating gallery/story **campaigns**

In conversation builder, select the gallery template, paste the story URL in the URL section. Make changes to title or subtitle if needed. Once saved, publish.

See the tutorial[ here](https://drive.google.com/open?id=16AN8aPL5ts7C6bTXgKwN-_BP9iFEUYUe).

{% hint style="info" %}
Do not use money/currency/payment related text in title or subtitle.
{% endhint %}

{% hint style="danger" %}
Avoid incomplete colon marks in title or subtitle.
{% endhint %}

### 2. Creating video campaigns <a href="#creating-video-campaigns" id="creating-video-campaigns"></a>

In conversation builder, select the ‘video’ template. Upload video. Once saved, publish.

See the tutorial [here](https://drive.google.com/open?id=1kd6LV1Tgx74Iqxo3DGj6Lz6TYKsv8XVD).

{% hint style="danger" %}
Video file SIZE should not be greater than 16MB otherwise, it will not get uploaded.
{% endhint %}

### **3. Sending the user to Youtube page**

In conversation builder, select the gallery template, paste the Youtube URL in the URL section. Make changes to title or subtitle if needed. Once saved, publish.

See the tutorial [here.](https://drive.google.com/open?id=1KgbHwTwO6X2juTwuh1CsYDIyc9y79z65)

### &#xD;4\. S**ending videos/images published on Facebook**

Select the ‘Facebook Media’ template, enter the Facebook URL of the video/image published on FB. From the dropdown list right below, choose ‘video’ or ‘image’. Once saved, publish.

See the tutorial [here.](https://drive.google.com/open?id=1U19qEcKwgguITcM3kGuvVU-eeyFbhYHy)

### 5. Using 'Text' template&#x20;

In conversation builder, select Text template, give the template a name and then enter the text you want to send. Once saved, publish.

{% hint style="success" %}
Emoticons can be added to the text.
{% endhint %}

{% hint style="danger" %}
Stay within character limit otherwise, the text will not get saved.
{% endhint %}

See the tutorial [here](https://drive.google.com/open?id=1FZZ5VLRuef4prUUAmkTxnBz2EeGIfnZo).

### 6. 'Add Button' feature

It is a clickable button that can be incorporated into templates. This button can direct the user to a URL or it can call for any other template.

{% hint style="success" %}
Emoticons can be added to the text.
{% endhint %}

{% hint style="danger" %}
Stay within character limit otherwise, the text will not get saved.
{% endhint %}

{% hint style="info" %}
A maximum of 3 buttons can be created.
{% endhint %}

See the tutorial [here](https://drive.google.com/open?id=10zTUGwe19CZdK8MzVS6fQHL_gXavEKUr).

### 7. Using 'Quick reply' feature

### **8. Connecting two templates**

### **9. Keywords**

Words that work as triggers/ commands that pull a specific template/ gallery or any action.

Steps to set a keyword to a template:

![](/files/-M7Mr2RqFEa2zcEdhkVr)

1. Go to the specific template in the conversation builder.
2. Click on the 'Keyword' button which is right below the said template.
3. Type in the preferred keyword and save.
4. Publish.&#x20;
5. Test the keyword by typing it in your messenger bot.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://smugglr.gitbook.io/project/bot-builder/untitled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
