πŸ’¬ Generate AI-curated sales quotes with OpenAI, Qdrant & CraftMyPDF PDF delivery

⚑ 129 views Β· πŸ’¬ Lead Nurturing & AI Sales Agents

Description

πŸ‘€ Short Description

Turn form submissions into AI-curated quotes with SKU selection straight from Qdrant, branded PDF generation, and automatic emailβ€”now streamlined for quoting only (FAQ removed). (Improved from the previous workflow: Automated Request-to-Quote System with OpenAI, Google Sheets & CraftMyPDF Email Delivery)

πŸŽ‰What’s new vs. the old version

πŸ“„ What this workflow does

πŸ‘€ Who this is for

βœ… Requirements

βš™οΈ How to set up

  1. Import the workflow JSON into n8n.
  2. In Qdrant Vector Store (Products), set collection=products and your Qdrant API credentials.
  3. In Sales Quote Agent, keep or change the model (default gpt-4.1-mini) and the JSON-only system prompt.
  4. In Create a PDF, set your CraftMyPDF templateId.
  5. In Email: Send Quote, set fromEmail and SMTP credentials.
  6. Submit a test form; verify: Agent JSON β†’ PDF render β†’ email delivery.
  7. (Optional) Adjust defaults in the Code node: vat_pct (default 10), payment_terms, currency fallback, valid_days.

πŸ” How it works (end-to-end)

  1. Trigger β†’ Form captures: Full Name, Email, Company, Requirements, Budget Min/Max, Need By, Notes.
  2. Product Search β†’ Agent calls PRODUCTS_QDRANT to retrieve relevant SKUs and payload fields from Qdrant.
  3. Agent Quote β†’ Selects SKUs and qty, applies pricing and ≀10% discount.

πŸ’‘ About Margin AI

Margin AI is your AI Service Companion. We help organizations design intelligent, human-centric automation β€” from content pipelines and branding workflows to customer insights and sales enablement. Our tailored AI solutions scale marketing, operations, and creative processes with ease.

πŸ”— Nodes Used

Send Email, HTTP Request, AI Agent, Embeddings OpenAI, OpenAI Chat Model, n8n Form Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup