Detect duplicate invoice PDFs from Gmail with easybits and Google Sheets
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs on Gmail events. Along the way it connects Google Sheets, Gmail and Slack. It also calls extractor.easybits.tech over HTTP.
How it runs
Trigger: On Gmail events.
- Extract from File: extracts data from a file (binary to propery)
- Edit Fields (Edit Fields (Set)): sets 1 field: data
- HTTP Request: calls extractor.easybits.tech (POST)
- Check Google Sheets (Google Sheets): uses Google Sheets
- Code: runs custom JavaScript code
- Already Exists? (If): checks a condition and branches into true / false
- Slack: uses Slack
- Add to Master List (Google Sheets): append
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
HTTP calls to: extractor.easybits.tech
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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).
Nodes used (8)
- Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Gmail Trigger
n8n-nodes-base.gmailTrigger - Extract from File
n8n-nodes-base.extractFromFile - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Slack
n8n-nodes-base.slack
From the author
How It Works This workflow automatically detects duplicate invoices from Gmail. Incoming PDF attachments are scanned by the easybits AI Extractor, then checked against the Master Finance File in Google Sheets. Duplicates trigger a Slack alert – new invoices…