Skip to content

Recipe: Chatbot with Your Data

Goal: Website visitors ask questions; the automation retrieves relevant context and replies in the chat widget.

  • An LLM integration connected (OpenAI, Anthropic, Google AI, …)
  • Content available via Vector search and/or Database lookups
  1. Create a GENERIC automation.
  2. Add a Chat trigger.
  3. On General, copy the embed script for your site.
  4. On Style, set title, welcome message, colours, and button position (styles apply without re-copying the script).
  5. Add a Vector SEARCH tool/action (or Database read) grounded in your knowledge.
  6. Add an AI Agent:
    • Model tab → select LLM connection
    • System prompt → role and citation rules
    • User prompt → chat message variable
    • Attach Vector (and other) tools
  7. Add Reply Chat; select the agent’s answer variable.
  8. Save and enable.
  1. Paste the script into a test HTML page.
  2. Ask a question that should hit your data.
  3. Confirm an execution under Executions.
  4. Tune prompts, topK, and confidence until answers are reliable.
  • Application trigger instead of Chat for in-product assistants.
  • HTTP tool to call an internal knowledge API instead of Vector.

Related: AI & Chat, Chat Trigger.