Upload invoices from Gmail to Google Drive
Needs changesNeeds changes. This template uses 2 thing(s) that n8n 3.0 removes: Function (legacy), Cron. 2 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 10 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Drive, Gmail and Slack.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Orlen Invoice (Gmail): get many (message)
- Merge: merges the data from its input branches
- Upload Invoice to Google Drive (Google Drive): uses Google Drive
- Mark as Read (Gmail): remove (message label)
- Slack: uses Slack
- Current date (Function): runs custom JavaScript (legacy Function node)
- Get Year folder (Google Drive): list
- Get Month folder (Google Drive): list
Services it uses
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- Function (legacy) in Current date: replace with Code node, mode 'Run Once for All Items'.
- Cron in Every 23:45: replace with Schedule Trigger.
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Current date | Code node, mode 'Run Once for All Items' |
| Cron Every 23:45 | Schedule Trigger |
Nodes used (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Function
n8n-nodes-base.function - Cron
n8n-nodes-base.cron - Google Drive
n8n-nodes-base.googleDrive - Gmail
n8n-nodes-base.gmail - Merge
n8n-nodes-base.merge - Slack
n8n-nodes-base.slack
From the author
Upload invoices from Gmail to Google Drive daily