Process RFQ quotes from Gmail PDFs using Claude, PostgreSQL, and Slack
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 26 nodes and runs on Gmail events. Along the way it connects Gmail, Anthropic, Postgres and Slack.
How it runs
Trigger: On Gmail events.
- Set Workflow Configuration (Edit Fields (Set)): sets 8 fields: defaultLeadTimeDays, defaultMarginPercent, maxSuppliersToConsider…
- If: checks a condition and branches into true / false
- Claude Extract Specs (Anthropic): uses Anthropic
- Validate Extraction Quality (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Normalize Specifications (Code): runs custom JavaScript code
- Post to Slack Manual Review (Slack): uses Slack
- Calculate Complexity Score (Code): runs custom JavaScript code
- Fetch Historical Pricing (Postgres): run a query
- Calculate Material Utilization (Code): runs custom JavaScript code
…plus 15 more steps. See the full node list below.
Services it uses
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) (When RFQ Email Received).
Nodes used (11)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Anthropic
@n8n/n8n-nodes-langchain.anthropic - Code
n8n-nodes-base.code - Postgres
n8n-nodes-base.postgres - Gmail
n8n-nodes-base.gmail - Switch
n8n-nodes-base.switch - Merge
n8n-nodes-base.merge - Slack
n8n-nodes-base.slack - Aggregate
n8n-nodes-base.aggregate
From the author
Quick Overview This workflow monitors a Gmail inbox for RFQ emails with PDF drawings, extracts specifications with Anthropic Claude, enriches and scores suppliers from PostgreSQL, generates costed quote options and a PDF, emails the quote back via Gmail, and…