Classify Gmail invoice attachments with Google Gemini and forward to freee — n8n Workflow
Overview
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
Polls Gmail for new emails with attachments every minute Extracts text from PDF attachments and sends it to Google Gemini for classification 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
Get freee receiving
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 9 nodes, connecting extractfromfile, gmail, gmailtrigger.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (9)
Gmail
gmail
Google Gemini
n8n-nodes-langchain.googleGemini
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
classify-gmail-invoice-attachments-with-google-gemini-and-forward-to-freeefile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
daisuke
@daisuke
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →