Guides
Workflows
Automate document processing pipelines with the visual workflow builder.
Workflows
Workflows let you chain document processing steps into automated pipelines. Define what happens when a document arrives — classify it, extract data, run validations, send for approval, and export results.
Creating a workflow
Use the visual builder in the DokuBrain dashboard, or create workflows via the API:
Step types
| Step | Description |
|---|---|
classify | Verify document type matches expected type |
extract | Extract structured fields using a template |
validate | Run validation rules on extracted data |
summarize | Generate an AI summary |
compare | Compare with a reference document |
approve | Send for human review/approval |
export | Export data to external systems |
webhook | Send results to a webhook URL |
conditional | Branch based on extracted values |
Running a workflow
Trigger a workflow run by uploading a document:
Monitoring runs
Check the status of a workflow run:
Visual workflow builder
The DokuBrain dashboard includes a drag-and-drop workflow builder. Go to Workflows → New Workflow to create workflows visually.
The builder supports:
- Drag-and-drop step ordering
- Conditional branching
- Parallel execution paths
- Step configuration panels
- Real-time run preview