Skip to main content
Escalation path templates let you define the shape of an escalation path once and create as many paths from it as you need. When you create a new path using a template, you can set variables such as schedules, users, or teams. When you change the template, all escalation paths that use it are updated. Use templates when many of your teams share the same structure, and you’d otherwise maintain several escalation paths that differ only in the schedules or targets they use.

How templates work

A template has the same building blocks as any other escalation path: levels, branches, working hours and repeat settings. It also has variables. Each variable has a catalog type, such as Team, User or Schedule. A level can target a variable, or an attribute of it (e.g., a team’s Slack channel), in place of a specific user or schedule. Levels can also target specific users or schedules. These stay the same on every escalation path that uses the template. When you create an escalation path from a template, you set a value for each variable. Whenever an escalation is created, we resolve the variables and page matching users, schedules, and channels.

Create a template

  1. Navigate to Settings → Escalation path templates
  2. Click Create template
  3. Add at least one variable, with a name and a type
  4. Design the escalation path, using variables as targets where it makes sense. You can also use specific users or schedules as targets if they’re the same across every escalation path.
  5. Save the template
The template editor for a Standard team paging template. It posts in the owning team's Slack channel, pages the
primary schedule, then falls back to a leadership schedule. The Owning team and Primary schedule variables are in the
side panel.
You can also create a template from an existing escalation path. Open the path and choose Create template from its menu. The template starts as a copy of the path, and you can replace its targets with variables.
To target a team’s schedule, lead or channel through a Team variable, add them as attributes on your Team type in the catalog.

Create an escalation path from a template

Once your organization has a template, click Create path in On-call → Escalation paths and choose how to start:
  • Use a template: create an escalation path that uses the template. You set the variables, and the template defines everything else.
  • Make standalone: available from a template’s More options menu. Creates a detached copy of the template as a standalone escalation path. It won’t receive updates to the template, so use it when a team wants the same core structure but needs to make its own changes.
  • Create as standalone path: start from an empty escalation path
The Create escalation path drawer, listing templates to use, with the Make standalone option open on one of them, and a button to create a standalone path
An escalation path that uses a template shows the template’s levels with your variable values. To change the levels, edit the template.
The DataOps escalation path, created from the Standard team paging template. Owning team is set to DataOps and
Primary schedule to Data on-call, so the path posts in #dataops and pages the Data on-call
schedule.
You can use these escalation paths in alert routes, workflows and manual escalations, the same as any other escalation path.

Edit a template

When you save a template, all escalation paths that use it are updated straight away. Escalations that are already in progress keep the version they started with. Before you save, the editor checks the escalation paths that use the template against your changes and lists any that would have a problem. For example, a path might have no value for a variable you just added to a level. You can still save, then fix those paths afterwards.
To add a new variable to a template that’s already in use, add the variable without using it in any level. Set its value on each escalation path that uses the template, then update the template’s levels to use the variable.
Each escalation path’s version history records the template version it used, so you can see how the path looked at any point.

When a variable can’t be resolved

A variable value can stop resolving, for example if a schedule is deleted or a user is deactivated. The escalation still runs: levels that use that value are skipped, and the rest of the path pages as normal. Escalation paths with a problem are flagged on the template and on the path:
The Standard team paging template. The side panel says 1 path needs attention and flags the Payments path. The
channel step warns that a target pages nobody for
Payments.

Archive a template

You can’t archive a template while escalation paths use it. Archive those paths first, or replace them with standalone paths using Make standalone.
After you archive a template, you can’t restore earlier versions of escalation paths that used it.

Permissions

Creating, editing and archiving templates requires the Manage escalation path templates permission. Owners and admins have it by default, and you can add it to custom roles. This permission is separate from managing escalation paths. Editing a template updates all escalation paths that use it, even if you can’t edit those paths directly. Archiving a template also requires permission to archive the escalation paths that use it.

Terraform and the API

Manage templates as code with the incident_escalation_path_template resource in our Terraform provider. To get the Terraform for an existing template, choose Export to Terraform in the template editor. Use the escalation path templates API to create, update and archive templates, and the escalation paths API to create escalation paths that use them.

FAQs

An escalation path that uses a template can only change its variable values. To change its levels or branches, create a standalone path with Make standalone, then archive the original path.
Not directly. Create a standalone path with Make standalone, point your alert routes at it, then archive the original path.
Yes. Working hours, branches and repeat settings are part of the template, so they’re the same on every escalation path that uses it.
At least one active escalation path still uses it. Archive those paths first. This requires permission to archive escalation paths as well as templates.