Workflows in depth
What a step can read and do, how a workflow branches and loops, and the ways it can start.
Jump to illustrationSteps
- An arrow from a note, a web link or an ordinary card into a step gives that step something to read.
- Each step is a fresh AI that hears about earlier steps only through their short summaries, so a step's task names the notes it needs, with @ or an arrow.
- The first Type writes its answer at the cursor or replaces the selection, like a / command. Note starts from the chosen note and can change other allowed notes. Project works across the project, subject to shields.
- A step's card menu picks its AI and persona, and whether it can ask you questions or use the web. With no AI chosen, a step uses the Project editing AI in Settings > Chat, which is your Default AI unless you pick another there.
- A step that uses the web runs read-only with Codex, Claude Code, OpenCode or Copilot CLI and uses one model. A later step can save what it finds. The provider may send search words from the task and its sources to a web search service.
- Other models, in a step's card menu, gives the step an image, video or second text model to hand parts of its task to.
- Try a Count untagged notes step. Draw arrows to Add Tags and Log the result. Right-click each arrow and choose Edit Condition. Take the first arrow when there are untagged notes and the second when all notes are tagged. The AI follows matching conditions and any arrows with no condition.
- To check again after each batch, draw a return arrow from Add Tags to Count untagged notes. Set its condition to "There may be more untagged notes". The run pauses after five loops of a step and every 15 steps in all by default. Change the limits in Settings > Workflows.
- The On switch in the bar turns a workflow off, so nothing starts it until you turn it on again. The Workflows tab lists only the workflows switched On.
- Every workflow that is on also runs from Search Files and Commands (Cmd+P on a Mac, Ctrl+P elsewhere): type its name. Turn on In / list (off for a new workflow) to run it from a note with /w and its name too. A pinned workflow has a play button in Pinned.
- Click the workflow's name in the bar to set the name it shows, a short description, and a command of its own, such as vd for /w vd. The file keeps its name.
- Under Trigger, choose Note saved or New note in a folder for a Note or Project workflow, or Schedule for a Project workflow. These triggers only run while the project is open.
- A workflow running on a note locks that note until it ends, and the note's toolbar shows Cancel to stop it.
- When a step asks you a question, a notice shows it with Answer and Skip.
- A step can also find a note's links, backlinks and broken links, list the notes made or changed on a day, and show you a notice in the bell with an Open Note button.
- A step can make a note from one of your templates, and export a note as a PDF, Word or web page file into the Export folder you choose in Settings > Workflows, outside the project.
- Choose Retry Step on a failed run's notice or Run bar. For a stopped or interrupted run, open it from Logs or Past runs and choose Resume From Step on the Run bar.
- Review a workflow made or changed by AI and press Approve before running it. When a workflow version is waiting for approval to start automatically on this device, review it and press Approve to enable that trigger.
Illustration captions
- Edit Condition on an arrow
- Take the matching branch
- Loop back to count again
- Logs show the path taken
Related reading
Next tutorialTerminal AI →