Templates / Send ranked freight quote PDFs with GPT-4o, Google Sheets, Gmail and PDFShift

Send ranked freight quote PDFs with GPT-4o, Google Sheets, Gmail and PDFShift

Ready for 3.0

by Rahul Joshi ✓ · 74 views · created 2026-07-06 · Document Extraction, Multimodal AI

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI, Gmail and Slack. It also calls api.pdfshift.io over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Extract Shipment Fields (Edit Fields (Set)): sets 8 fields: customer_name, customer_email, origin…
  2. Slack: uses Slack
  3. Fetch BlueDart Rates (Google Sheets): uses Google Sheets
  4. Fetch DTDC Rates (Google Sheets): uses Google Sheets
  5. Fetch Delhivery Rates (Google Sheets): uses Google Sheets
  6. Merge: merges the data from its input branches
  7. Normalize & Structure Rate Data (Code): runs custom JavaScript code
  8. GPT-4o Generate Quote HTML (OpenAI): work with chat
  9. Prepare Quote Fields (Edit Fields (Set)): sets 5 fields: html_quote, customer_name, customer_email…
  10. Generate Quote PDF (HTTP Request): calls api.pdfshift.io (POST)

…plus 1 more step. See the full node list below.

Services it uses

Google SheetsOpenAIGmailSlack

HTTP calls to: api.pdfshift.io

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 (10)

From the author

Quick overview This workflow receives shipment requests via webhook, pulls carrier rate data from Google Sheets, uses OpenAI GPT-4o to generate a ranked HTML freight quote, converts it to a PDF with PDFShift, and emails the PDF to the customer via Gmail, with…

Excerpt from Rahul Joshi'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.