Templates / Triage RFQ emails and draft quote replies with Gmail and OpenAI

Triage RFQ emails and draft quote replies with Gmail and OpenAI

Ready for 3.0

by Rahn Brosh | Kitebolt ✓ · 11 views · created 2026-07-28 · Document Extraction, 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 12 nodes and runs on Gmail events. Along the way it connects Gmail and OpenAI Chat Model.

How it runs

Trigger: On Gmail events.

  1. Normalize Email (Edit Fields (Set)): sets 5 fields: email_text, from_email, subject_line…
  2. Has PDF Attachment? (If): checks a condition and branches into true / false
  3. Extract PDF Text (Extract from File): extracts data from a file (pdf)
  4. Use Email Text Only (Edit Fields (Set)): sets 1 field: rfq_text
  5. Combine Email + PDF Text (Edit Fields (Set)): sets 1 field: rfq_text
  6. Extract RFQ Fields (Information Extractor): extracts structured fields from text with AI, with model: OpenAI Model
  7. Completeness Gate (Code): runs custom JavaScript code
  8. All Info Present? (If): checks a condition and branches into true / false
  9. Draft Quote Skeleton (Gmail): work with draft
  10. Draft Missing-Info Request (Gmail): work with draft

Services it uses

GmailOpenAI Chat Model

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.

Nodes used (8)

From the author

Quick Overview This workflow monitors Gmail for unread RFQ emails, optionally extracts text from attached PDFs, and uses OpenAI to pull structured quote details and check completeness before creating a Gmail draft reply with either a quote skeleton or a…

Excerpt from Rahn Brosh | Kitebolt'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.