> For the complete documentation index, see [llms.txt](https://docs.3dolphins.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.3dolphins.ai/bot-settings/dialog-flows/untitled-1/configuration-final-response.md).

# Configuration

You will be directed to complete your dialog in step 4 Configuration. In this configuration, you can add four responses, i.e. Success Response, Failed Response, Cancel Response, and Unknown Response, as shown in the following image.

<figure><img src="/files/U2vMIxkGFQlqRXn0Zfuc" alt=""><figcaption><p>Configuration</p></figcaption></figure>

**Component Explanation:**

| Response Dialog  | Description                                                                                                                                                                                                                                                                                                                                                               |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Success Response | <p>Will display the response when all the entities are filled and dialog flow is run perfectly. You can also fill out <strong>\[$output$]</strong>. The function of <strong>\[$output$]</strong> is to display the output from the SDK or process flow. <br></p><p><strong>For Example:</strong> </p><p>Here is the list of the nearest stations to you: \[$output$].</p> |
| Failed Response  | <p>Response dialog when the bot can't answer customer requests. When SDK is not working as it should, which is when the SDK is set to the failed response. <br></p><p>F<strong>or Example:</strong> </p><p>Sorry, {bot\_name} couldn't find any stations at your location.</p>                                                                                            |
| Cancel Response  | <p>Response dialog by the bot when the customer sends a cancel request. <br></p><p><strong>For Example:</strong> </p><p>Okay, {bot\_name} will cancel it.</p>                                                                                                                                                                                                             |
| Unknown Response | <p>Response dialog when the customer sends questions that does not match the entity required by the bot. <br></p><p><strong>For Example:</strong> <br>Sorry, {bot\_name} doesn't understand.</p>                                                                                                                                                                          |


---

# 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.3dolphins.ai/bot-settings/dialog-flows/untitled-1/configuration-final-response.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.
