> For the complete documentation index, see [llms.txt](https://support.incidentlake.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.incidentlake.com/settings/workflow.md). Agents can also search and read this documentation through its [MCP server](https://support.incidentlake.com/~gitbook/mcp).

# Workflow

Response phases, reusable task checklists, custom incident fields, and workflow automations.

**Settings → Workflow** is where Administrators describe *how* your organization responds, so every incident does not start from a blank page.

![Workflow settings](https://968089560-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIt3tiEFvyEigDf0ehORU%2Fuploads%2Fgit-blob-48f7dd3ab5fd711251161fe4753c30e34efed59a%2FSettings_Workflow.jpg?alt=media)

## Response phases

A workflow is a sequence of phases — for example Detected → Mitigating → Communicating → Resolved. You can keep one default workflow or create several (for example a security path and an availability path).

On an incident, people record when each phase happened. Those marks become the response-time picture used in analytics.

You can start from a template and then rename, add, or remove phases. Deleting a workflow archives it; incidents that already used it keep their history.

An individual incident can also use a custom timeline. That change stays on that incident and does not rewrite the shared workflow.

## Action item templates

Templates are reusable checklists (for example “customer communication” or “security incident first hour”). Give the template a name, add the steps, optionally tag it, and mark it active.

On an incident, apply a template instead of typing the same tasks every time. Responders can still add or remove tasks for that specific event.

## Incident response list (SOP)

The **Incident Response List (SOP)** is a project-wide checklist organized by standard response phases, such as Detect, Triage, Mitigate, Resolve, and Learn. Turn it on with the switch, choose a phase, and add steps.

New steps stay as drafts until you choose **Save to Workspace**. After that they are active on every incident.

![The Incident Response List (SOP) (1/2)](https://968089560-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIt3tiEFvyEigDf0ehORU%2Fuploads%2Fgit-blob-210c5a3fc793bd1b26843098ccb4251d676efc7b%2FSettings_SOP_1.jpg?alt=media)

![The Incident Response List (SOP) (2/2)](https://968089560-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIt3tiEFvyEigDf0ehORU%2Fuploads%2Fgit-blob-8f6a96805d8ed575e74599493735bff50a13430b%2FSettings_SOP_2.jpg?alt=media)

## Severity criteria

**Severity Criteria** defines what each severity level means for your project, from Level 1 (critical impact) to Level 5 (low impact). Edit a level to match how your team decides severity.

![Severity criteria (1/2)](https://968089560-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIt3tiEFvyEigDf0ehORU%2Fuploads%2Fgit-blob-776f39898cb105b06f6d81fb7180f47f01ef2ee8%2FSettings_SeverityCriteria_1.jpg?alt=media)

![Severity criteria (2/2)](https://968089560-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIt3tiEFvyEigDf0ehORU%2Fuploads%2Fgit-blob-999a840f70d697611e4b0864db5bb9567b7d2f68%2FSettings_SeverityCriteria_2.jpg?alt=media)

## ITIL settings

Open **ITIL settings (priority & subcategories)** at the bottom of the page.

* **Priority matrix** — choose the priority (P1 to P5) for each combination of impact and urgency, then choose **Save Matrix**. Incidents that already have impact and urgency are recalculated
* **Subcategories** — add subcategories under each incident category (System, Security, Operational), for example "Network"

Responders set impact, urgency, and subcategory on the incident's **ITIL Classification & Closure** tab. See [Work an incident](https://support.incidentlake.com/incidents/work-an-incident.md#itil-classification-and-closure).

## Incident custom fields

**Incident custom fields** adds fields your organization needs on every incident, such as the number of affected users, the site, or a customer ID. Choose **Add Field** and set:

| Setting               | What it does                                                                                                                                                                              |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Label**             | The name responders see                                                                                                                                                                   |
| **Key**               | A short ID used in exports and integrations. Starts with a lowercase letter and uses only lowercase letters, digits, and `_`                                                              |
| **Type**              | **Text (single line)**, **Text (multi-line)**, **Number**, **Date**, **Single select**, **Multi select**, **Checkbox**, or **URL**. The type cannot be changed after the field is created |
| **Options**           | The choices for a select field, one per line                                                                                                                                              |
| **Help text**         | A hint shown under the field                                                                                                                                                              |
| **Categories**        | Show the field only on incidents of these categories. Leave all unchecked to show it on every category                                                                                    |
| **Sort order**        | Where the field appears in the panel                                                                                                                                                      |
| **Required to close** | The incident cannot be closed while this field is empty                                                                                                                                   |
| **Active**            | When off, the field can no longer be filled in, but existing values are kept                                                                                                              |

Responders fill the fields in on the incident page, and can filter the incident list on each field and show it as a column. See [Work an incident](https://support.incidentlake.com/incidents/work-an-incident.md#custom-fields). Custom fields can also be defined and filled in over the Public API.

Deleting a field also deletes the values entered on every incident. To keep them, turn off **Active** instead. Changing these fields needs edit access to **Workflow**.

## Workflow automations

**Workflow automations**, at the bottom of the page, are "when an incident does X, do Y" rules your team builds itself. They can post to Slack, send email, call on-call, or send a webhook, and an AI condition can limit them to the incidents that actually fit. Only Administrators can create or change them. Everyone who can open this page can see each workflow and its run history.

Choose **Create**, or start from a template under **Start from a template**:

* **Announce new incidents on Slack and email**
* **Escalate to leadership at SEV-1**
* **Report resolution to stakeholders**
* **Call on-call when an incident starts**
* **Announce incidents that look customer-facing**
* **Start an automatic rollback for release-caused outages**

The last two start with an [AI condition](#add-an-ai-condition) already written.

The builder opens on a canvas. The trigger on top decides when the workflow runs, and the steps below decide what happens. Use the **+** on a line to add a step, and drag steps to reorder them. Steps run from top to bottom, up to five per workflow. Select a node to edit it in **Setup** on the right.

| Trigger              | Condition you can add                                                                                                                                            |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Incident created** | None. It runs however the incident was created: web, Slack, Teams, alert integrations, or the API                                                                |
| **Status changed**   | **New status**, such as **Becomes "Resolved"**                                                                                                                   |
| **Severity changed** | **Becomes SEV-N or worse**. It runs once, when the incident crosses that line. With **SEV-2 or worse**, SEV-3 → SEV-2 runs, and SEV-2 → SEV-1 does not run again |

| Step               | What it does                                                                                                                                                              |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Post to Slack**  | Posts a message to a channel                                                                                                                                              |
| **Send email**     | Emails up to 10 people or mailing lists                                                                                                                                   |
| **Call on-call**   | Phones whoever is on call on a schedule, following that schedule's retries. Needs the on-call add-on. See [On-call](https://support.incidentlake.com/settings/on-call.md) |
| **Send a webhook** | Sends the run as JSON to a URL, for example to start a CI job, runbook, or script. See [Send a webhook](#send-a-webhook)                                                  |

In the message, subject, and body, insert the workflow name, incident name, incident URL, status, severity, what happened, or the AI reason with the variable buttons, and check the result in the preview. Leave a field empty to send a default text in your project's language.

Turn a workflow on or off from the list. Then open **Runs** to see recent runs, and pick one to see each step's result on the canvas. A run ends as **Succeeded**, **Partially failed**, **Failed**, or **Skipped by AI**. A failed step is not retried.

### Add an AI condition

Some rules should not fire for every incident, such as announcing only the incidents that affect customers. Select the trigger and describe the incidents the workflow is for in **AI condition (optional)**, in your own words and up to 500 characters. For example: *Customer-facing payments or sign-in are affected*.

When the trigger fires, the AI reads the incident's title, severity, affected services, summary, and latest notes and chat, and the steps run only when the incident fits the condition. Otherwise the run is recorded as **Skipped by AI** with the reason. Each check uses AI credits.

* The canvas shows an **AI condition** node between the trigger and the steps. In **Runs**, each run shows the AI's verdict and reason
* Insert **AI reason** in a message to tell people why the workflow ran
* Before you turn the workflow on, choose **Try on recent incidents** to see how the condition judges your five most recent incidents, each marked **Runs**, **Skipped**, or **Not checked** with the reason. Drill and merged incidents are left out

{% hint style="warning" %}
If the AI cannot check the condition, for example because your AI credits are used up, the run is recorded as **Failed** and no step runs. A page or a webhook never goes out on a guess.
{% endhint %}

### Send a webhook

**Send a webhook** lets a workflow start anything that takes an HTTP call, such as a CI job that rolls back a release, a runbook, or a chat-ops bot. Enter the **Destination URL**, up to 2,000 characters.

* The URL must start with `https://`, use port 443, and point to an address reachable from the internet. Private network addresses are refused, and redirects are not followed
* Incident Lake sends a POST request with a JSON body: the run ID, the workflow, the trigger with the status or severity change, the incident's ID, name, status, severity, and URL, the AI condition result when there is one, and the time it was sent. **What is sent** in the step shows an example
* Each request has an `X-IncidentLake-Event` header set to `workflow_automation.run`, and an `X-IncidentLake-Delivery` header that is unique per run and step, so the receiver can drop duplicates
* The receiver must answer with a 2xx status within 10 seconds. Any other answer, or no answer, is recorded as a failed step

{% hint style="warning" %}
Requests are not signed. To let the receiver check that a call really comes from your workflow, use a URL that carries a secret token. Members who are not Administrators see only the host of the URL.
{% endhint %}

{% hint style="info" %}
Changes are detected every minute, so a run can take up to a minute to start. Changes made before a workflow was turned on never trigger it, and drill incidents are ignored.
{% endhint %}

## Incident automation

Use the **Incident Automation** tab to manage automation in one place. Each feature has its own on/off switch.

Depending on your project setup, you can turn key steps on or off separately, including severity handling, incident commander guidance, affected services suggestions, postmortem support, and task support.

The recommended path is to turn on **Incident Response Agent** first. If you keep the agent off, you can still turn on individual automation features one by one. See [Incident Response Agent](https://support.incidentlake.com/incidents/agent.md) for what the agent does, and how responders can try it on one incident before you turn it on.

You can turn **Auto-mention** on or off even when no channels are selected.

If a switch is unavailable, the tab explains why, such as:

* a required platform is not connected
* the Incident Response Agent already covers that behavior for this severity
* the current automation works only in Slack

### Deadlines, escalation, and major incidents

Three cards under **Individual automations** help you keep promises on response time. Only project Administrators can change them.

| Card                     | What it does                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Response SLAs**        | Set deadlines for **Response started**, **Service restored**, **Resolved**, or response activities, for all priorities or one priority. Turn on the **Business-hours calendar** to count only working hours, with your time zone, working days, and holidays. When a deadline is missed, a reminder goes to the incident's chat channel. Incidents without a chat channel send an in-app notification to the Incident Commanders, or to the Administrators |
| **Automatic escalation** | Escalate to incident roles or members when an incident has no response, is not restored, or is not resolved after a set number of minutes. Add several rules on the same condition to escalate in tiers. A rule can also target an on-call schedule, which phones the person on call. See [On-call](https://support.incidentlake.com/settings/on-call.md)                                                                                                  |
| **Major incidents**      | Declare a major incident automatically when the priority reaches the **Auto-declare threshold**, apply an SOP template on declaration, and notify the commanders and Administrators. Incidents declared or cleared by hand are never changed by the rule                                                                                                                                                                                                   |

To make sure someone accountable hears about incidents that stay open for days, see [Escalate unclosed incidents to the owner](https://support.incidentlake.com/settings/incident-roles.md#escalate-unclosed-incidents-to-the-owner).

Major incident notices in chat and in the app are sent only while the incident is **Ongoing**. If an incident is declared major while it is **Stalled**, the notice goes out once it is back to **Ongoing**, and it is sent only once.

Measured SLO targets, such as time to restore or availability, are set on each service in the [CMDB](https://support.incidentlake.com/management/cmdb.md#service-levels).

{% hint style="info" %}
If Incident Response Agent is on, unattended auto-severity does not run. The agent proposes a severity and asks you to confirm it. Your saved auto-severity setting is kept and starts working again if you turn the agent off.
{% endhint %}
