Back to Automation

How Do You Document an Automation?

How Do You Document an Automation?
AI Tutorials Team 4 May 2026

Documentation for an automation does not need to be extensive. It needs to answer the questions somebody will have when it breaks and you are unavailable.

What should it answer?

  • What does it do. In two sentences.
  • What triggers it. And how often.
  • What it touches. Systems and accounts.
  • Who owns it. By name.
  • How to stop it. Specifically.
  • What to do when it fails.

Why is how to stop it so important?

Because that is the question asked under pressure. Somebody discovering an automation misbehaving needs to halt it in seconds, not find out who built it.

What about dependencies?

Worth listing explicitly. An automation that breaks when a folder is renamed, or when a particular field changes, should say so, since otherwise the connection is invisible.

Where should it live?

With the automation or linked from it. Documentation in a separate system nobody knows about is documentation that does not exist when it is needed.

What about the reasoning?

A line explaining any unusual choice. A filter that excludes a category, or a delay before a step, will look wrong to somebody later unless the reason is recorded.

What about documentation for the people using it?

A different document from the one for whoever maintains it. Users need to know what it produces, when, and what to do if it looks wrong, and they do not need the technical detail.

Conflating the two produces something neither audience reads. Two short pieces are better than one thorough page, and the user-facing one is usually four lines.

How long should it be?

One page. Anything longer will not be read in an incident, and anything shorter usually omits the recovery steps that are the point.

How do you keep it current?

By updating it when you change the automation, as part of the same work. Documentation maintained separately drifts within a quarter and becomes actively misleading.

What about a diagram?

Useful for anything with branches and unnecessary for a linear sequence. A four-step workflow is clearer described than drawn.

What about documentation nobody reads?

A fair concern and an argument for brevity rather than for skipping it. A one-page document gets read during an incident; a twelve-page specification does not, regardless of how thorough it is.

The test is whether somebody could act on it under pressure. Writing for that moment, rather than for completeness, produces something different and considerably more useful.

What about documenting the exceptions?

The part most worth writing down and most often omitted. Standard behaviour is inferable from the configuration; the reason a particular category is excluded is not.

Those notes are also what prevent somebody helpfully removing a filter that existed for a reason. A line explaining why costs nothing and prevents a specific kind of well-intentioned damage.

What is the test of good documentation?

Whether a colleague could stop it, restart it and diagnose a failure without asking you. That is answerable by handing it to somebody and seeing.

Run confirmation, volume against an expected range, error alerts and a few sampled outputs each week answer both whether it ran and whether it worked.

Why does this get skipped?

Because the builder knows everything and the cost is invisible. It becomes apparent when they are on leave, which is reliably when something breaks.