# Random Text Action

This text action will pick a random line of text from a list. The line will be picked randomly every time the action is called.

![](/files/-LevlLHgLWKtsefe8ZnW)

### Settings

The action uses the following settings:

| Setting           | Description                                                                                            | [Parsed](/actions-and-operations/dynamic-parsing.md) |
| ----------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------- |
| Bot Messages List | The list of messages that the action may display. Each line of text is considered a different message. | :white\_check\_mark:                                 |

### Remarks

When used on the [Web Channel](/basic-concepts/publishing/channels/web.md), this action will automatically enrich http and https url found inside the text and transform them in clickable links.

Each line of text is a different message. If your messages need to contain line breaks, you can use \r or \n inside the text. These escape codes will be transformed into newlines.

### Trigger

This action has no triggers.

### Variables

This action does not produce any variable.

### Availability

Channel specific availability follows the table below:

| Channel          | Availability    |
| ---------------- | --------------- |
| Facebook         | Fully Available |
| WhatsApp         | Fully Available |
| Telegram         | Fully Available |
| Web              | Fully Available |
| Alexa            | Fully Available |
| Google Assistant | Fully Available |
| Slack            | Fully Available |
| API              | Fully Available |

This action can be used only inside interactions and not as child of other actions.


---

# 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://docs.mylinkconnect.com/actions-and-operations/content/xenioo.bots.actions.base.randomtextaction.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.
