Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Documents, PDF & OCR

Documents, PDF & OCR

Extract and triage PDF documents with Claude, Gmail, Airtable and Slack

When a form is submitted, it reads and extracts data from documents with Claude using Airtable, Gmail, Slack.

What it does

## AI Document Processing Agent Who it's for: Anyone who wants invoices, resumes, contracts, or applications automatically read, validated, and filed without manual data entry. What it does: Accepts a document by form upload or email attachment, uses AI to detect the type and extract structured fields, flags anything uncertain for human review, and files everything into the right Airtable table. How it works 1. Upload a PDF via the form, or send it as a Gmail attachment 2. Extracts the PDF text and normalizes it (source, submitter, raw text) 3. Claude detects the document type and extracts the relevant fields 4. Low-confidence or incomplete results go to Slack + an Airtable review queue 5. Everything else is filed into its matching Airtable table (Invoice/Resume/Contract/Application) 6. A Slack notification confirms successful processing How to set up ☐ Connect Gmail (for the email intake path) ☐ Add an Anthropic API credential (generic header auth) ☐ Connect Airtable and create 5 tables: Invoices, Resumes, Contracts, Applications, Needs Review ☐ Connect Slack and set your review + general channel IDs CUSTOMIZATION - Add more document types to the AI prompt and the Switch node - Adjust the confidence threshold for manual review (default: 0.6) - Add a Loop node if emails may contain multiple attachments

The steps

  1. Upload Document
  2. Extract PDF Text (Form)
  3. Normalize Form Input
  4. Email Attachment Trigger
  5. Get Attachment
  6. Extract PDF Text (Email)
  7. Normalize Email Input
  8. Merge Sources
  9. AI Extract & Validate
  10. Parse AI Response
  11. Needs Review?
  12. Notify for Review
  13. Log to Needs Review
  14. Route by Document Type

20 steps in total.

Similar automations