Collect supplier invoices from Gmail to Drive and a Sheets review queue with Repondea
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs on Gmail events. Along the way it connects Gmail, Google Sheets and Google Drive. It also calls repondea.com over HTTP.
How it runs
Trigger: On Gmail events.
- Split invoice attachments (Code): runs custom JavaScript code
- One invoice at a time (Loop Over Items (Split in Batches)): loops over the items in batches
- Mark email read after all rows (Gmail): mark as read (message)
- Find existing row (Google Sheets): read
- Already in queue (If): checks a condition and branches into true / false
- Restore attachment (Code): runs custom JavaScript code
- Find archived original (Google Drive): search (file folder)
- Original is archived (If): checks a condition and branches into true / false
- Prepare extraction (Code): runs custom JavaScript code
- Restore for archive (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Drive + Google Sheets templates (720) · Other Gmail + Google Drive templates (465)
HTTP calls to: repondea.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Google Drive
n8n-nodes-base.googleDrive - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail
From the author
Quick overview Stop downloading supplier invoice attachments and retyping their fields into Sheets. This configurable workflow collects labelled Gmail invoices, archives originals in your private Drive and prepares eight suggested fields in a Sheets review…