Tips for writing playbooks

Habits that make playbooks easy to review, reliable on real conversations and safe to change.

A playbook is only as good as the sentences in it. These rules come from how the agent reads a playbook: it follows what you wrote, and it improvises where you were vague.

Write one playbook per job

A small playbook is easier to review, test and change. It is also easier for the agent to choose, because When to use this can be precise. A hotel that puts cancellations, date changes and room upgrades in one playbook ends up with a long procedure full of branches.

Do: one playbook called Cancel a booking, another called Change dates.

Don't: one playbook called Handle bookings.

Write the header first

The header decides whether the playbook ever starts. If When to use this is fuzzy, the best steps in the world never run. Say who it is for and who it isn't for, then add real phrases customers use under Examples of when to use it, and close lookalikes under When not to use it.

Do: "Guests who want to cancel a booking they already have. Not for changing dates or rooms."

Don't: "Booking questions."

Name things the way your team talks

The agent reads names and descriptions when deciding what to do. Short, literal names beat clever ones, for playbooks and for tools.

Do: Cancel a booking, Look up booking.

Don't: Flow 3, Booking tool.

One job per step, in plain language

Specific steps make a reliable agent. Vague steps make it improvise.

Do:

1. Ask for the booking reference or the email used to book.
2. Look up the booking before saying anything about its status.
3. Share the room, the dates and the current status directly.

Don't:

Help guests check their booking status.

Look things up before you talk about them

Put the lookup step before the step that tells the customer something. Then the agent states what the system says, rather than guessing.

Do: "Look up the appointment with @Look up appointment, then tell the patient the time."

Don't: "Tell the patient their appointment time."

Plan for the unhappy paths

Happy paths are easy. The failures are what callers remember. After a step that calls a tool, add a condition for nothing found and for couldn't run, and say what the agent should do in each. For a tool that changes something, make the failure path say so plainly, so a teammate can follow up.

Do: IF find_booking.result == "nothing found", read the reference back and ask them to check it.

Don't: leave the lookup with no branch and hope it always works.

Don't write confirmations into steps

A tool that changes something, like a booking or a cancellation, always asks the customer to confirm before it runs. You don't need to write that into the step, and extra confirmation lines just make calls longer.

Use exact rules for numbers, words for judgement

Write a condition in words when a person would judge it, like "the guest is upset". Use an exact rule when there is a number or a result, like order_total > 100. Exact rules are checked against values, so they don't depend on the agent's reading of the conversation.

Fill in every blank

The editor never invents your policy numbers. A refund window or discount shows as [___] or [TBD] until you decide it. Blanks never block publishing, so they are easy to miss. Check Review before you publish.

Ship the main path plus one fallback

Start small. Publish the main path and one fallback, watch a few runs, then add conditions for the cases customers actually hit. If you're unsure whether something belongs in a playbook, start with knowledge and a short playbook, and add steps as you learn what customers ask.

Test the draft, then publish with a note

Talk the procedure through in Dry run, including the unhappy path. Then publish with a note that says what changed, like "Added a refund check". The history is only useful if the notes are. See Publish and versions.