How to write an SOP an AI can follow (with a template)
A standard operating procedure that works for people and for AI agents alike. A template, an example, and the mistakes to avoid.
A standard operating procedure (SOP) is a short, written description of how your team does one task. A good SOP has always helped new hires. Now it also tells your AI agents how your team works, which makes it one of the highest-leverage documents a small team can write.
In Mochi, SOPs live in the Library. Mochi picks a document when its “When to use this” line fits the request, follows it, and says which one it used.
The template
Copy this and fill it in:
Name: [The task, in two or three words]
When to use this: [The situation, as it happens. Not the topic.]
Steps:
1. [The rule for the normal case.]
2. [The exception: the amount, the date or the customer type where it changes.]
3. [Who to ask, and when.]
4. [Where the result goes: which app, which channel.]
An example
Name: Refunds
When to use this: A customer asks for their money back.
Steps:
1. Refund in full within 30 days of the charge.
2. After 30 days, offer credit for the unused months first.
3. Any cash refund after 30 days needs Amara's approval.
4. Reply from the support inbox, and note the outcome on the ticket.
Five rules for SOPs that work
- Write the trigger as a situation. “A customer asks for their money back” beats “Support policy”. It’s how a person, or an agent, knows the document applies.
- One task per document. If you’re writing “and also”, start a second document.
- Put the exception in its own step. The edge case, like “after 30 days” or “over $5,000”, is the reason the document exists.
- Name the person who decides. “Ask Amara” is clearer than “get approval”.
- Say where the result goes. An answer, a ticket note, a post in #finance.
Mistakes to avoid
- Writing an essay. Background belongs elsewhere. Steps are followed; paragraphs are skimmed.
- Skipping the trigger line. Without it, the document is never picked.
- Leaving it in draft. In Mochi, only what was last published is followed.
What an SOP can’t do
An SOP never outranks what someone asks for in their own words, and in Mochi it never skips an approval: if a step says “send the reminder”, the reminder still waits for its person.
For more on documents in Mochi, read Write it down once.