Editing Runbooks
Runbooks can be edited in three main ways:
Chat-based editing - Use natural language prompts to modify Runbooks through the AI agent
Manual full Runbook editing - Edit the entire Runbook structure and content directly
Individual step editing - Modify specific steps within a Runbook
Each approach has its own advantages depending on your needs and the complexity of changes you want to make.
Chat-based editing with prompts
The easiest way to modify a runbook is by providing natural language instructions to the AI agent through the chat interface. This method is ideal for making conceptual changes or adding new functionality without diving into the technical details.
How to use chat-based editing
Navigate to your runbook in the Aviator interface
Open the chat panel or find the "Edit with AI" option
Describe the changes you want to make in natural language
Review the proposed changes and approve them

Example prompts for editing
Here are some effective ways to request runbook modifications:
Adding new steps:
"Add a step to run unit tests before deployment"
"Include a code review reminder at the beginning"
"Add validation to check if all environment variables are set"
Modifying existing logic:
"Change the deployment target from staging to production"
"Update the notification channel to #releases instead of #general"
"Modify the approval process to require two reviewers instead of one"
Conditional modifications:
"Only run the deployment step if all tests pass"
"Add a rollback step that triggers if deployment fails"
"Skip the documentation update for hotfix branches"
Integration changes:
"Add GitHub status checks integration"
"Include Jira ticket updates in the workflow"
Best practices for prompts
Be specific: Instead of "make it better," explain exactly what you want to achieve
Provide context: Mention the current behavior and desired outcome
Use examples: If you have specific commands or configurations in mind, include them
Test incrementally: Make one change at a time to ensure each modification works as expected
Editing individual steps
When you need to make targeted changes to specific parts of your Runbook, individual step editing provides a focused approach without affecting the rest of the workflow.
Selecting a step to edit
Open your Runbook in the main view
Find the step you want to modify in the steps list
Click the edit icon (pencil) next to the step name
The step editor will open in a focused view

Step editor interface
Editing a step gives you the raw markdown that you can edit. Please remember the first line in the raw markdown represents the title of the step.

Common step modifications
Updating commands:
Modify shell commands or scripts
Change command-line arguments
Update file paths or resource references
Adjusting conditions:
Modify when the step should execute
Update success/failure criteria
Change timeout values
Managing dependencies:
Add or remove dependencies on other steps
Modify input requirements
Update output specifications
Configuring notifications:
Change notification recipients
Modify message templates
Update delivery channels
Manual full Runbook editing (not recommended)
For complex modifications or when you need precise control over the runbook structure, manual editing gives you complete access to the Runbook's markdown to edit.
Accessing the runbook editor
Open your Runbook from the main dashboard
Click the "Markdown", tab and click "Edit".
The full editor will open, showing the complete Runbook structure as raw text.

Please familiarize yourself with Runbooks format before editing the full markdown.
Versioning
Aviator maintains the historic versioning of all Runbooks. The versioning is sequential in increasing order and you can rollback to an older version of Runbook at any time. Even after rolling back to the previous version, a subsequent version would still represent the next incremental number than the highest sequential version.
See more
Last updated
Was this helpful?
