Automatic email invoice archiving & data extraction with Gmail, Drive & AI
n8n template #10923Summary
Use templateQuick overview Automatically collect invoice PDFs from Gmail, archive them in Google Drive or an optional FTP/SFTP server, extract structured invoice data with AI, and record the results in Google Sheets. How it works Scheduled inbox check — A Schedule Trigger periodically checks Gmail for invoice messages matching the configured sender and attachment filters. Invoice download — Gmail nodes retrieve the matching message and download its PDF attachment. Document archiving — The PDF is uploaded to Google Drive and can optionally be copied to an FTP/SFTP server. Text extraction — n8n extracts text from text-based PDFs for AI processing without requiring OCR. AI extraction — An OpenRouter-backed
Hand off to your agent
Prompt
Help me set up the n8n workflow "Automatic email invoice archiving & data extraction with Gmail, Drive & AI" (https://n8n.io/workflows/10923). It uses: Google Sheets, HTTP Request, Google Drive, FTP, Gmail, Code, AI Agent, OpenRouter Chat Model. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- Explore n8n Nodes in a Visual Reference Library5,197
- Automated Research Report Generation with AI, Wiki, Search & Gmail/Telegram4,632
- Convert Shopify products into Blog content with DeepSeek and Sheets627
- Ads Factory: Generate Unlimited Length UGC AI Video Pipeline134
- ✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition55K
- Automate sales cold calling pipeline with Apify, gpt-5.6-terra, and WhatsApp34K
- Create & Upload AI-Generated ASMR YouTube Shorts with Seedance, Fal AI, and GPT-424K
- Lead Workflow: Yelp & Trustpilot Scraping + OpenAI Analysis via BrightData7,460