Register your interest: Tag @Cody, get an agent
BlogEngineering

How to automate knowledge base updates: staleness and ownership

Documentation rots quietly because nobody owns a page. Detecting what has gone out of date, what automation can safely change, and why deletion is underrated.

Rebecca PearsonRebecca Pearson11 min read

Summarize with AI

How to automate knowledge base updates: staleness and ownership
On this page

A knowledge base does not fail loudly. It accumulates pages that were accurate when written, describing interfaces that have since changed, and nothing anywhere reports that. The first symptom is a support ticket from somebody who followed the documentation and got a different result.

The automation worth building is not generating articles. It is detecting which of the existing ones have quietly stopped being true, getting that to a person who can fix it, and — the underrated part — deleting the ones that should no longer exist at all.

What we'll cover

Why documentation rots silently

Nothing tests it. Code has a suite; a page describing a workflow has nothing that fails when the workflow changes.

The change and the documentation live apart. A release changes a screen and the article about that screen is in a different system with a different owner.

Writing is a project, maintaining is nobody's, so the initial version is resourced and the upkeep is not.

The author has moved on, frequently out of the team, and the page has no successor.

Readers do not report it. Somebody who hits a wrong instruction works around it and gets on with their day.

Search rewards the old page. An outdated article with years of accumulated links outranks the accurate new one, so the wrong answer is the one people find.

Detecting staleness without reading everything

Age since last review, which is crude and is the best available starting signal.

Mismatch against the product: a page mentioning an interface element, a setting name or an endpoint that no longer exists.

Version references to releases that are no longer supported.

Broken links and missing screenshots, both of which correlate strongly with the surrounding text being wrong.

Traffic with no resolution — a page people land on and then open a ticket anyway — which is the strongest signal that a page is failing, and the one almost nobody measures.

Release correlation. Tie articles to product areas and flag them when that area ships something significant, which is the closest thing to a test this material can have.

Ownership, which is the actual fix

Name an individual per page, not a team, since a page owned by a team is a page owned by nobody.

Reassign on departure as part of leaving, otherwise ownership silently becomes null and the page enters the unowned pile.

Route a staleness flag to the owner, not to a documentation backlog where it becomes one of four hundred items.

Give a deadline and escalate on it to whoever owns the product area.

Track the unowned pages as a number, because it grows quietly and it is the best single indicator of how much of your documentation is actually maintained.

Make ownership visible on the page, which both creates accountability and tells a reader who to ask.

Building it with CodeWords

CodeWords connects to more than 3,000 integrations, so the knowledge base, the repository, the tracker and the helpdesk can meet in one automation.

  1. Open CodeWords and start a new automation.
  2. Describe what should happen in plain language to Cody, the automation builder: which signals indicate staleness, who owns what, and what gets flagged versus changed.
  3. Authorize the connections — the knowledge base, the repository or release source, and the helpdesk.
  4. Describe the exceptions: pages deliberately describing legacy behaviour, archived content, anything under active revision.
  5. Run it read-only across the whole base first and read the list before anything writes.

You describe the outcome; Cody builds it, connects it, and deploys it. The free plan covers light use, with Pro at $39 per month and Business at $100 per month as usage grows; details are on the pricing page.

What automation can safely change

Product and feature renames, consistently, across every page at once — which is genuinely tedious by hand and entirely mechanical.

Link updates after a page moves, so a reorganisation does not leave a trail of broken references.

Version numbers and supported-release tables, which are data rather than prose.

Code samples regenerated from tested sources, which is the one category where automation can improve accuracy rather than only consistency.

Metadata: last reviewed, owner, related pages, applicable product area.

Not the prose. Rewriting explanation automatically produces text that is plausible and unverified, in a place where being wrong causes support tickets — which is the exact opposite of what the exercise is for.

Closing the loop with support

Support is where the failures of a knowledge base show up first, and most teams never connect the two.

Tag tickets with the article the customer used, if they used one, which makes failing pages visible immediately.

Count the questions with no article, by topic, which is the content gap list and it writes itself.

Watch the article a resolving agent sent, since the page agents actually use is a better signal of quality than any review.

Flag the page where a ticket followed a visit, because that sequence is the definition of a page not doing its job.

Give agents a one-click "this page is wrong" that creates a flagged item with the ticket attached, rather than expecting them to file a documentation ticket.

Report the top failing pages monthly, which turns a maintenance backlog into a short prioritised list.

Deletion is underrated

A wrong page is worse than no page, because it is trusted and acted upon.

