Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. When chat message received
  2. OpenAI Chat Model
  3. Simple Memory
  4. Acuity Support Search API
  5. Extract Relevant Fields
  6. Results to Items
  7. Has Results?
  8. Empty Response
  9. Aggregate Response
  10. Knowledgebase Tool
  11. AcuityScheduling Support Chatbot
  12. KnowledgeBase Tool Subworkflow

Similar automations