Block Types & Use Cases

Agent workflows are built using modular blocks, each performing a specific function — from document ingestion to routing results or involving human review.

Below is a detailed overview of each block type and its use cases.


1. Trigger Blocks

BlockPurposeExample Use Case
UploadRun the workflow when files arrive.Users manually upload PDFs or images for and process it as case or files.
ScheduleRun the workflow repeatedly at times you seRun a workflow everyday at 9:00 AM.
Case EventRun the workflow when a case moves to a stage you choose.Send the case data to external system when case stage is changed.
ManualA person chooses to run it.Workflow

2. Transform Blocks

Extraction Blocks

BlockPurposeExample Use Case
Data ExtractionExtract structured data from a document using a trained model.Parse invoice totals, vendor names, and dates from scanned PDFs.

Pre-Processing Blocks

BlockPurposeExample Use Case
Merge JSONMerge multiple JSON outputs into one structured payload.Combine outputs from multiple model runs into a single data object.
Python Code (Pre-processing)Run a small code snippet or AI-generated logic on input data before extraction.Clean up raw text fields, normalize formats, or prepare data for extraction.

Classification Blocks

BlockPurposeExample Use Case
Document Type ClassifierAutomatically detect the type of document (e.g., invoice, receipt, ID).Route each document to the correct extraction model based on type.

Post-Processing Blocks

BlockPurposeExample Use Case
Python Code (Post-processing)Apply transformations or calculations to extracted data.Compute tax values, reformat dates, or combine extracted fields.
Categorize with AIAutomatically group or label data into predefined categories.Categorize transactions by expense type or client account.

Human in the Loop

BlockPurposeExample Use Case
Human in the LoopPause the flow for manual review or decision-making.Ask a human to verify a low-confidence extraction result before continuing.

Conditional Blocks

BlockPurposeExample Use Case
RouterAdd conditional logic (IF/ELSE) based on extracted data values.If total amount > $10,000 → send for review, else → auto-approve.

Did this page help you?