# Run prompt

Large language models (LLMs) are a powerful tool that can be used in many different ways. With the **Run prompt** node, you can run a simple LLM prompt right in your Flow.

The [LLM Flows skill](/store/skills/llm-flows.md) adds this Flow node to your Flow designer.

## How to use?

The **Run prompt** node can be used anywhere in your Flow. It sends a prompt to the LLM, and receives a response. That response is then stored in a variable, which can in turn be used in subsequent parts of your Flow.

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

In the above Flow, the user is asked to name a colour. The prompt sent to the LLM asks it to create a rhyme about that colour. The response containing the rhyme is stored in the `llm_colour_response` variable, which is used in the next **Say** node to repeat it to the user:

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

## Node properties

| Property           | Description                                                                 | Explanation                                                                                                                                  |
| ------------------ | --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Prompt             | The prompt, in text, that the LLM should run                                | Can contain [variables](/studio/flows/variables.md)                                                                                          |
| Assign to          | The variable that the LLM's response should be stored in                    |                                                                                                                                              |
| Include transcript | The request to the LLM will contain a transcript of the conversation so far | This can be helpful when asking the LLM to say something about the conversation, e.g. to create a summary or filter out specific information |

## Resources

* [LLM Flows](/store/skills/llm-flows.md)
* [Variables](/studio/flows/variables.md)


---

# 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://manuals.dialox.ai/studio/flows/nodes/run-prompt.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.
