Process RFQ quotes from Gmail PDFs using Claude, PostgreSQL, and Slack
Ready for 3.0What 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
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) (When RFQ Email Received).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
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…