> ## Documentation Index
> Fetch the complete documentation index at: https://help.bonmoniq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Call flows

> Build an advanced call flow with business hours, a voice menu, voicemail and an AI agent.

> [!NOTE]
>
> Owners and admins only.

<video controls src="https://mintcdn.com/bonmoniq/2qYaJq8tJRRr1sqW/videos/en/call-flow.mp4?fit=max&auto=format&n=2qYaJq8tJRRr1sqW&q=85&s=e041b164b4c128c68a1bf91e6d28e6e0" />

A call flow is a diagram of what happens to each call on a number. Use it when simple routing is not enough, for example to answer differently outside business hours.

## Open the editor

Open the number in **Settings > Phone numbers**, go to **Call routing**, choose **Advanced** and select **Open the call flow editor**.

![Call flow editor with business hours, ring and voicemail blocks](https://mintcdn.com/bonmoniq/2qYaJq8tJRRr1sqW/images/en/calls/call-flow-editor.webp?fit=max\&auto=format\&n=2qYaJq8tJRRr1sqW\&q=85\&s=2660dd0d07aa14e53b32dfca17e9e403)

## Blocks

Every flow starts with **Incoming call**. Add blocks after it and connect them.

| Block | What it does |
| - | - |
| **Business hours** | Splits the flow by **Open** and **Closed** hours. |
| **Ring** | Rings teammates: all at once, one by one, one person, or in a loop. |
| **Forward call** | Sends the call to a phone number in the same country. |
| **IVR menu** | Plays a menu and branches on the key the caller presses. |
| **Voicemail** | Plays a greeting and records a message. |
| **Play audio** | Plays an announcement, then continues. |
| **Anti-spam** | Plays a message and asks the caller to press 1 to continue, which stops most automated calls. |
| **AI agent** | Hands the call to one of your AI agents. See [AI agents](https://help.bonmoniq.com/ai/ai-agents.md). |

## Test and publish

Your changes are saved as a draft and are not live until you publish them.

* If the editor finds problems, it lists them. Select **Fix** on one, or **Smart fix** to fix them together.
* **Test call** lets you call the draft before it goes live.
* **Publish** makes the flow live on the number.

Use **Undo** and **Redo** while you edit.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.