Self-Hosted AI Knowledge Bot in n8n — Answer product questions
Every time a question arrives via webhook from your site chat, this workflow hands it to OpenAI, which pulls the relevant policy or spec and replies accurately. You get instant, accurate answers grounded in your content without lifting a finger.
- 1
Trigger when a question arrives via webhook from your site chat
A
Webhook Triggerstarts the workflow the moment a question arrives via webhook from your site chat. - 2
Retrieve the right context
A
Vector Storenode (Pinecone) fetches the most relevant passages from your indexed content so the answer is grounded in your own material. - 3
Hand it to the AI agent
An
AI Agentnode running OpenAI pulls the relevant policy or spec and replies accurately. The prompt is pre-written and scoped to this one job so results stay consistent. - 4
Deliver the answer
The result is sent to Slack — with the original for context.
- 5
Add a safety net (optional)
Insert an
IF/human-approval step before anything is published or emailed, so you stay in control until you trust the output.
Frequently asked questions
How do I import the workflow into n8n?
Download the JSON, then in n8n open a new workflow, choose ⋯ → Import from file, and select it. Every trigger, node and connection appears on the canvas; you just add your credentials and activate it.
How much does the AI part cost to run?
Pennies. Each run sends a small amount of text to the model, so most teams spend a few dollars a month even at hundreds of runs. You set the model and can cap volume in n8n, so costs never surprise you.
Can I trust the AI to get the answer right?
The prompt is tightly scoped to one job and you can add a human-approval step in n8n before anything is sent or published. Start with review-mode for a week, and once you trust the output, switch it to fully automatic.
Keep every recipe free
FlowRecipesHub is free and always will be. If a workflow saved you time, chip in what you like — it helps us keep the lights on and build the next batch of automations for everyone.
One-tap support is being set up — check back soon. 💚
Secure checkout via Paddle · one-time, no account needed