> For the complete documentation index, see [llms.txt](https://guide.tiledesk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.tiledesk.com/ai-chatbots-and-automation/actions-explained/random-reply.md).

# Random Reply

Would you like to make your conversation flow more dynamic? The Random Reply action can help you send back randomly selected messages chosen from a static set.&#x20;

This cool action allows you to define a set of responses, and the system will randomly pick one of them to share with customers.

#### Step-by-Step Guide to Using Random Reply in Action[#](https://gethelp.tiledesk.com/articles/how-to-use-the-random-reply-action-in-design-studio/#step-by-step-guide-to-using-random-reply-in-action) <a href="#step-by-step-guide-to-using-random-reply-in-action" id="step-by-step-guide-to-using-random-reply-in-action"></a>

To use this action, you need to select it from the left side menu and insert it into the block where you want to use it.

<figure><img src="/files/MLysURcSHEidXhNXP6se" alt=""><figcaption></figcaption></figure>

\
I will insert it in the first block to send different welcome messages to users.

As you can see in the image below, by clicking on the block, a new right-side menu will appear that allows you to insert different messages. I will add these to the system:

* *Hi there, thanks for visiting our website. How may I help you?*
* *Welcome, what brings you here today?*
* *Greetings! How can I assist you today?*
* *Hi! What can I do for you today?*

<figure><img src="/files/4xsDFhGuhDk8xxcv9yOs" alt=""><figcaption></figcaption></figure>

That’s all! Let’s test the bot by initiating the conversation twice.

<figure><img src="/files/maoIQeJFSmPXrDoFyrZc" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/cbeeWZqt5KefMA4nIV3G" alt=""><figcaption></figcaption></figure>

As you can see, in each iteration, one welcome message has been sent to the user. Hope this helps!

To read more about AI agents, please visit [www.tiledesk.com](https://tiledesk.com/).&#x20;

To get started for free, [click here](https://panel.tiledesk.com/v3/dashboard/#/signup)

Also, if you have any questions, do not hesitate to contact us via <support@tiledesk.com>.


---

# 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://guide.tiledesk.com/ai-chatbots-and-automation/actions-explained/random-reply.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.
