Automate vehicle insurance claim approvals with OpenAI, OCR and PDF API Hub
UnknownWhat this workflow does
This AI workflow has 25 nodes and runs on Gmail events. Along the way it connects Gmail, Google Sheets, Google Drive and OpenAI Chat Model and 1 more.
How it runs
Trigger: On Gmail events.
- Workflow Config (Edit Fields (Set)): sets or maps fields
- Check Duplicate in Sheet (Google Sheets): uses Google Sheets
- Already Processed? (If): checks a condition and branches into true / false
- Notify - Already Processed (Gmail): uses Gmail
- Extract Claim Data (Pdf Split Merge): work with pdf parsing
- AI Mode Router (Switch): routes items into 1 branches
- AI Claim Evaluator (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI GPT-4o-mini
- Mock AI Evaluator (Code): runs custom JavaScript code
- Parse AI Decision (Code): runs custom JavaScript code
- Log Claim to Sheet (Google Sheets): append
…plus 13 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-pdf-api-hub is verified or supports 3.0 (used in Extract Claim Data, Generate Approval Letter, Sign Approval Letter).
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Nodes used (11)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Pdf Split Merge
n8n-nodes-pdf-api-hub.pdfSplitMerge - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - Google Drive
n8n-nodes-base.googleDrive - Gmail
n8n-nodes-base.gmail - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - If
n8n-nodes-base.if
From the author
This workflow automates the full lifecycle of a vehicle insurance claim — from an incoming Gmail email to a signed, watermarked PDF decision letter delivered back to the claimant. It monitors Gmail for emails with a PDF claim attachment, deduplicates them…