Back to work
n8nCase study

Wholesale Quote Assistant

OpenAI-powered wholesale quoting workflow that extracts order details from inquiries, validates quantity, applies tiered pricing for standard, bulk, or event orders, and returns a quote draft through a webhook response.

n8n · workflow canvasproduction build
Wholesale Quote Assistant workflow

Context

Wholesale teams needed a fast way to turn inbound inquiries into accurate tiered quotes without manually extracting order details or checking pricing thresholds.

Approach

Built two connected n8n workflows: the main flow uses OpenAI structured output parsing to extract order data, validates quantity, routes requests into standard, bulk, or event pricing branches, formats a quote summary, and returns it via webhook; a separate error path emails the admin on failures.

Architecture

  1. Webhook POST (inquiry)
  2. OpenAI structured extraction
  3. Parse AI response
  4. Quantity present?
  5. No: Gmail validation error
Yes
  1. Standard tier?
  2. Standard rate
  1. else bulk tier (qty 50-150)?
  2. Bulk rate
  1. else event rate
  2. Format quote summary
  3. Webhook response
  4. Error Trigger
  5. Gmail admin alert

Results

Instant, down from same-dayQuote turnaround time
Reduced ~90%Pricing errors
~3 hrs/weekAdmin time saved