Invoices from Gmail to Drive and Google Sheets: n8n template
Invoices from Gmail to Drive and Google Sheets is a free n8n workflow template by Juan Carlos Cavero Gracia with 14 nodes. It starts with the Gmail Trigger node ("Gmail Trigger1") and uses HTTP Request, Google Drive, Gmail, OpenAI Model and 2 more. You can paste it into your n8n editor in one click with FlowLume.
What this workflow does, step by step
- Gmail Trigger1 (Gmail Trigger node)
- Setup1 (Edit Fields (Set) node)
- Only invoice mails with attachments (If node)
- Upload PDF to Drive1 (HTTP Request node)
- Gmail
- Rename file1 (Google Drive node)
- Move to the correct folder1 (Google Drive node)
- Google Drive
- Extract from File2 (Extract from File node)
- Apply Data Extraction Rules (Basic LLM Chain node)
- OpenAI Model
- Structured Output Parser
- Map Output (Edit Fields (Set) node)
- Append to Reconciliation Sheet (Google Sheets node)
What you need before you paste it
Connect these accounts in n8n
- Gmail (OAuth2) · used by Gmail Trigger1, Gmail
- Google Drive (OAuth2) · used by Upload PDF to Drive1, Rename file1, Move to the correct folder1, Google Drive
- Google Sheets (OAuth2) · used by Append to Reconciliation Sheet
- OpenAI · used by OpenAI Model
Checked with FlowLume's setup checklist on 2026-11-25. In the extension, FlowLume Pro shows this checklist for any template before you paste.
Template facts
- Author
- Juan Carlos Cavero Gracia (verified n8n creator)
- Nodes
- 14
- Apps
- Gmail Trigger, HTTP Request, Google Drive, Gmail, OpenAI Model, Google Sheets, Basic LLM Chain
- Uses AI
- Yes (n8n AI nodes)
- Categories
- Invoice Processing, AI Summarization
- Views on n8n.io
- 27,090
- Published
- 26 February 2025
- Price
- Free
How to paste it with FlowLume
- Install FlowLume. Add the free FlowLume extension to Google Chrome from the Chrome Web Store.
- Open n8n. Open a new or existing workflow in your n8n editor (n8n Cloud or self-hosted).
- Find the template. Click the FlowLume button at the bottom right and search for "Invoices from Gmail to Drive and Google Sheets".
- Paste it. Click Paste to n8n. All nodes and connections land on your canvas.
- Connect your accounts. Add your own credentials for Gmail (OAuth2), Google Drive (OAuth2), Google Sheets (OAuth2), OpenAI, then run the workflow.
Similar n8n templates
- Invoice data extraction with LlamaParse and OpenAIOpenAI Model · HTTP Request · Gmail Trigger · Google Sheets
- Generate AI videos from scripts with DeepSeek, TTS, and Together.aiHTTP Request · n8n Form Trigger · Basic LLM Chain · OpenRouter Chat Model
- AI-Generated LinkedIn Posts with OpenAI, Google Sheets & Email Approval WorkflowHTTP Request · Schedule Trigger · OpenAI Chat Model · Google Sheets
- Create & upload AI-generated ASMR YouTube Shorts with Seedance, Fal AI, and GPT-4HTTP Request · OpenAI Chat Model · AI Agent · Schedule Trigger
- Fully Automated AI Video Generation & Multi-Platform PublishingHTTP Request · OpenAI · Google Drive · Discord
- Generate AI Videos with Google Veo3, Save to Google Drive and Upload to YouTubeHTTP Request · Schedule Trigger · Google Sheets · Google Drive
Template "Invoices from Gmail to Drive and Google Sheets" by Juan Carlos Cavero Gracia, published on n8n.io. The template and its description belong to its author; this page only summarises its structure. FlowLume is an independent tool by DrakenLume and is not affiliated with n8n GmbH. n8n is a trademark of n8n GmbH.