Skip to content
PDFBetter

Workflows

Available

Automate PDF processing with saved workflows

The short answer

To automate PDF processing in PDFBetter, save a workflow: a repeatable sequence of steps such as recognize text (OCR), extract invoice fields, stop for a person to check them, then export a CSV. Set it to start whenever a document is moved into a chosen folder, or run it by hand or from an AI agent. It runs one step at a time with its progress saved, retries steps that fail for temporary reasons, and waits at review steps until someone approves. It is not an autonomous agent: it only does the steps you chose, in the order you chose.

WatchPDF Workflow Automation: Process Invoices With Saved Workflows
Transcript

The story

Four fifteen on a Friday. Rajesh handles payables for a food distributor, and the week's supplier invoices are still in his inbox.

Some are clean PDFs, some are scans from the loading dock. Every invoice number, date and total gets typed into the payables sheet by hand.

His controller wants the batch before the weekend, and a single typo means a supplier gets paid the wrong amount.

Here's how he saved a workflow in PDFBetter that does the same steps on every invoice, and stops for him to check before anything is exported.

The short answer

To automate PDF processing in PDFBetter, save a workflow: a repeatable sequence of steps such as recognize text (OCR), extract invoice fields, stop for a person to check them, then export a CSV. Set it to start whenever a document is moved into a chosen folder, or run it by hand or from an AI agent. It runs one step at a time with its progress saved, retries steps that fail for temporary reasons, and waits at review steps until someone approves. It is not an autonomous agent: it only does the steps you chose, in the order you chose.

Step by step

Step 1. Start from a recipe. Pick a preset — “Invoices: OCR → extract → review → export CSV”, “Contracts: summarize → add to workspace” or “Sensitive docs: suggest redactions → review” — or start empty, then add, remove and reorder steps.

Step 2. Choose what starts it. Run it by hand on a document, from a connected agent, or automatically on each document you move into a chosen folder.

Step 3. Approve at review steps. The run pauses at a review step. Open it to see the extracted values with the page they came from, correct them, and approve or reject.

Step 4. Collect the result. Download the export from the run, or have it delivered to your webhook endpoint (Business).

Questions people ask

Does a workflow run on its own on every upload? Only if you set its trigger to a folder: each document you move into that folder starts one run. Otherwise you start runs by hand on a document, or an agent starts them through the MCP connection.

Can I automate invoice processing with it? Yes. The Invoices preset runs OCR, extracts the fields of an extraction schema you choose (such as invoice number, dates, total and line items), stops for a person to check the values against their page quotes, and exports a CSV.

Can an AI agent approve the review step for me? Only when you turn on agent approval for that specific review step. Otherwise an agent gets an error telling it a person must approve in the dashboard.

How it ended

Rajesh sent the CSV at four fifty. Next week, invoices start the workflow the moment they land in the folder.

He still checks every value. He just doesn't type them anymore.

Get PDFBetter

You can set this up at pdfbetter.com. PDFBetter is also a Chrome extension, an iPhone app, an Android app, and desktop apps for Mac and Windows. The links are in the description.

Invoices: OCR → extract → review → export CSV

  1. 1Succeeded

    Recognize text (OCR)

  2. 2Succeeded

    Extract data

  3. 3Awaiting approval

    Review

    Waits for a person — or an agent, only if you allowed it on this step.

  4. 4Pending

    Export

  • Other recipes
  • Summarize → Add to workspace
  • Suggest redactions → Review
Illustration of a run paused at its review step. Step names and states are the product's own.

What a workflow does

You pick steps from a fixed list: recognize text (OCR), extract data with one of your extraction schemas, review, export the extracted data as JSON, CSV or Excel, summarize with page citations, suggest redactions, add the document to a workspace, or send a webhook.

Each run saves the state of every step (status, attempts, the ids of what it produced), so a run survives time limits and restarts, and the run history shows exactly where it is and why it stopped.

