Track and approve expense receipts with Gmail, Google Gemini, Sheets and Slack
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, Google Gemini, Google Sheets and Slack.
How it runs
Trigger: On Gmail events (plus 1 other trigger).
- Analyze an image (Google Gemini): analyze (image)
- Get row(s) in sheet (Google Sheets): uses Google Sheets
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- Send a message (Gmail): uses Gmail
- Append or update row in sheet (Google Sheets): append or update
- If: checks a condition and branches into true / false
- Send a message (Slack): uses Slack
- Send a message (Gmail): uses Gmail
…plus 1 more step. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
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 (8)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick Overview This workflow monitors Gmail for receipt/invoice email attachments, uses Google Gemini to extract expense details, validates and logs them to Google Sheets, alerts Finance in Slack when expenses exceed a limit, and emails confirmations; it also…