What a workflow is made of
A workflow is a sequence of steps. Each step does one thing: fetching data, processing a document, calling a service, waiting for your input, or producing an output. Steps run in order. The output of one step feeds automatically into the next — Felix handles the data flow based on your descriptions. Example: Contract review workflow| Step | What it does |
|---|---|
| Step 1 | Fetch new contracts uploaded to @GoogleDrive in the last 24 hours |
| Step 2 | Extract parties, start date, end date, and termination clause from each contract |
| Step 3 | Write results to @GoogleSheets with one row per contract |
| Step 4 | [Human Checkpoint] Review the sheet before sending |
| Step 5 | Send a summary to @Slack in #legal-ops |
How Felix builds a workflow
You describe the process in plain language in the Chat. Felix asks follow-up questions to fill in any gaps, then generates each step as a code block. You don’t write or edit code directly. Once built, a workflow runs deterministically — the same input always produces the same output. Felix applies AI reasoning only at the steps that require it. The rest runs as structured code.Workflow anatomy
- Steps — The individual units of work. See Steps.
- Descriptions — The plain-language instructions that define what each step does. See Descriptions.
- Code — The underlying code Felix generates for each step. See Code.
- Outputs — What the workflow produces at each step and at the end of a run. See Outputs.
- Human Checkpoints — Pauses for human review or input. See Human Checkpoints.
Running a workflow
Workflows can be run in three ways:- Manually — trigger a run from the workflow at any time
- On a schedule — run automatically at a set time or interval
- As a batch — process multiple items in one run
Tips
- One step, one action. Steps that try to do too much are harder to debug and harder to change. Keep each step focused.
- Name outputs clearly. When Felix asks what to call an output, use something descriptive — “contract end date” not just “date”.
- Add Human Checkpoints early. It’s easier to remove a checkpoint once you trust a workflow than to add one after something goes wrong.
Steps
How steps work
Human Checkpoints
Add review gates
Running
Run manually, on a schedule, or as a batch

