Skip to content

🧠 Knowledgebase / FAQ Integration

Goal: Fetch answers from your internal knowledgebase or FAQ system when users ask common questions.


🧩 Example Flow

  1. User: “What is your refund policy?”

  2. AI detects intent and triggers the getFAQAnswer API action.

  3. The action sends a GET request to your knowledgebase endpoint:

    GET https://api.company.com/help-center/articles?query=refund

  4. Example response:

    {
      "data": [
        { "title": "Refund Policy", "content": "Refunds are available within 14 days of purchase..." }
      ]
    }
  5. Ainisa displays the article content directly in chat.


🧠 Notes

  • You can map your FAQ article structure (title, content, tags, etc.) in the UI Template.
  • Add fallback messages in your AI assistant like “I couldn’t find an article for that, but I can connect you with a team member.”
  • This setup works great for support and customer service bots.