Templates / Classify Gmail invoice attachments with Google Gemini and forward to freee

Classify Gmail invoice attachments with Google Gemini and forward to freee

Ready for 3.0

by daisuke · 153 views · created 2026-02-06 · Invoice Processing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Worth a look

Nodes used (6)

GmailGoogle Gemini

What it does

Classify and forward Gmail invoice attachments to freee with Google Gemini Automatically analyze email attachments with AI and forward invoices/receipts to freee's File Box. How it works 1. Polls Gmail for new emails with attachments every minute 2. Extracts text from PDF attachments and sends it to Google Gemini for classification 3. If Gemini identifies the document as an invoice or receipt, re-fetches the attachment and forwards it to freee's File Box email address Setup steps 1. Get freee receiving email: freee Accounting → File Box → Settings 2. Set environment variable: Set FREEEFORWARDINGEMAIL to freee's receiving address 3. Configure Credentials: - Gmail OAuth2 (read + send permissions) - Google Gemini API 4. Activate the workflow

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.