Templates / Process RFQ quotes from Gmail PDFs using Claude, PostgreSQL, and Slack

Process RFQ quotes from Gmail PDFs using Claude, PostgreSQL, and Slack

Ready for 3.0

by ResilNext ✓ · 21 views · created 2026-08-30 · Engineering, AI Summarization

Ready 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.

  1. Set Workflow Configuration (Edit Fields (Set)): sets 8 fields: defaultLeadTimeDays, defaultMarginPercent, maxSuppliersToConsider…
  2. If: checks a condition and branches into true / false
  3. Claude Extract Specs (Anthropic): uses Anthropic
  4. Validate Extraction Quality (Code): runs custom JavaScript code
  5. If: checks a condition and branches into true / false
  6. Normalize Specifications (Code): runs custom JavaScript code
  7. Post to Slack Manual Review (Slack): uses Slack
  8. Calculate Complexity Score (Code): runs custom JavaScript code
  9. Fetch Historical Pricing (Postgres): run a query
  10. Calculate Material Utilization (Code): runs custom JavaScript code

…plus 15 more steps. See the full node list below.

Services it uses

GmailAnthropicPostgresSlack

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)

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…

Excerpt from ResilNext's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.