StyloDocs
Recipes

Escalation & SLA Monitor

Run every 30 minutes to find open tickets approaching or breaching SLA, then escalate with priority bumps, tags, Slack alerts, and internal notes.

View as Markdown

Run every 30 minutes to find open tickets approaching or breaching SLA, then escalate with priority bumps, tags, Slack alerts, and internal notes.

Prerequisites: Connect Zendesk, Slack before adding this recipe. See Integrations.

How it works

Each box is a block; arrows show the order Stylo runs them, and branch labels show the path taken on each outcome.

Parameters

Set these when you add the recipe to your workspace:

ParameterTypeDefault
sla_hoursnumber4
slack_channelstring#escalations
escalation_group_idstring

Blocks used

Every block in this recipe, linked to its reference page where one exists:

BlockTypeWhat it does
Scheduletrigger/scheduleTrigger workflow on a cron schedule
Search Ticketszendesk/search-ticketsSearch for Zendesk tickets
Conditionsystem/conditionBranch the workflow based on a boolean expression
Loopsystem/loopIterate over items, a fixed count, or while a condition is true
Set Ticket Priorityzendesk/set-ticket-prioritySet the priority level on a Zendesk ticket (low, normal, high, or urgent).
Add Tagszendesk/add-tagsAdd tags to a ticket for classification and tracking
Assign Ticketzendesk/assign-ticketAssign a ticket to an agent or group
Send Slack Messageslack/send-messageSend a message to a Slack channel
Add Comment / Replyzendesk/add-commentAdd a public reply or internal note to a ticket

When to use it

Use this to enforce response-time commitments. It runs on a schedule, finds open tickets approaching or past their SLA, and escalates them with a priority bump, tags, a Slack alert, and an internal note.

Adapt it

This recipe is a starting point. To fit it to your workspace:

  • Set the sla_hours parameter to your own SLA window.
  • Set the slack_channel parameter to the channel that should receive escalation alerts.
  • Set the escalation_group_id parameter to the Zendesk group that owns at-risk tickets.
  • Edit the Search filters and the schedule interval to match how often you want SLA checks to run.

On this page