Create Your First Runbook
Last updated on
Runbooks automate incident response actions and provide step-by-step guidance for responders.
Before you begin
- AI SRE access: A Harness project with AI SRE enabled. Go to the AI SRE onboarding guide to review prerequisites.
- Integrated tools: Runbook actions call your connected tools. Go to Integrate Your First Tool to connect them first.
- Incident types: To attach a runbook to a trigger, define an incident type first. Go to Set Up Your First Incident Type to create one.
Create a runbook
- Step by Step
- Interactive Guide
Create the runbook
Create a new runbook and give it a name:
- Navigate to Runbooks from the left pane
- Click on New Runbook
- Fill the creation form with the details:
- Fill in the runbook details
- Click on Save
Add the first action
Add an action from the available categories:
- Click on New Action
- Select the action from the categories you want to add in your runbook. The actions have been classified into different categories based on the use case
- Select the action:
- Select the action
- Click on Select
Configure the action
Set the details for the action you selected:
- Fill the details for the selected action
- Click on Save
Add more actions
Once saved, you can add more actions:
- Click on New Action
- Then, Select Action and repeat the steps and save
Add triggers (optional)
Additionally, you can add triggers for your runbooks. Click on Triggers (this step is optional).
- Click on New Trigger
- Select the Incident type from the dropdown with which you want to attach the runbook
- Define the condition of the trigger
- Click on Save from the top right
Automate response actions and guide responders step-by-step during incidents.
Next steps
- Go to Expression Languages to learn about CEL and Mustache for dynamic content.
- Go to Create Runbooks for advanced runbook configuration.
- Go to Configure Runbook Triggers to automate runbook execution.