---
title: "Flow blocks"
description: "Complete reference for all 11 Flow Builder blocks across Messages & AI, Media, and Logic."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.aminos.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Flow blocks

Every block in the Flow Builder palette has a **Block Name** (its internal field name). For blocks that collect answers (**Question**, **Email**, **Multi Choice**, **AI Assistant**), that Block Name becomes both:
- The column name in **Responses**, CSV/Excel exports, and lead integrations.
- The placeholder name you can reuse later in the conversation as `{{block_name}}`.

All text blocks support a rich-text editor with **bold**, *italic*, clickable links, RTL direction, and `{{placeholder}}` insertion. Blocks that send messages also have a **Message Delay (seconds)** setting (minimum 1 second; default 1.5 seconds) so replies feel naturally paced.

## Messages & AI

### Message

Sends a message to the visitor and immediately moves to the next connected block without waiting for a reply.

- **Block Name**: optional label (useful if you want a **Loop** block to jump back here).
- **Message Text**: rich text with optional `{{field}}` or `{{visitor_variable}}` placeholders.
- **Message Delay (seconds)**: pause before displaying the message.

### Question

Asks an open-ended question, waits for the visitor's reply, saves the answer under **Block Name**, and moves on.

- **Block Name**: required if you want the answer saved and reusable as `{{block_name}}`. If the Block Name contains the word `email`, Aminos automatically applies email validation.
- **Question Text**: rich text prompt.
- **Only allow numbers**: rejects non-numeric replies using the **Number validation** message configured in **Settings → Internationalisation**.
- **Smart answer validation**: checks that the visitor actually answered the question instead of typing gibberish or going off-topic (name fields are validated automatically without AI; other fields use AI to validate and clean the value). Set a custom **Retry message** (up to 500 characters; default `"Please answer the question so we can continue."`).

### Email

A dedicated question block for capturing email addresses.

- **Block Name**: locked read-only to `email`.
- **Question Text**: rich text prompt.
- **Validation**: automatically validates the email address using your **Email validation** message from **Settings → Internationalisation**.
- **Automatic lead delivery**: if your flow has no later **Save Data** or **AI Assistant** block, answering an **Email** block automatically delivers the lead to your enabled integrations.

### Multi Choice

Displays clickable buttons for the visitor to choose from and waits for their selection. Works in two modes:

- **Branching mode (`Use option blocks for branching` ON):** Connect one or more **Option** blocks directly underneath. Each Option becomes a button and starts its own branch. Turning this on happens automatically as soon as you connect an Option block.
- **Survey mode (`Use option blocks for branching` OFF):** Type your choices directly into the inline **Survey Answers** list. Optionally toggle **Allow multiple selections** so visitors can pick several choices (saved as a comma-separated list) before continuing down a single path.

### Option

Represents one clickable branch under a branching **Multi Choice** block.

- Must be connected as a direct child of a **Multi Choice** block.
- **Option Text**: the label shown on the button.
- Buttons are ordered on screen by the Option blocks' vertical then horizontal canvas position (top-to-bottom, left-to-right).

### AI Assistant

Hands the conversation to an AI assistant inside your scripted flow.

- **Block Name**: column name where the AI conversation transcript is stored in **Responses**.
- **AI Knowledge Studio mode**:
- **Use Global AI Knowledge Studio Settings**: uses the instructions, Direct Prompt, or Knowledge Base configured on this bot's **AI Knowledge Studio** page.
- **Custom Prompt**: enter a prompt specific to this flow block (up to 250,000 characters).
- **Send AI chatlog to enabled integrations after (minutes)**: delay (minimum 1 minute, default `10`) after the visitor's last message before sending the lead and transcript to your integrations. *(Ignored if **AI Lead Extraction** is turned on in AI Knowledge Studio, which manages extraction on its own timeout.)*
- **Max AI replies before continuing flow**: optional number of AI replies after which the flow automatically exits the AI block and moves to the connected child block.
- **Exit keywords/phrases**: one phrase per line (case-insensitive substring match). When a visitor sends a message containing any keyword, the AI block ends immediately and continues to the next block.
- **AI Actions**: choose **All actions**, **Only selected** (pick from the bot's configured AI Actions), or **None**.

## Media

### Image

Displays an image or animated GIF inside the chat and continues to the next block without waiting.

- Upload an image directly (up to **3 MB**) **or** paste a direct **Image URL**.
- Shows a thumbnail preview with a remove button in the right panel.

### Video

Embeds a video player inside the chat and continues to the next block without waiting.

- **Video URL**: supports **YouTube** links, **Vimeo** links, and direct `.mp4`, `.webm`, `.ogg`, or `.mov` URLs.
- **Autoplay video (with sound)**: optional toggle to start playback automatically when the message appears (browser autoplay rules may still mute or pause playback until the visitor interacts).

## Logic

### Loop

Jumps the conversation back to an earlier block in the flow and replays from that point.

- **Loop to Block**: choose any other block on the canvas that has a **Block Name** set.
- Useful for returning a visitor to a main menu **Multi Choice** block after answering an FAQ branch.

### Redirect

Sends the visitor's browser to another webpage and ends the flow.

- **Redirect URL**: full URL to navigate to (for example your booking calendar or checkout page).

### Save Data

A silent logic block that sends no message to the visitor. The moment the flow passes through **Save Data**, Aminos saves the lead and immediately dispatches it to every enabled integration (Email, Zapier, Make, Google Sheets, Mailchimp).

:::tip
Always place a **Save Data** block right after collecting your key lead fields (for example right before a final thank-you message or a **Redirect** block) so you control the exact moment notifications and webhooks fire.
:::

Source: https://docs.aminos.ai/flow-builder/blocks/index.mdx