Duplicates compete in search, and the one that ranks is frequently the older, worse one.

Old version documentation should be archived with a clear notice, not left indistinguishable from current material.

Redirect rather than delete outright, since articles are linked from tickets, forums and emails for years.

Delete the ones nobody reads that also answer nothing — every knowledge base has a substantial tail of these, and they dilute search for everything else.

Make deletion a normal reviewed action rather than something exceptional, or the base only ever grows.

Writing pages that go stale more slowly

Maintenance cost is set when a page is written. A few choices make an article survive several product changes without needing an edit.

Describe the outcome before the steps. What this achieves and why outlives which button is where.

Avoid narrating the interface in detail. "Open the billing settings" survives a redesign; "click the blue button in the top right" does not.

Use fewer screenshots, and only where they genuinely help, since they are the fastest-rotting element on any page.

Do not restate things documented elsewhere. Link instead, so there is one place to update rather than five.

Keep version-specific material in its own section, clearly marked, so it can be updated or removed without touching the rest.

Date the page visibly. A reader who can see when something was written can judge it themselves, which is a much cheaper form of accuracy than keeping everything current.

Making it survive

Rate-limit against the knowledge base API, which is often stricter than expected.

Use drafts or revisions so any automated change is reviewable and reversible.

Never publish an automated change to a customer-facing page without a person approving it.

Handle the page that no longer exists gracefully when a flag refers to it.

Report the outcome: pages checked, flagged, changed, owners notified, and the unowned count.

Limits worth knowing about

Detecting semantic staleness is genuinely hard — a page can be entirely wrong while containing no term that has changed.

Knowledge base APIs vary considerably in what they allow programmatically, particularly around publishing.

Screenshots cannot be validated, and they go out of date faster than the text around them.

Translated versions multiply the problem, since a flag on the English page means several other pages are now also wrong.

Search ranking is not yours to control in most hosted knowledge bases, so an outdated page may keep outranking its replacement regardless.

What to build first

The pages-that-failed report: articles a customer visited immediately before opening a ticket, ranked by frequency, sent to the page owner. It is built from data you already have, it needs no write access, and it identifies the pages that are actively costing you support time rather than the ones that are merely old.

Two habits make the difference. Name an individual owner on every page and track the unowned count as a metric, since unowned pages are where rot concentrates. And treat deletion as ordinary maintenance rather than an exception, because a knowledge base that only grows eventually buries its own good answers.

Frequently asked questions

Why does documentation go out of date without anyone noticing?

Nothing tests it, the change and the page live in different systems with different owners, writing is resourced while maintaining is not, and readers who hit a wrong instruction work around it rather than reporting it.

How do I detect stale pages at scale?

Age since review, references to interface elements or endpoints that no longer exist, unsupported version numbers, broken links and missing images — and most usefully, pages a customer visited immediately before opening a ticket.

Should automation rewrite documentation prose?

No. It produces plausible unverified text in a place where being wrong generates support tickets. Automate renames, links, version tables, tested code samples and metadata.

Who should own a knowledge base page?

A named individual, reassigned when they leave. A page owned by a team is owned by nobody, and the count of unowned pages is the best single indicator of how much of your base is actually maintained.

What is the strongest signal that a page is failing?

A visit followed by a support ticket. That sequence is the definition of a page not doing its job, and almost nobody measures it.

Is deleting documentation a good idea?

Often, yes. A wrong page is worse than no page because it is trusted. Redirect rather than delete outright, since articles are linked from tickets and forums for years.

How should support feed back into documentation?

Tag tickets with the article the customer used, count questions with no article as the content gap list, and give agents a one-click way to flag a wrong page with the ticket attached.

What about translated versions?

A flag on one language means the corresponding pages are also wrong. Translation multiplies both the maintenance cost and the staleness surface, which is worth knowing before committing to it.

How do I write documentation that stays accurate longer?

Describe the outcome before the steps, avoid narrating interface details, use fewer screenshots, link rather than restate, isolate version-specific material, and show the date visibly so readers can judge for themselves.

Why are screenshots a maintenance problem?

They go out of date faster than the text around them, nothing detects it, and a stale screenshot undermines a page that is otherwise still correct.

Should the knowledge base be the source of truth or a copy?

One place, linked from everywhere else. A page duplicated into release notes, onboarding material and a help centre becomes three versions that disagree within a quarter.

Get started today

Your first workflow is free to build.

Describe what you need. Cody handles the build, the connections, and the deployment.