# Menu Block

{% embed url="<https://www.youtube.com/embed/XV3eopnYINM>" %}

The **Menu Block** allows you to present users with a question or statement and multiple options to choose from. Based on the selection, the workflow will route to a corresponding block path. It is ideal for guiding user interactions, creating decision points, and defining different workflow paths.

## **Configurations**

### **Prompt**

Enter the question or statement to display to the user. Use clear and concise language to ensure the user understands the options presented.

**Example**: “What would you like to do next?”

### **Options**

Define the selectable options for the user and map each option to a specific route in the workflow.

* Add options using the **+** button.
* Each option can trigger a unique path or action in the workflow.

**Example Options**:

1. “View Account Details” → Route to the account information workflow.
2. “Contact Support” → Route to a support request form.

***

## **How to Route Options**

1. **Add Options:** Use the **+** button at the bottom of the **Options** list to add new options. Each option represents a distinct choice the user can select.
2. **Click the Circle:** Click the circle next to the option you want to route. The circle will highlight, indicating that the option is active for routing.
3. **Click on the Target Block:** On the workflow canvas, click on the block you want the option to connect to.
4. **Confirm the Connection:** Once the route is connected, the circle next to the option will fill in completely.

***

## Best Practices

* **Keep Options Clear**: Use descriptive labels for each option to help users make informed choices.
* **Test Routes**: Verify that each option routes correctly to its intended workflow segment.

***

The **Menu Block** simplifies decision-making by providing clear options and directing users to the appropriate workflows, making it an essential component for interactive processes.


---

# 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://university.mindstudio.ai/docs/building-ai-agents/blocks-reference/menu-block.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.
