Step 1: Create Your Template Document
You create one template document with Liquid variable placeholders. Each time the workflow fires, Rootly copies that template and replaces the variables with real incident data — so you never manually copy-paste incident details again.
Create the Document
Open Google Drive and create a new Google Doc
Go to New → Google Docs. Give it a clear, descriptive name so it’s easy to find later — for example:
- “Rootly Retrospective Template”
- “Executive Summary Template”
- “Incident Runbook Template”

Template Examples
- Standard Retrospective
- Detailed Retrospective
- Executive Summary
Common Liquid Variables
Step 2: Share Your Template with Rootly
Before Rootly can use your template, it needs read access to the document.- OAuth Users
- Service Account Users
Nothing to do here — the Google account you connected in the installation step already has access to documents you own.
Step 3: Create a Workflow
With the template ready and shared, create a workflow that triggers document generation automatically.Select a trigger
Choose the event that should kick off document creation:
- Incident — triggers on incident events like creation or resolution
- Retrospective — triggers when retrospective status changes
- Action Item — for follow-up documentation

Configure the workflow settings
Set any additional options — a descriptive name, conditions to filter which incidents trigger the workflow, and a destination folder in Google Drive.

Configuration Reference
| Setting | Description | Example |
|---|---|---|
| Template | The Google Doc to use as the source template | Select from dropdown |
| Trigger | When to generate a document | Incident Created, Incident Resolved |
| Conditions | Optional filters to narrow which incidents apply | Severity = SEV1, Duration > 30 min |
| Folder | Where to save the generated doc in Drive | /Incidents/2024 |
| Permissions | Who can access the generated doc | Domain, Team, Private |
| Delay | Wait before generating | 24 hours (useful for retrospectives) |
Troubleshooting
Document wasn't created
Document wasn't created
- Is the workflow toggled to active?
- Does the incident meet all the workflow conditions?
- Is your template shared with Rootly? (Service Account only)
- Check the workflow execution log for errors
Variables aren't being replaced
Variables aren't being replaced
- Double-check variable spelling — Liquid is case-sensitive
- Test the variable in the Liquid Explorer
- Make sure the field has data on the incident (e.g.,
mitigated_atwon’t exist on an unmitigated incident) - Use
| default: "N/A"to handle missing values gracefully
Permission errors during document creation
Permission errors during document creation
- OAuth: Re-authenticate if your access token has expired
- Service Account: Confirm the template is shared with the service account as Editor
- Confirm domain-wide delegation is still active in Google Admin
Document saved to the wrong folder
Document saved to the wrong folder
- Folder paths use forward slashes — confirm the path is correct
- Parent folders must already exist in Drive; Rootly won’t create them
- Test any Liquid expressions in the folder path separately
Best Practices
- Test with a real incident before relying on the workflow in production
- One template per document type — keep retrospective, runbook, and executive summary templates separate
- Use
| default:for optional fields so missing data doesn’t leave blank placeholders in your docs - Version your templates by keeping a dated copy before making significant changes
Next Steps
Test Your Workflow
Create a test incident to confirm the workflow fires and the document generates correctly
Liquid Explorer
Test Liquid variables against real incident data before adding them to your template







