Skip to main content
A
Docs

Flow

Build and run multi-step workflows with AI steps, Guard checks, agent steps and human approval, and follow each run step by step.

What Flow does

Anar Flow runs workflows. A workflow is a set of steps with connections between them. Steps can call a model, call another system, check content with Guard, run an agent or wait for a person to approve. Each run keeps a record of each step and each decision.

Who uses it

PersonTasks
Process ownerDesigns and publishes workflows
OfficerApproves or rejects runs that wait for a decision
Staff memberStarts runs and follows them
Administrator (admin)Deletes workflows and runs

Step types

StepWhat it does
Model callSends a prompt to a model
API callCalls an HTTP address
Service callCalls another Anar product
ConditionalTakes one path or another based on a value
LoopRepeats steps for each item in a list
ParallelRuns steps at the same time
TransformChanges the shape of data
Human approvalStops the run until a person decides
Guard checkChecks content with Guard and can hide personal data
AgentRuns an agent

How to start a run

  • From the console.
  • From the API.
  • From another system. Publish the workflow with a webhook trigger. Then send a request to its webhook address.

Use the console

ScreenTasks
DashboardSee runs, durations and pending approvals
ComposeDescribe a process in plain language. Flow plans a workflow that you can edit. Suggested examples open a stored plan.
BuilderAdd, connect and configure steps
TemplatesStart a workflow from a template
WorkflowsOpen, publish, copy and archive workflows
Run historyFollow runs and decide approvals

Decide an approval

  1. Open the run that waits for approval.
  2. Read the data and the proposed action.
  3. Approve, edit or reject it. Add a note to explain the decision. The run continues from where it stopped.