Generate AI-curated sales quotes with OpenAI, Qdrant & CraftMyPDF PDF delivery
Needs changesWhat this workflow does
This AI workflow has 12 nodes and runs when someone submits an n8n form. Along the way it connects OpenAI Chat Model, Qdrant Vector Store, Embeddings OpenAI and Vector Store Question Answer and 2 more.
How it runs
Trigger: When someone submits an n8n form.
- Set: Prepare Agent Context (Edit Fields (Set)): sets or maps fields
- Sales Quote Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (PRODUCTS_QDRANT)
- Code: runs custom JavaScript code
- Create a PDF (Craft My Pdf): uses Craft My Pdf
- Get PDF file (HTTP Request): calls an HTTP API
- Email: Send Quote (Send Email): sends an email over SMTP
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Sales Quote Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Sales Quote Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Vector Store Question Answer Tool
@n8n/n8n-nodes-langchain.toolVectorStore - Code
n8n-nodes-base.code - Craft My Pdf
n8n-nodes-craftmypdf.craftMyPdf - HTTP Request
n8n-nodes-base.httpRequest - Send Email
n8n-nodes-base.emailSend - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
From the author
👀 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…