Skip to main content
Every example is one workflow, end to end. It shows the graph as JSON and as SDK code, how to upload a document and read the run, a trimmed real response, and the tips that matter for that document type. Pick the one whose shape matches your problem; the nodes it uses are named on every card.

Read only

One Parse node. The document comes back as markdown and layout blocks, and nothing is extracted.

Parse-only workflow

Parse a document on the Flash, Fast, Standard or Agentic tier and compare what each returns. Nodes: Parse.

Agentic parse to markdown

Dense tables on the Agentic tier, with the effort presets and per-block confidence. Nodes: Parse (agentic).

Read, then pull out

Parse feeds Extract. You define the fields; every value comes back with a confidence and the evidence it came from.

Invoice processing

The header and the line items of an invoice. Nodes: Parse, Extract.

Resume parsing

Contact details, skills, education and work history from PDF and DOCX resumes. Nodes: Parse, Extract.

Receipt scanning

Merchant, totals and payment method from receipt photos and scans. Nodes: Parse, Extract.

Email lead extraction

Sender, inquiry type, urgency and topics from an email body sent as text. Nodes: Parse, Extract.

Bank statement processing

Statement header plus every transaction as a row, across many statements. Nodes: Parse, Extract.

Sort first, then pull out

Classify labels the document and routes it to the Extract node for that category, so one workflow handles mixed input. Split does the same for one file that holds several documents.

Sort invoices from receipts

Parse, Classify, Extract. One inbox, two document kinds, each with its own fields.

Extract, then check

Validate runs your rules over the extracted values and records a verdict per rule; If/Else routes on the result.

Contract analysis

Key terms and clauses from a contract, then checked with validation rules. Nodes: Parse, Extract, Validate.

Operate at scale

Scripts around the API rather than new graphs: batch the runs of a workflow, or measure it.

Daily CSV export

Pull one local day of runs in parallel and flatten them into a CSV. Nodes: any workflow ending in Extract.

Evaluating a workflow

Upload ground truth, launch an eval, and read the accuracy headline in CI. Nodes: any workflow ending in Extract.

Before you start