> For the complete documentation index, see [llms.txt](https://docs.dialogform.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dialogform.in/user-guide/branching-and-looping-with-quick-responses.md).

# Branching and looping with quick responses

The easiest way to get started with quick responses is by using one of our pre-created prompt templates.

## What To Do

In DialogForm, open up a flow you want to edit.

In the prompts panel, click on the three horizontal dots next to the "+ Add prompt" button. This will open a popup menu with the option to "Select a template...".

![](/files/jm5qmFHqnnYUXdL92fn6)

Click on this option to open up the template selector. You'll find some templates here that make use of the quick responses feature to set up interesting use cases. The ones highlighted in red below are three such templates.&#x20;

![](/files/xcaBeasW3Z87TCNrbYpi)

Select the template you want to explore. You'll see a preview of it on the right hand side, where you can try it out to see what it does. Once you've identified which template you want to use, click on the "Use" button to insert it into your flow. You can then modify it to suit your needs.

{% hint style="info" %}
A prompt template is nothing but a pre-built prompt, so once you insert it into your flow, you can change anything and everything about it if you wish. It is just a regular prompt.
{% endhint %}

## Deep Dive

If you want to manually build a prompt that uses quick responses (instead of using a pre-built one as above), then watch the following two steps of our [tutorial](/tutorial.md):

[Tutorial](/tutorial.md#6-quick-response-based-branching-and-looping-and-an-introduction-to-rich-messages)

[Tutorial](/tutorial.md#7-interactive-multi-select-questions-and-different-ways-of-displaying-choices)

These also delve a little into scoring strategies and how you can use them with quick responses, for added oomph.

## What Next

Learn about advanced scoring strategies. These are especially useful for prompts using the quick response feature.

{% content-ref url="/pages/SsinhQDd9TgO6XJMnx8Y" %}
[Advanced scoring](/user-guide/advanced-scoring.md)
{% endcontent-ref %}


---

# 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.dialogform.in/user-guide/branching-and-looping-with-quick-responses.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.
