# Build with AI (/docs/workflows/build-with-ai)

> Describe a process in plain words and let the AI propose or edit the workflow draft, then review the changes before you test and publish.

Type: how-to | Status: beta | Last reviewed: 2026-11-21 | Minimum role: builder

Open a workflow and select **Build with AI** in the toolbar. The panel says "I'll edit this draft. You still click Publish."

## How do I build a workflow by describing it? [#how-do-i-build-a-workflow-by-describing-it]

Open a workflow and select Build with AI in the toolbar. Describe the process: what triggers it, what to collect and check, and what should happen. The AI edits the draft, and a changes strip shows each change to accept. You still test and publish yourself. Workflows are in beta.

## How to use it [#how-to-use-it]

1. Describe the process: what triggers it, what to collect, what must be checked, what should happen. For example: *"When a verified customer asks to cancel an order, collect the order id, look it up, confirm with them, then cancel it. If it is not found, escalate."*
2. Review the changes the AI makes to the canvas. A **changes strip** shows what changed so you can accept or undo it.
3. Edit anything by hand in the inspector.
4. Run **Test**, then **Publish**.

The AI can also run a test of the draft for you ("Started by the AI builder — same draft, same rules"). That run opens in the Test run panel.

You can **Start a new build session** to begin again, or cancel the current session ("Cancel this build session?" or "Keep building").

## What the AI can use [#what-the-ai-can-use]

It can look at your integration capabilities and your Records tables to choose real steps and fill their fields. Check that every capability it picked is approved and enabled before you publish.

## Prompting tips [#prompting-tips]

- Name the checks that must never be skipped ("always verify identity first").
- Say which integration or table to use.
- Describe what to do when something is missing or fails.
- Ask for one change at a time when refining.
- Read every Reply and Confirm message it writes.

## Limits [#limits]

- The AI edits the **draft** only. It never publishes, and it cannot approve integration capabilities. Approve those yourself in [Integrations](/docs/integrations).
- A workflow built or edited with the AI can have at most 60 steps and 120 connections.
- One build session allows up to 40 changes (a batch of up to 25 counts as one) and up to 8 test runs. Start a new session if you hit a limit.
- Using it consumes AI usage like any other model call; see [Usage and budgets](/docs/security/usage-and-budgets).
