Runbook automation usually means turning each step into a script, an API call or an RPA bot. That works when every step has an API. Many runbooks do not: they say "sign in to the vendor dashboard, click Export". With Sai you hand over the runbook in plain English, watch the first run, then put it on a schedule.
What runbook automation is
A runbook is a written set of routine procedures that an operator carries out, such as a weekly report pull or a certificate renewal. Runbook automation is defining those procedures as workflows that software runs in order, on demand or on a schedule, with the results recorded for the people responsible.
Runbook work is a textbook case of what Google's Site Reliability Engineering book calls toil: work that is manual, repetitive, automatable, tactical, devoid of enduring value, and that scales linearly as a service grows. Google's SRE teams aim to keep toil below 50% of each engineer's time.
Where runbook automation usually stops
Automation tools connect through APIs, SSH, command lines and scripts. Runbook steps that live only in a web UI fall outside that, so they stay on the wiki page:
- Vendor dashboards with no export API. The weekly usage report exists only behind an Export button.
- Admin consoles. Monthly checks of inactive users, license counts or audit settings are read off screens.
- Certificates and domains renewed through a web UI. The steps are simple, but missing one date is costly.
- Logins and approvals. A script needs stored credentials, and nobody wants a script that can delete users on its own.
Runbooks teams schedule first
The best first candidates run on a fixed cadence, mostly read data, and have one or two steps where a person should decide.
| Runbook | Cadence | Steps that live on a screen | Where to require approval |
|---|---|---|---|
| Vendor usage and cost report | Weekly | Export buttons in vendor dashboards | Sign-ins only |
| Inactive user and license review | Monthly | User lists in admin consoles | Any suspension or seat removal |
| Certificate and domain expiry check | Weekly | Certificate and domain pages in hosting and registrar consoles | Every renewal or payment |
| Backup and job status check | Daily | Status pages of tools with no alert integration | Re-running a failed job |
| Month-end evidence collection | Monthly | Audit logs and settings pages, saved as screenshots or exports | Sign-ins only |
| Access review for a compliance audit | Monthly | Role and permission screens in each app | Any change to a role |
Rewriting wiki steps so they can run on their own
Most runbooks are written for someone who already knows the tools. Before you schedule one, make each step specific enough for a new teammate:
| Typical wiki step | Step that can run unattended |
|---|---|
| Pull the usage numbers | Open the email provider dashboard, go to Reports > Usage, set Last 7 days, and export CSV |
| Check the certs | List every certificate with its expiry date; if one expires within 30 days, prepare the renewal and ask before clicking Renew |
| Clean up old users | List users with no sign-in for 90 days; do not suspend or delete anyone |
| Let the team know | Post the totals, any number 25% above last week and anything that needs a decision to #ops-weekly |
Is this runbook ready to schedule?
Use this checklist with any tool before a runbook runs without a person watching:
- Every step is written down. Exact menus, filters, date ranges and file names, not "pull the usual report".
- Read steps and write steps are separate. Mark which steps only look and which change something.
- Risky steps have an owner. Renewals, payments, deletions and setting changes need a named approver.
- Output has a home. A folder, a sheet and a channel where results land, so a missed run is noticed.
- There is a stop rule. What should happen if a page looks different or a number is far outside the usual range.
- It ran once while someone watched. The first run is the test.
Runbook automation options, compared
| Approach | Setup | Steps in a web UI with no API | Approvals | Best for |
|---|---|---|---|---|
| Follow the runbook by hand | None | Yes, by a person | The person decides | Rare or one-off procedures |
| cron or GitHub Actions scheduled workflows | Scripts and stored secrets | Only with browser scripts you maintain | Built by you | Steps with an API or command line |
| Runbook automation platforms (PagerDuty Runbook Automation, Rundeck) | Jobs built from scripts, commands and API calls | Through scripts you supply | Access control and audit logs | Infrastructure and incident runbooks |
| RPA (UiPath, Power Automate desktop flows) | Build and maintain bots; unattended runs need a paid license | Yes, through the built bot | Designed into the flow | High-volume, rule-based back-office work |
| Sai | The runbook in plain English, plus one watched run | Yes, from what is on screen | Asks before sign-ins, payments, sending and deleting | Web UI runbooks your scripts cannot reach |
If every step has an API or a command line, a scheduled script or a runbook automation platform is cheaper and easier to audit. Use Sai for the steps that only exist on a screen.
How to automate a runbook with Sai
- Paste the runbook. Write the steps as you would for a new teammate, with the read-only and approval rules. A full example is in the Start with a prompt tab above.
- Approve access. Sai asks before each sign-in. You approve credentials through a link, not by typing a password into the chat.
- Watch the first run. Sai works on a real computer, either a hosted cloud computer or your own Mac or Windows machine, and you can follow every click.
- Set the schedule. Daily, weekly or monthly. Each run starts on its own, without a new prompt.
- Answer the approvals. Risky steps wait for you. Approve once, approve for the whole task, or deny.
- Read the summary. Sai posts what it did and what needs you to Slack, and files the exports in Drive.
Sai ranks #1 on OSWorld, the public benchmark for agents that complete tasks on a real computer. Once Sai completes the runbook, its steps are kept as code that replays the same way, so scheduled runs are faster, cheaper and more consistent than working it out each time.
From your coding agent: add the Sai MCP server to Claude Code, Codex or Cursor and ask it to start the runbook, or call POST /v1/agents/message from your own scheduler or incident tooling. Paid plans add dedicated computers, one task each, so several runbooks can run at once. Read the quick start. If your own agent needs a computer for one-off tasks, see give your agent a computer tool.
Writing a runbook that is safe to schedule
- Default to read-only. Say so in the runbook, and list the few steps that may change something.
- Name the approval steps. Renewals, payments, user changes and deletions should always wait for a person.
- Use a service account where you can. Give the runbook the least access it needs in each console.
- Keep the evidence. Exports go to a dated folder and every run ends with a summary, so you can see what happened.
- Respect vendor terms. Automate only accounts you are allowed to use, at the pace a person would. Do not use it to scrape or resell data.
Related use cases: monitor competitor websites on a schedule and download bank statements automatically.
Last reviewed October 7, 2026.