Before you start
- UI
- curl
- TypeScript
- Python
Create an account at app.anyformat.ai. That’s it.
1. Create a workflow
A workflow defines what data to extract. We’ll build a simple invoice processor with three fields:invoice_number, total_amount, issue_date.
- UI
- curl
- TypeScript
- Python
- From the home screen, describe what you want to extract in the Create with annie chat (e.g. “Invoice processing: extract invoice number, total, and issue date”).
- Drag in a sample invoice PDF (optional but recommended — annie uses it to pick better fields).
- Send your message.
2. Run the workflow on a document
- UI
- curl
- TypeScript
- Python
From the workflow, drag in (or upload via the Add document button) the invoice you want to process. Processing starts automatically and usually completes in 10–60 seconds depending on the document.You can also open a single document (click its filename) and run it from the Process document button on the right.
3. Get the extracted data
- UI
- curl
- TypeScript
- Python
Results appear in the workflow as soon as processing finishes — no refresh needed.
- Table view shows all your documents at once. The first tab lists your documents (one row each); extra tabs show the output of each step in your workflow.
- Document view (click a filename) shows one document on its own, with each extracted value highlighted on the page it came from — click a field to see where it came from.
parse and extractions here; classifications and splits are empty because this workflow has neither):
Complete script
The three steps above are narrative slices of the same script. Here they are end-to-end as a single pasteable block.- TypeScript
- Python
Where to go next
Build workflows
Deeper walkthrough of building and refining a workflow with annie and Studio
Recipes
End-to-end examples — invoices, resumes, contracts, receipts, and more
Coding assistant
Let Claude Code build and run anyformat workflows from your editor
API reference
Every endpoint, every response, every error code
