Documentation Index
Fetch the complete documentation index at: https://docs.rootly.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Retrospective templates let you define reusable document structures that Rootly pre-fills when a retrospective is created. Templates support Liquid for dynamic incident data, as well as special embedded components for timelines and follow-up action items. Templates are applied through retrospective workflows, which means you can use workflow conditions to select different templates based on incident properties such as severity, team, or incident type.Create a Template
Name the template
Give the template a descriptive name. Names must be unique within your team.
The display name for this template. Used when selecting a template in workflow actions and the retrospective editor.
Choose a format
Controls how template content is interpreted and rendered.
- HTML — for use with the Rootly rich-text retrospective editor and integrations that accept HTML (Confluence, Notion, Coda)
- Markdown — for integrations that render Markdown natively (GitHub, linear, or custom pipelines)
Write the content
Add structure, static text, Liquid variables, and dynamic blocks. See Liquid in Templates and Dynamic Content Blocks below.
Liquid syntax is validated when you save. If your template contains a Liquid error, Rootly will show the specific syntax error and prevent saving until it is fixed.
Set as default (optional)
Marks this template as the default for the team. When a retrospective workflow action does not specify a template, the default template is used. Only one template can be the default at a time — enabling this on a new template automatically removes the default flag from the previous one.
Liquid in Templates
Templates support the full Liquid templating language. Use{{ variable }} syntax to insert dynamic values and {% %} blocks for conditionals and loops.
All incident variables available in workflows are also available in templates. See Incident Variables for the complete reference, or use the Liquid Markup explorer to browse variables interactively.
Common patterns
Pre-fill incident metadataDynamic Content Blocks
In addition to Liquid, templates can include two special embedded components that render live data rather than static text.Timeline block
Inserts the incident’s full timeline into the retrospective. The timeline renders as an interactive component and respects the timeline display settings on the retrospective (ascending or descending order, starred-only filter). To insert a timeline block, use the/timeline slash command in the retrospective editor when building the template.
Follow-ups block
Inserts the incident’s action items (follow-ups) as an interactive list. You can configure the sort order of the follow-ups block:Controls the order in which follow-up action items appear in the rendered block.
- due_date — sorted by due date, earliest first
- status — grouped by completion status
- priority — sorted by priority level
/followups slash command in the retrospective editor when building the template.
Apply Templates with Workflows
Templates are applied through Retrospective workflows. The workflow runs when a retrospective is created or updated and uses the Create Incident Retrospective or Update Incident Retrospective action to populate the document from a template.Basic setup
- Go to Workflows and create or open a Retrospective workflow.
- Set the trigger to Retrospective Created.
- Add a Create Incident Retrospective action.
- In the action, select the template to apply.
The initial retrospective is created when the incident is resolved, not when it is mitigated. A workflow triggered by Retrospective Created will run at resolution time.
Conditional template selection
To apply different templates based on incident properties, create separate workflows with different run conditions — each pointing to a different template. Example: template per severity| Workflow | Run condition | Template |
|---|---|---|
| SEV1 retrospective | Severity is SEV1 | P1 deep-dive template |
| SEV2 retrospective | Severity is SEV2 | Standard template |
| Default retrospective | No conditions | Lightweight template |
- Team — apply a team-specific template for teams with different retrospective processes
- Incident type — use a security-focused template for security incidents
- Services — apply a template tailored to a critical service
Apply Templates Through Integrations
You can also use retrospective templates when pushing documentation to external tools. In the workflow action for the relevant integration, select a template to structure the generated document. Supported integrations:Default Template
One template can be marked as the default for the team. The default template is used when:- A retrospective workflow action does not specify a template explicitly
- A user generates a retrospective from the UI without selecting a template
Frequently Asked Questions
When does Rootly generate a retrospective from a template?
When does Rootly generate a retrospective from a template?
A retrospective workflow with the Retrospective Created trigger runs when the incident is resolved. That is when the initial retrospective is created and the template is applied.
Can I have different templates for different incidents?
Can I have different templates for different incidents?
Yes. Create separate retrospective workflows with different run conditions — one per template. Use conditions on severity, team, incident type, or any other incident field to route each incident to the right template.
What happens if my Liquid has a syntax error?
What happens if my Liquid has a syntax error?
Rootly validates Liquid syntax when you save the template. If a syntax error is found, the save is blocked and the error message identifies the specific issue. Fix the syntax and save again.
Can I use templates with external integrations?
Can I use templates with external integrations?
Yes. Workflow actions for Confluence, Google Docs, Notion, and Coda support selecting a retrospective template to pre-fill the created document.
What is the minimum number of templates I must keep?
What is the minimum number of templates I must keep?
At least one. Rootly prevents deletion of the last remaining template for a team.
What formats are supported?
What formats are supported?
HTML and Markdown. Use HTML for the Rootly editor and most integrations. Use Markdown when your target integration renders Markdown natively or when you need plain-text portability.