GuidesWorkflowsCreate a Workflow

Workflows orchestrate processors, decisions, and notifications.

Studio builder

  1. Navigate to https://app.algorythmos.fr/workflows and click New Workflow.
  2. Add steps in the canvas: start with a File Upload trigger, then add processors such as document-router and invoice-extractor.
  3. Configure transitions based on classifier labels or confidence thresholds.
  4. Add Webhook or Email steps to notify downstream systems.

Testing

  • Use Preview Run with recent uploads to validate paths.
  • Inspect each node’s output in the sidebar before publishing.

Deploy via API

curl -X POST https://api.algorythmos.fr/workflows \
 -H "x-api-key: $ALG_KEY" \
 -H "Content-Type: application/json" \
 -d '{
  "name":"invoice-processing",
  "nodes":[
    {"id":"upload","type":"trigger"},
    {"id":"classify","type":"processor","processor_id":"document-router"},
    {"id":"extract","type":"processor","processor_id":"invoice-extractor","depends_on":["classify"]}
  ]
}'

Publish the workflow and connect it to the Uploads area or call POST /workflows/{workflow_id}/runs to process files programmatically.