On this page
The worst part of an alert is often not the fix. It is the first stretch after it fires: opening dashboards, copying logs and working out what is actually broken. If the alert comes at night, someone wakes up to do that part by hand.
How automations work
An automation is a job Kepler runs without you in the room. You describe it in plain words, check the steps Kepler drafts, and press Go live.
Each automation has a trigger and a list of steps. The trigger can be:
- A schedule, such as every weekday at 09:00 UTC.
- A webhook. Your alert source posts to the automation's address.
- A check that changes. A read-only command runs every few minutes, and the automation runs when its output changes.
- A message in a chat. Someone you allowed sends the automation's
/command. - Run now, by hand.
Steps can run a command, read from a connected service, ask the model to judge what earlier steps found, wait, ask you first, notify you, post in a chat, or publish a report to the Feed.
You do not build it from scratch. Click Automations in the sidebar and write what you want in the box, or start from one of the templates. Kepler drafts the automation as a flow of steps on a canvas. Try it on any step runs the reads for real and sends or changes nothing. Each automation also has its own chat, the automation builder, that can add a step, explain a failed run or change the schedule. It changes only the draft. Every edit lands in a draft, and what runs changes only when you press Go live.
What the video shows
- The Automations page opens from the sidebar.
- Picking the Weekly reliability review template fills the prompt box with its brief.
- You can also ask in plain English. The example: send a Slack summary and self-heal whenever Datadog fires a monitor alert.
- A Datadog CPU alert on an orders host triggers the automation Self-heal: stuck query on CPU alert. Its brief is to find the stuck database query, end it, and report in Slack.
- The automation's last run shows "worked".
- The Slack message says the stuck query was killed: six runaway queries from
checkout-apionorders-dbwere ended, and CPU is back to normal.
What keeps it safe
Automations run with nobody watching, so the limits are tighter than in a chat.
- An automation runs in Observe or Assist, never Yolo.
- A step that changes something runs only with the permission you give at Go live: Every run, or Ask me each time. Ending a query, as in the video, is a change, so that step runs only because someone allowed it.
- Ask me each time pauses the run and asks you in the Feed and on your phone, for up to an hour. If nobody answers, the step is skipped and the run finishes, or the run stops, as you chose.
- The permission is tied to exactly what that step does. Edit the step and Go live asks again. Kepler cannot give or widen a permission, and Take back this permission removes it.
- Posting to a conversation other people read, such as
#incidents, needs your OK at Go live. - Commands on the always-blocked list are refused when you save, and again when the step would run.
- What a webhook or a chat message carries is treated as data, never as instructions.
- Each run has a budget for model tokens and run time. A run that hits either ends and says so.
For a bigger fix, a good pattern is to have the automation press a button your team already built: pause with Ask me first, trigger your existing rollback pipeline, then wait until a check confirms the fix.
When to use it
- A morning brief of what broke overnight.
- A first look at every alert as it arrives, so the investigation has started before anyone opens a laptop.
- A check that tells you when a rollout stalls.
- A
/triagecommand your team can send from a connected chat. - A fix you have done many times and trust, with the permission set to Ask me each time until you are sure.
Where next
Read the full Automations docs for every trigger and step, webhooks and the YAML file each automation is kept in.
The next tutorial shows where these reports land, and how to go from a report to the machine it is about: Kepler Feed and Remote Machines.
