> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/common-questions/automation-template/chatbot-template.md).

# Chatbot - Template

Follow below how to create a chatbot template

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FyFNVJsSL7Xt5iwdbZKf4%2Fundraw_undraw_undraw_undraw_undraw_undraw_undraw_undraw_undraw_undraw_undraw_selectoption_y9cm_mx7w_-2-_vjsk_js62_gghb_35qw_um1m_-1-_cqnl_5lof_-1-_4dfu_(1)_et2a.png?alt=media&amp;token=245ca70a-8841-4ad3-ad81-e021830737c6" alt=""><figcaption></figcaption></figure>

### Step-by-step on how to create the template

First, choose which chatbot you want to turn into a template:

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FxJn2qzCLiW26HS7rQgSu%2Fimage.png?alt=media&amp;token=82000000-3e55-43e8-8138-ed049561c93d" alt=""><figcaption></figcaption></figure>

By clicking on the chatbot name, next to Back, we can open a selector that will give us the option to "Create a template":

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FxcJro05iYWZkEZmAZQ7l%2Fimage.png?alt=media&amp;token=39224d93-213f-4116-80cf-85b79511e4aa" alt=""><figcaption></figcaption></figure>

When you click Create, you will have the option to enter a name, description, and whether it is a public template or not:

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FawRoLQ0eDZPdS5GxiAQs%2Fimage.png?alt=media&amp;token=00b7ce2a-7616-46bb-86f8-fd4528db4b83" alt=""><figcaption></figcaption></figure>

**What is the difference between having a public template or not?**

If it is public, all users in your environment can use that template.

If not, only users selected by you can use that template.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FKa1zwrTJztBl4yuVszjP%2Fimage.png?alt=media&amp;token=47bfd411-60f7-48e1-b954-04c3a26bbfa2" alt=""><figcaption></figcaption></figure>

### Adding the template to a new chatbot

Click "New" to create a new chatbot:

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FlYLT6r6B9v5zWm5fEbAd%2Fimage.png?alt=media&amp;token=f87e8136-a1ed-4e90-95dd-73f512d96066" alt=""><figcaption></figcaption></figure>

When you open the chatbot, click "Choose template" and select the desired template:

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FSCfaYypGgSQELHOiCXG9%2Fimage.png?alt=media&amp;token=a4cfb07f-c468-43ff-b2ef-2686b330af47" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FC6NVwcyeeOlE8dfafYHq%2Fimage.png?alt=media&amp;token=06e57d56-aeff-469a-a313-b3db56f3363e" alt=""><figcaption></figcaption></figure>

After choosing it, the builder will open with your template so you can modify it as you wish.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FA4Hw7yRzKJETnKjJQb1S%2Fimage.png?alt=media&amp;token=43e821d7-e012-4d96-a865-ffed69f43468" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/common-questions/automation-template/chatbot-template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
