Skip to content
Chapter 18Workflows

Send updates when an incident changes

Choose a lifecycle event, match the incidents you care about and send a webhook notification.

7 min read

Separate paging from status updates

Routing rules and escalation policies decide who owns an incident and who is paged. Workflows send additional updates when an incident is created, changes status, retries a notification, escalates, or exhausts its escalation policy.

Admins configure workflows in Route → Workflows. Incident managers and viewers can inspect the configuration. This guide covers webhook notifications, including Microsoft Teams cards and plain-text Slack webhooks.

Using Teams?
Complete the Microsoft Teams guide first to obtain a working Power Automate destination. Native Slack installation and interactive incident actions use the separate Slack integration.

Create one workflow

  1. 1

    Name it and select the event

    In Single workflow, choose a name that states the destination and purpose, such as “Platform chat — incident resolved”. Select incident.status_changed for this example.

  2. 2

    Add conditions

    Set status equals resolved. Add a project or other supported incident field if only part of the workspace should match. Every condition must match; an empty condition list matches every incident for that event.

  3. 3

    Choose the webhook action

    Select post_webhook, enter the destination URL and choose its format. Use Microsoft Teams — Power Automate for the Teams flow, Slack / plain text for a simple Slack webhook, or Raw JSON for a receiver with its own payload contract.

  4. 4

    Write the message and save

    Add a short title and message using the variables listed by the editor. Save the workflow, then confirm it is active in the table.

Example resolved message template
{{issueKey}} — {{summary}} has been resolved.
Acknowledged by: {{acceptedBy}}
Time to acknowledge: {{mtta}}
Time to resolve: {{mttr}}

Use equals or not_equals for a single value, in or not_in for comma-separated values, contains for a partial match, and exists to require a field. Check the exact field values on a representative incident.

Add Start group call and group chat buttons

A Teams card can end with Start group call and Start group chat buttons. Selecting one opens Teams with the chosen people already filled in, so responders can jump on a call straight from the incident card. Teams cannot ring an existing chat from a card, so Comtinel decides who to ring from the workflow.

  1. 1

    Open the workflow

    In Route → Workflows, click Edit on a workflow that uses a Microsoft Teams format, for example the new-incident or exhausted-escalation card. Bulk setup does not add the buttons, so edit each workflow you want them on.

  2. 2

    Choose who is rung

    Under Group call / chat buttons, select Members of the incident's team to ring the team the incident is routed to, or Specific people to tick up to 20 people. Use the team option when the chat mirrors a Comtinel team; use specific people when it does not.

  3. 3

    Pick the buttons and save

    Tick Start group call, Start group chat, or both, then click Update. Leave the setting on Off to keep the card exactly as it was.

  4. 4

    Test on a real Teams client

    Trigger the event, open the card in Teams on desktop and mobile, and select each button. Confirm the right people appear in the call or chat.

What to know
People are matched by their Comtinel sign-in e-mail, which must be the address they use in Teams. Inactive or unapproved users and users without an e-mail are skipped, and the list is capped at 20. If nobody can be rung, for example when the incident has no team, the buttons are left out and the card is still delivered. E-mail addresses appear only inside the button links, never in the card text.

Use the lifecycle templates carefully

The Teams templates cover new incidents, notification retries, escalation, acknowledgement, resolution and exhausted escalation. The project-to-chat bulk setup adds those six workflows and configures a shift handoff destination.

The default SEV-1 template filter matches the Jira issue type Severity 1 - Incident. It is not a generic filter for every monitoring source. Review or replace it before using a template with Prometheus, Grafana or another source.

Bulk setup reports which items succeeded. Check the list before retrying a partially completed setup so you do not create duplicate messages. The shift destination is workspace-wide; see Shift notifications.

Test the event and inspect delivery

  • Use a controlled incident and the intended destination, with the test responder informed.
  • Trigger the exact lifecycle event and confirm the workflow conditions match.
  • Open the incident's Teams / Webhook notifications to inspect the recorded result, HTTP status or error.
  • Confirm a person can see the message in the destination; an accepted webhook is not proof that a downstream flow finished.
  • Check that unrelated incidents do not match the workflow.

If no delivery is recorded, check the active switch, event and conditions. If delivery failed, check the destination URL, authentication requirements and receiving service. For Teams, inspect the flow's run history as well.

Keep destinations current

Pause a workflow with its active switch when you need to stop new updates. Edit the existing workflow when a destination or message changes. Delete only after confirming it is no longer needed.

Treat webhook URLs as credentials. Replace the URL in Comtinel when it is rotated at the destination, and test again. Review workflow owners and destination access when someone leaves the team.