Back to articles

The KB Gap Analysis agent: write the docs you’re missing

AI & AgentsJune 18, 2026

The KB Gap Analysis agent

Your customers tell you what's missing from your documentation — every time they open a ticket about something you haven't written down. The KB Gap Analysis agent clusters tickets that have no matching article and drafts a new knowledge-base article to fill each gap.

How it works

  • The agent reviews recent tickets and groups recurring topics.
  • For topics with no good article match, it drafts an article (title + body).
  • Each draft is saved with draft status and logged to the Activity queue.
  • You review, edit if needed, and Approve to publish — or discard the draft.
  • Approved articles immediately become available to the public knowledge base, the Widget Answer agent, and the Auto-Responder. Filling one gap improves every one of those at once.

    Enabling it

    Open Agents → KB Gap Analysis, toggle it On, and save. Drafts will appear in Agent activity as the agent finds gaps.

    Reviewing drafts

    Drafts never publish themselves. Open Agent activity, find a "Drafted a knowledge base article" entry, open the draft to read and edit it, then Approve to publish.

    Was this article helpful?