Formstep

Read an invoice PDF with AI in Zapier, then have the sender confirm it

A supplier emails an invoice. AI by Zapier reads the PDF, Formstep sends the supplier a form with every value filled in and their invoice above it, and they fix whatever the AI got wrong before it reaches your books.

Published · Updated

An AI step can read a PDF in seconds and prefill a Formstep form with what it found. Now and then it swaps two digits of a total and looks just as sure: in our n8n test run, it read 27 325 as 27 235.

So the Zap asks the one person who knows the invoice: the sender. Formstep sends them a request, a form on a private link with what the AI read already filled in, and they confirm or fix each value.

In short: An AI step reads the emailed PDF, the sender gets a form with every value filled in and their PDF above it, and a second Zap books what they confirmed. See the Zaps.

What you need

  • A Zapier account with the Formstep app, Gmail, Xero and Slack connected, on a plan with Paths.
  • The Confirm Invoice Details template, published in your Formstep workspace.
  • A Gmail label, such as invoices, that your invoice emails land in.

Beyond invoices

Purchase orders, claims and contracts work the same way, each with its own form. To do it from a chat instead, Formstep’s MCP server lets an AI agent such as Claude send the same request.

How the Zap works, step by step

1. Catch the PDF

Gmail New Attachment starts the Zap when an invoice arrives. Google Drive New File in Folder works too.

2. Have AI read it

An AI by Zapier step reads the PDF and returns one output field per form question: supplier, invoice number, dates and total.

3. Send the sender a prefilled form

Formstep Create Request fills in the supplier, invoice number and dates on Confirm Invoice Details, and shows their PDF at the top.

4. Keep what the AI read

The same values go in Metadata, which the sender never sees, so the second Zap can spot what they changed.

5. The sender confirms or corrects

They check each value against their invoice, fix what is wrong, and switch on confirmed.

6. Book it in a second Zap

Request Completed starts it. Invoices nobody corrected become a bill in Xero; corrected ones go to finance in Slack first.

Build the Zap in Zapier

Add the steps in this order. In Create Request, pick your form first: each of its questions then shows up as a field of its own, under the question's title, and whatever you map into it is filled in for the recipient.

Zap 1: PDF in, request out

The Zap in the Zapier editor: 1. Gmail, New Attachment; 2. AI by Zapier, Extract invoice details; 3. Formstep, Create Request
The Zap in the Zapier editor. A ! marks a step that still needs setting up. Select it to see it full size.
  1. Gmail › New Attachment
    • Which emails: a label such as invoices, so only invoices start the Zap
  2. AI by Zapier › a prompt with output fields
    • Prompt: read the attachment from step 1 and return the supplier, invoice number, dates as YYYY-MM-DD and the total as a number
    • Output Fields: Supplier Name, Invoice Number, Invoice Date, Due Date, Total Amount
  3. Formstep › Create Request
    • Form: Confirm Invoice Details
    • Recipient Email: From Email, from step 1
    • Supplier, Invoice Number, Invoice Date, Due Date: the step 2 output of the same name
    • Documents: the attachment from step 1
    • Metadata: each step 2 output, under keys such as ai_total_amount
    • Delivery: Email: Formstep sends the invitation, or None plus a Gmail step that sends the Request URL
    • External ID: invoice- and the invoice number
    • Test Request: True until you publish

Zap 2: confirmed invoice to your books

The Zap in the Zapier editor: 1. Formstep, Request Completed; 2. Filter by Zapier; 3. Paths, split into Nothing corrected, ending in Xero Create Bill, and Something corrected, ending in Slack Send Channel Message
The Zap in the Zapier editor. A ! marks a step that still needs setting up. Select it to see it full size.
  1. Formstep › Request Completed
    • Form: Confirm Invoice Details
  2. Filter by Zapier › Only continue if
    • Rule: confirmed is true
  3. Paths by Zapier › Split into paths
    • Nothing corrected: every answer matches its ai_ value in Metadata
    • Something corrected: any answer differs
  4. Xero › Create Bill, in Nothing corrected
    • Contact, reference, dates and total: the confirmed answers from step 1
  5. Slack › Send Channel Message, in Something corrected
    • Message Text: the supplier, the invoice number and what the sender changed

Find Formstep in Zapier's app directory. The Zapier guide covers connecting it and testing without emailing anyone.

Why use Formstep for this step

  • The person who wrote it checks it. The supplier knows their own invoice number and total, and spots a wrong digit in seconds.
  • The document sits beside the fields. The PDF shows inside the form, so nobody digs for the email they sent.
  • You learn where the AI is weak. Zap 2 can log which fields senders correct, so you know what to fix in the prompt.

More workflow templates

Questions about this workflow

Something else on your mind? The docs cover every setting, and we answer email.

Read the docs

Only if the step reading it handles images: a scan carries no text. Use an AI step that accepts images or files, or an OCR app, and test it on a real scan.

This Zap uses AI by Zapier with output fields. OpenAI or Anthropic (Claude) steps work too if they return separate, named fields. Some take a file and some only text, so test with three real documents.

Yes. Claude, ChatGPT or any client connected to Formstep’s MCP server can read a PDF and send the same request. The Zap suits documents that arrive all day.

Formstep for Zapier lists text and date questions as prefill fields, and the total is a number question. So the sender types the total from their invoice, and the AI’s total still goes into Metadata for the comparison. The n8n version prefills it.

Their invoice at the top, then the supplier, invoice number and dates filled in, the total to type, a switch to confirm and a box for notes. They need no account.

Requests, prefill and documents work on every Formstep plan; Formstep emailing the invitation and reminders needs Pro or Business. Multi-step Zaps, Filters and Paths need a paid Zapier plan, and Xero is a Premium app in Zapier.

Collect information from anyone.

Publish a sample form, answer it as your recipient would, and watch the answers come back. No account needed.

Read the docs