Chase missing client documents with GPT‑4.1-mini, Google Sheets and Gmail
Ready for 3.0What this workflow does
This AI workflow has 49 nodes and runs on Gmail events (plus 4 other triggers). Along the way it connects Gmail, Google Drive, Google Sheets and OpenAI and 1 more.
How it runs
Trigger: On Gmail events (plus 4 other triggers).
- Split email attachments (Code): runs custom JavaScript code
- Download uploaded file (Google Drive): download
- Settings (reminders) (Edit Fields (Set)): sets 7 fields: spreadsheet_id, owner_email, firm_name…
- Settings (weekly summary) (Edit Fields (Set)): sets 3 fields: spreadsheet_id, owner_email, firm_name
- Format error alert (Code): runs custom JavaScript code
- Describe Drive upload (Code): runs custom JavaScript code
- Read clients (Google Sheets): uses Google Sheets
- Read clients (summary) (Google Sheets): uses Google Sheets
- Email error alert to owner (Gmail): uses Gmail
- Settings (document intake) (Edit Fields (Set)): sets 7 fields: spreadsheet_id, owner_email, firm_name…
…plus 31 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (New email with attachment).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (17)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Code
n8n-nodes-base.code - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Google Drive
n8n-nodes-base.googleDrive - No Operation, do nothing
n8n-nodes-base.noOp - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Switch
n8n-nodes-base.switch - Extract from File
n8n-nodes-base.extractFromFile - OpenAI
@n8n/n8n-nodes-langchain.openAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview This workflow runs every weekday (or on demand) to check a client document list, identify missing items, and send automated email requests and reminders via SMTP, while also generating an internal status summary for your office. How it works 1.…