TICKET MANAGEMENT

Escalate Near-SLA-Breach Tickets by Revenue Weight

When a Zendesk ticket approaches its SLA deadline, checks the account's ARR from a Postgres CRM mirror and routes only the high-revenue ones to PagerDuty while logging the rest.

CategoryTicket Management
Enginesim
Difficultyintermediate
Triggerwebhook
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerZendesk SLA-warning webhook firesZendeskZendesk
  • ActionLook up account ARR in Postgres CRM mirrorPostgreSQLPostgres
  • LogicGate on ARR threshold and time-to-breach
  • ActionHigh impact: create PagerDuty incident with ARR payloadPagerDutyPagerDuty
  • OutputLow impact: write event to Postgres escalation logPostgreSQLPostgres

What it does

Not every SLA breach deserves a page. This workflow listens for Zendesk SLA-warning events, looks up the affected account's ARR in a Postgres CRM mirror, and applies a revenue gate: tickets tied to high-ARR accounts trigger a PagerDuty incident, while lower-impact ones are recorded to a tracking table for normal handling.

When to use it

Use it when SLA-breach alerting is noisy and on-call engineers are paged for low-stakes tickets. Best for teams with a synced Postgres copy of CRM data who want escalation severity to track affected revenue rather than treating every deadline equally.

How it works

  1. 1A Zendesk SLA-warning webhook fires as a ticket nears its deadline.
  2. 2The ticket's organization is matched to an account row in Postgres and its ARR read.
  3. 3A gate compares ARR against a high-impact threshold and the remaining time to breach.
  4. 4Above threshold: a PagerDuty incident is created with the ARR and time-to-breach in the payload.
  5. 5Below threshold: the event is written to a Postgres escalation-log table for later review.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect ZendeskTickets, queues, knowledge base.
  2. 2
    Connect PostgresAny Postgres URL — query, write, migrate.
  3. 3
    Connect PagerDutyIncidents, on-call, escalations.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.