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
| Person | Tasks |
|---|---|
| Process owner | Designs and publishes workflows |
| Officer | Approves or rejects runs that wait for a decision |
| Staff member | Starts runs and follows them |
Administrator (admin) | Deletes workflows and runs |
Step types
| Step | What it does |
|---|---|
| Model call | Sends a prompt to a model |
| API call | Calls an HTTP address |
| Service call | Calls another Anar product |
| Conditional | Takes one path or another based on a value |
| Loop | Repeats steps for each item in a list |
| Parallel | Runs steps at the same time |
| Transform | Changes the shape of data |
| Human approval | Stops the run until a person decides |
| Guard check | Checks content with Guard and can hide personal data |
| Agent | Runs 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
| Screen | Tasks |
|---|---|
| Dashboard | See runs, durations and pending approvals |
| Compose | Describe a process in plain language. Flow plans a workflow that you can edit. Suggested examples open a stored plan. |
| Builder | Add, connect and configure steps |
| Templates | Start a workflow from a template |
| Workflows | Open, publish, copy and archive workflows |
| Run history | Follow runs and decide approvals |
Decide an approval
- Open the run that waits for approval.
- Read the data and the proposed action.
- Approve, edit or reject it. Add a note to explain the decision. The run continues from where it stopped.