Steps that read text — extraction, summaries and redaction suggestions — work on the document's text layer. Put OCR first for scans.

  1. Start from a recipe

    Pick a preset — “Invoices: OCR → extract → review → export CSV”, “Contracts: summarize → add to workspace” or “Sensitive docs: suggest redactions → review” — or start empty, then add, remove and reorder steps.

  2. Choose what starts it

    Run it by hand on a document, from a connected agent, or automatically on each document you move into a chosen folder.

  3. Approve at review steps

    The run pauses at a review step. Open it to see the extracted values with the page they came from, correct them, and approve or reject.

  4. Collect the result

    Download the export from the run, or have it delivered to your webhook endpoint (Business).

The Workflows page with three recipes — Invoices: OCR, extract, review, export CSV; Contracts: summarize, add to workspace; Sensitive docs: suggest redactions, review — and an empty list of runs
  1. Start from a recipe, then add, remove and reorder steps
  2. Each run's progress shows here, step by step

The Workflows page with its three recipes. Sample content; names are fictional.

Review gates and agents

Review gates and agents

Review steps wait until a person decides. By default only a person can approve, in the dashboard. You can allow agent approval on a specific review step; then an agent connection key with workflow write access may approve that step and no other.

Rejecting at a review step stops the run; nothing after it runs. Extracted values are saved with your corrections, so exports use what the reviewer approved.

Sample extracted values with the page and quote each came from
FieldValue · quotePage
supplierHarbor & Pine Studio“Harbor & Pine Studio”p. 1
invoice_number2026-014“Invoice no. 2026-014”p. 1
invoice_date2026-10-03“Invoice date 10/03/2026”p. 1
due_date2026-11-02“Due 11/02/2026”p. 1
total4028.00“Balance due $4,028.00”p. 2

ExportJSONCSVXLSX

Illustration with a sample invoice (fictional companies). Each value keeps the page and the quote it came from, so a reviewer can check it.

Retries and failures

Retries and failures

Temporary failures — a busy AI provider, a timeout, a processing hiccup — are retried up to three times with growing pauses (about 30 seconds, then 2 minutes). Problems a retry can't fix, such as an exhausted monthly allowance, a missing document or invalid settings, stop the run right away with the reason.

A failed run can be retried from the step that failed, so steps that already finished aren't repeated.

What it costs

What it costs

A workflow itself has no per-run fee. Each step uses the same allowance as doing it by hand: OCR uses OCR pages, extraction, summaries and redaction suggestions use AI credits, and agent tool calls count as agent calls.

Saved workflows per account: 1 on Free, 20 on Pro, unlimited on Business.

Plans

What each plan includes

Plan limits for Workflow recipes
 FreeStarterProBusinessEnterprise
OCR pages per month202001,0005,00020,000
AI credits per month202050010,00030,000
Agent & automation runs per month2001,0005,000UnlimitedUnlimited

Each AI action has a starting price in credits; long documents and multi-step requests use more. The full list is on the pricing page. Compare all plans

Workflow recipes: questions people ask

Does a workflow run on its own on every upload?

Only if you set its trigger to a folder: each document you move into that folder starts one run. Otherwise you start runs by hand on a document, or an agent starts them through the MCP connection.

Can I automate invoice processing with it?

Yes. The Invoices preset runs OCR, extracts the fields of an extraction schema you choose (such as invoice number, dates, total and line items), stops for a person to check the values against their page quotes, and exports a CSV. Moving each invoice into the workflow's folder starts it.

Can an AI agent approve the review step for me?

Only when you turn on agent approval for that specific review step. Otherwise an agent gets an error telling it a person must approve in the dashboard.

What happens if I run out of AI credits or OCR pages in the middle of a run?

The step stops with the allowance message and the run is marked failed; it isn't retried automatically. After topping up or upgrading, use Retry on the run to continue from that step.

Are my extracted values or document text stored in the run history?

No. Run history keeps ids and counts — which extraction, which revision, how many fields were found — and at most a short excerpt of a summary. The values themselves stay in the extraction record you can open and export.

Can I change a workflow while it's running?

Yes. Runs keep a copy of the steps they started with, so the change applies to the next run.

How do I get the exported file into another system?

Download it from the run, or choose webhook delivery on the export step: a signed webhook event carries a link to the file that works for 24 hours. Webhooks are part of the Business plan.