Upload invoices from Gmail to Google Drive
Needs changesWhat 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
Other Gmail + Slack templates (957) · Other Gmail + Google Drive templates (465) · Other Google Drive + Slack templates (222)
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.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2022 — 25% of templates published before 2025 need changes for 3.0. See how template age affects 3.0 readiness →
| 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