Check supplier order confirmations against POs with Claude, Gmail and Data Tables
Ready for 3.0What this workflow does
This AI workflow has 38 nodes and runs manually, when you click “Execute workflow” (plus 4 other triggers). Along the way it connects Gmail, Anthropic and Slack.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 4 other triggers).
- Sample confirmations (Code): runs custom JavaScript code
- Has a PDF? (If): checks a condition and branches into true / false
- Settings (Edit Fields (Set)): sets 5 fields: po_pattern, price_tolerance_pct, accept_early_delivery…
- Get open POs (Data table): get (row)
- Alert on Slack (Slack): post (message)
- PDF to text (Extract from File): extracts data from a file (pdf)
- Normalize input (Code): runs custom JavaScript code
- Waiting too long (Code): runs custom JavaScript code
- Live or test (Switch): routes items into 2 branches
- Reminder draft (Gmail): create (draft)
…plus 23 more steps. See the full node list below.
Services it uses
Other Gmail + Slack templates (957) · Other Anthropic + Slack templates (204) · Other Anthropic + Gmail templates (192)
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) (New supplier mail).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (15)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Gmail Trigger
n8n-nodes-base.gmailTrigger - If
n8n-nodes-base.if - Extract from File
n8n-nodes-base.extractFromFile - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Data table
n8n-nodes-base.dataTable - Filter
n8n-nodes-base.filter - Anthropic
@n8n/n8n-nodes-langchain.anthropic - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview This workflow reads supplier order confirmations from Gmail (including PDF attachments) or a webhook, extracts line details with Anthropic Claude, compares them to purchase orders in an n8n Data Table, then marks the PO confirmed, routes it to…