Library / Chatbots & Messaging Bots
Chatbots & Messaging Bots
Answer Support Questions Using Existing Site Search with OpenAI Chatbot
Powers a support chatbot by querying the existing help center search API for knowledge base articles and answering with OpenAI, with no vector store to maintain. Runs when called by another workflow.
What it does
## Try it Out! ### This n8n template demonstrates how you can leverage existing support site search to power your Support Chatbots and agents. Building a support chatbot need not be complicated! If building and indexing vector stores or duplicating data isn't necessarily your thing, an alternative implementation of the RAG. * There is no step to replicate the entire support articles database into a vector store. You may choose not too because of time, cost and maintainence involved. * Instead, the tool leverages the existing support portal's search API to retrieve knowledge-base articles. * Finally, the search results are formatted before sending an aggregated response back to the agent. ### How to use? * Customise the subworkflow to work with your own support portal API and format accordingly. * Try the following queries * How do I connect my icloud to acuityScheduling? * How do I download past invoices for my Acuity account? ### Requirements * OpenAI for LLM. * If your organisation's APIs require authorisation, you may need to add custom credentials as necessary. ### Customising this workflow * Add additional tools to reach other parts of your internal knowledgebase. * Not using OpenAI? Feel free to swap but ensure the LLM has tools/function calling support. ### Need Help? Join the [Discord]({{ $env.WEBHOOK_URL }} or ask in the [Forum]({{ $env.WEBHOOK_URL }} Happy Hacking!
The steps
- When chat message received
- OpenAI Chat Model
- Simple Memory
- Acuity Support Search API
- Extract Relevant Fields
- Results to Items
- Has Results?
- Empty Response
- Aggregate Response
- Knowledgebase Tool
- AcuityScheduling Support Chatbot
- KnowledgeBase Tool Subworkflow
Similar automations
Customer Support & HelpdeskAnswer IT Support Questions Using Existing Support Search12 stepsMCP Servers & ToolsWeb Search Chatbot with GPT-4o and Brave Search MCP9 stepsChatbots & Messaging BotsAnswer Product Questions with an OpenAI Postgres Chatbot11 stepsChatbots & Messaging BotsAnswer WooCommerce Post-Sales Questions with an OpenAI Chatbot61 steps