About this use case
An n8n workflow triages incoming emails with PDFs, extracts structured data into a Google Sheets CRM, and drafts a ready-to-send reply.
What they did
The poster built an n8n workflow for inbound emails with PDF attachments: a Gmail trigger starts it, an Extract-from-File node pulls the PDF content, Claude Haiku first classifies the email, and quote emails go to Claude Sonnet to extract fields from the PDF. The output is parsed to JSON, appended to a Google Sheets CRM, and used to draft a reply, with a person reviewing the draft in Gmail before sending; there is also an error-alert branch.
Prompt
Build a workflow that triggers on new emails in [Gmail/Outlook account] that have PDF attachments. Extract [fields, e.g. sender, invoice number, amount, due date] from each PDF into a row in my Google Sheet [sheet name], then draft a reply saved as a draft that acknowledges receipt and mentions the key details. It's done when a test email produces a new row and a draft; never send automatically.
Reported outcome
It removed the manual open-read-retype-reply loop for quote emails and the author shared a cleaned template based on a production workflow. In the shared version, auditability is still weak because the only trace is n8n execution history unless extra columns are added to the sheet.
Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.