In this section, we’ll explore how to create dynamic prompts and use various block types in Odella.
Getting Started
- In the sidebar, locate the “Flows” tab.
- Find the folder named “2. Dynamic Prompting”.
- Open the “Dynamic Prompting” flow.

Running the Flow
- Click the “Run” button to start the flow.
- You’ll see two Chat Blocks running at the same time.
- A user input prompt will appear, asking you to choose a contract type.
- Enter one of the listed contract types and submit.
- The final Chat Block will generate a template for your chosen contract type.
Understanding the Flow
Let’s break down this flow into simpler parts:1. Setup

- A Text Block for the system prompt
- Two Prompt Blocks to guide the AI’s responses
2. Combining Outputs
After the initial chats, we use a Text Block to combine their outputs into one message.3. User Input

4. Final Response

Key Concept: Dynamic Prompting
Dynamic prompting allows us to create flexible, context-aware interactions. In this flow, we use it to:- Combine AI-generated introductions and contract lists
- Create a personalized user input prompt
- Generate a specific contract template based on user input

