Skip to main content

Overview

Workflows let you automate Confluence page creation and control exactly what information Rootly publishes during an incident. You can trigger a page creation when an incident resolves, when a retrospective begins, or on any other workflow event — and use Liquid variables to populate pages with live incident data.
If you do not need advanced trigger or condition logic, skip to Step 3 to add the action directly.

Step 1: Create a Workflow

1

Open workflow creation

Navigate to Workflows in the Rootly sidebar and click Create Workflow.
Rootly workflows page
Create workflow button
2

Choose a workflow type

Select the workflow type that matches your use case:
  • Incident — trigger actions during active incidents
  • Retrospective — trigger actions when a retrospective begins or changes status
  • Pulse — trigger actions on a schedule
Workflow type selection

Step 2: Configure Triggers

Triggers define when the workflow runs.
Workflow trigger configuration
TriggerWhen it fires
Incident CreatedA new incident is opened
Incident UpdatedA field like severity or status changes
Incident Status ChangedThe incident moves into a specific status
Retrospective Status ChangedThe retrospective status changes (e.g., Started, Published)
Manual TriggerAn operator runs the workflow manually from the UI
For retrospective pages, use Retrospective Status Changed with a condition of Status equals Started so pages are created when a retrospective kicks off.

Step 3: Add Conditions

Conditions let you refine when the workflow executes after a trigger fires.
Workflow conditions panel
Common condition patterns:
  • Severity filter — only create a page for SEV-1 or SEV-2 incidents
  • Team or service filter — scope page creation to incidents affecting specific teams or services
  • Incident type — ensure the workflow only runs when Kind is set to Incident
  • Environment — only generate pages for production or customer-impacting issues

Step 4: Add the Create Confluence Page Action

1

Add an action

Click Add Action and search for Confluence.
Add action dialog with Confluence search
2

Select Create Confluence Page

Choose Create Confluence Page from the results.
Create Confluence Page action selected
Confluence action configuration panel
3

Configure the action

Fill in the fields using the table below.
4

Save the workflow

Click Add, enter a workflow name, and click Create Workflow.

Action Fields

FieldRequiredDescription
Space KeyYesThe Confluence space where the page will be created. Find this under Space Settings → Space Details in Confluence.
TitleYesThe page title. Supports Liquid syntax (e.g., {{ incident.title }}).
AncestorNoPage ID of a parent page. If blank, the page is created at the root of the space.
Confluence TemplateNoA template fetched from your Confluence space. Overrides both retrospective template fields.
Custom Retrospective TemplateNoDefine page content directly using Liquid variables. Overrides the Retrospective Template field.
Retrospective TemplateNoA pre-built template from Retrospective Templates.
Mark Retrospective as PublishedNoPublish the page immediately rather than leaving it as a draft.
If a Confluence Template is selected, it overrides both the Custom Retrospective Template and Retrospective Template fields.

Update an Existing Confluence Page

In addition to creating pages, Rootly can update pages that already exist. Add an Update Confluence Page action and configure the following fields:
FieldRequiredDescription
Page IDYesThe ID of the Confluence page to update. Supports Liquid syntax to reference a page created in a prior step.
TitleNoUpdated page title. Leave blank to keep the existing title.
ContentNoUpdated page content using Liquid variables.
Confluence TemplateNoRe-apply a Confluence template when updating the page.

Creating a Confluence Template

Rootly fetches page templates directly from your Confluence space via the API. Templates you create in Confluence appear automatically in the Confluence Template dropdown within the workflow action.
1

Open your Confluence space

Navigate to the space where you want to create the template and open Space Settings.
Confluence space selection
2

Access template settings

Under Look and Feel, select Templates.
Confluence space settings showing Templates option
3

Create the template

Click Create New Template and add your content. Liquid syntax is fully supported.
Create new template button
Template editor with Liquid variables
4

Save the template

Click Save. The template will appear in the Confluence Template dropdown the next time you configure a Create Confluence Page action.

Template Examples

Use the Liquid Variable Explorer to test variables before deploying templates in production.
# Retrospective: {{ incident.title }}

**Date:** {{ incident.started_at | date: "%Y-%m-%d" }}
**Severity:** {{ incident.severity }}
**Status:** {{ incident.status }}

## Summary
{{ incident.summary }}

## Timeline
{{ incident.timeline_table_markdown }}

## Services Affected
{% for service in incident.services %}
- {{ service }}
{% endfor %}

## Teams Involved
{% for group in incident.groups %}
- {{ group.name }}
{% endfor %}

## Follow-Up Items
{% for action_item in incident.action_items %}
- {{ action_item.summary }} ({{ action_item.status }})
{% endfor %}

## Lessons Learned
[To be completed by the team]

Frequently Asked Questions

Rootly fetches templates from your Confluence space via the API. Ensure the template was saved in the correct space and that your Rootly integration has access to that space. Try disconnecting and reconnecting the integration to refresh the template list.
Check the workflow run log in Rootly for error details. Common causes include an invalid Space Key, a missing or incorrect Ancestor page ID, or a Liquid variable that returned an empty value for the Title field (Title is required). Verify the Space Key matches exactly what appears in Space Settings → Space Details in Confluence.
Use the Liquid Variable Explorer to verify that the variable returns a value for your incident. Some variables like incident.resolved_at will be empty if the incident has not yet resolved. Add a fallback using Liquid filters (e.g., {{ incident.resolved_at | default: "TBD" }}).
Add multiple Create Confluence Page actions to the same workflow, each configured with a different Space Key. Each action runs sequentially and creates an independent page.
Use the Update Confluence Page action after a Create Confluence Page action. Reference the created page ID via Liquid using the output of the prior step.