> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibraniumlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Automation Actions overview

Automation Actions let you define **what should happen automatically** when something occurs in Vibe OnCall — for example, when a new alert fires, when an incident is declared, or when a war room is created. Each automation pairs a **trigger** (the event that fires) with one or more **actions** (what to do in response), optionally gated by **conditions** so the action only runs in the situations you care about.

For organization and team navigation, see [Global and team pages](https://docs.vibraniumlabs.ai/administration/global-and-team-pages.md).

With Automation Actions you can send alerts to the right Slack channel, auto-declare incidents from high-severity alerts, pull the right responders into a war room the moment it opens, and keep stakeholders updated as the incident timeline evolves — without anyone lifting a finger. You can even have an AI assistant automatically triage new alerts and post its findings right under the alert, so responders start with a head start instead of a blank page.

***

## How Automation Actions Work

Every automation is built from three parts:

| **Part** | **What it does** |
| - | - |
| **Trigger** | The event that starts the automation (e.g. a new alert arrives, an incident is declared). |
| **Conditions** | Filters that decide whether an action should run — based on severity, provider, or any field on the triggering event. Conditions can apply to the **whole automation** (gating every action) and/or to an **individual action** (gating just that step). An action runs only when both its automation-level and action-level conditions match. |
| **Action** | What Vibe OnCall should do when the trigger fires and the conditions are met. |

***

## Triggers

![](https://mintcdn.com/vibranium-labs/z6cYEzz6lasH-USn/images/automations/0.png?fit=max\&auto=format\&n=z6cYEzz6lasH-USn\&q=85\&s=bcac7e3dc6fee5f8d043f96f71b141c9)

| **Trigger** | **Fires when…** |
| - | - |
| **Alert Created** | A new alert is ingested from any integrated source (Datadog, PagerDuty, Sentry, custom webhook, etc.). |
| **Alert Timeline Updated** | A new event is added to an alert's timeline — such as a status change, paging notification. |
| **User Runs a Custom Alert Action** | A responder picks the action from the **Actions** menu on an alert. Nothing fires on its own. See [Custom Alert Actions](https://docs.vibraniumlabs.ai/automations/custom-alert-actions.md). |
| **Incident Created** | A new incident is declared, either manually, by Vibe OnCall, or via automation. |
| **Incident Timeline Updated** | A new event is added to an incident's timeline — state change, severity, responder action, or AI summary. |
| **Incident War Room Created** | A war room channel is provisioned (Slack or Microsoft Teams) for an incident. |

***

## Conditions

![](https://mintcdn.com/vibranium-labs/z6cYEzz6lasH-USn/images/automations/1.png?fit=max\&auto=format\&n=z6cYEzz6lasH-USn\&q=85\&s=094d9969ae05dc7f156503c07269d93a)

Vibe OnCall supports the following condition types:

| **Condition** | **What it filters on** | **Available for** |
| - | - | - |
| **Field** | The alert or incident's title, description, or any key under its metadata (e.g. service, cluster, tag). | Alert and incident triggers |
| **Severity** | The severity of the triggering event — `SEV0`–`SEV5` / `SIGNAL`. Alerts and incidents use the same scale. If your organization uses the P-level severity preference, these appear as `P0`–`P5` instead. Comparisons go by severity, not by the number: *More severe than SEV3* matches SEV0–SEV2, and *SEV3 or less severe* matches SEV3, SEV4, SEV5, and SIGNAL. The help icon next to a severity condition lists exactly which levels it matches. | Alert and incident triggers |
| **Provider** | The integration source the alert came from (Datadog, PagerDuty, custom webhook, etc.). | Alert triggers |
| **Team** | The team the alert belongs to. | Alert triggers |
| **Originating channel** | The Slack or Microsoft Teams channel the incident was declared in. | Incident triggers |

*Alert triggers* here means **Alert Created**, **Alert Timeline Updated**, and **User Runs a Custom Alert Action**; a custom alert action's conditions also decide which alerts offer it in the **Actions** menu (see [Custom Alert Actions](https://docs.vibraniumlabs.ai/automations/custom-alert-actions.md)).

Conditions can be combined into groups using **AND** / **OR** logic, and groups can be nested — so you can express filters like *"(provider is Datadog AND severity is SEV0 or SEV1) OR (provider is PagerDuty AND severity is SEV0)"*.

**Field conditions** support these operators: *contains*, *exact match*, *does not contain*, and *matches regex* (a regular-expression match). Regex patterns are validated when you save and are rejected if they're malformed or unsafe (to protect against runaway matching).

**Originating channel conditions** support *is one of* and *is not one of*. Channels are chosen from your connected Slack or Microsoft Teams channel list — the same picker used by Publish to Channel actions, so you can also paste a channel ID or link when the workspace list is still loading.

Incidents with no originating channel — raised from an alert, the API, or declared from the dashboard — have nothing to match against: *is one of* does not match them, and *is not one of* does. This mirrors how Team conditions behave, so an exclusion rule never silently drops incidents that simply have no channel.

> [!NOTE]
>
> Incidents declared from a Microsoft Teams group chat or meeting chat, or from a Slack DM, record that conversation as their origin — but the picker lists only workspace and team channels, so those origins cannot be selected. An *is one of* condition is unaffected; an *is not one of* condition will not exclude incidents from those sources.

### Where conditions apply

Conditions can be set at two levels:

* **Automation-level** — apply to the entire automation; every action is gated by them.
* **Action-level** — apply to a single action only, layered *on top of* automation-level conditions (both must match for that action to run).

This lets a single automation branch by severity — e.g. *publish every alert that is `SEV1` or more severe to Slack, but only run the AI assistant on `SEV0` ones*.

***

## Actions

![](https://mintcdn.com/vibranium-labs/z6cYEzz6lasH-USn/images/automations/2.png?fit=max\&auto=format\&n=z6cYEzz6lasH-USn\&q=85\&s=124500ecb59de9269ede5dc81fd0577f)

| **Action** | **What it does** | **Useful for** |
| - | - | - |
| **Publish to Channel** | Posts a Slack message about the alert or incident, formatted automatically with the key details. | Broadcasting alerts to an on-call channel, or sharing incident updates in a status channel. |
| **Send Direct Message** | Sends a Slack DM to one or more specific people. | Paging an individual responder, or quietly pinging a stakeholder without filling a public channel. |
| **Invite Users to Channel** | Pulls people into a Slack channel — usually the war room — as soon as it opens. | Making sure the right responders are already in the room when the conversation starts. |
| **Declare Incident** | Turns the triggering alert into a new incident. | Spinning up incident response automatically for high-severity alerts, instead of waiting for someone to declare it by hand. |
| **Create Incident Ticket** | Files a Jira or Linear ticket from an incident, with title and description drafted from incident context, and links the new ticket back to the incident. | Ensuring every qualifying incident has a tracking ticket in your issue tracker without relying on responders to file one. |
| **Run Assistant Agent** | Runs an AI assistant against a new alert and posts its analysis as a threaded reply under the alert message. Choose a built-in agent (**RCA**) or a reusable **Assistant Agent** you've configured with a custom prompt, integrations, and reference files (runbooks). Can optionally group alerts that arrive together into one analysis. | Automatically triaging new alerts / kicking off root-cause analysis, keeping all AI output tucked under the alert to avoid channel noise. |
| **Send email** | Emails the alert to chosen recipients — To, Cc, and Bcc, each either a Vibe user or a plain address — with a subject and body you write using placeholders. | Handing an alert to a team that lives in email rather than in Vibe. |
| **Invoke REST connection** | Calls an external HTTP endpoint through a saved connection, substituting alert or incident values into the URL, headers, query, and JSON body. See [Invoke REST connection](https://docs.vibraniumlabs.ai/automations/invoke-rest-connection.md). | Telling a system outside Vibe that something happened, or pulling a value back from one. |

***

## Trigger → Action Compatibility

Not every action can be paired with every trigger. The matrix below shows which combinations are available:

| **Trigger** | **Publish to Channel** | **Send Direct Message** | **Invite Users to Channel** | **Declare Incident** | **Create Incident Ticket** | **Run Assistant Agent** | **Send email** | **Invoke REST Connection** |
| - | - | - | - | - | - | - | - | - |
| **Alert Created** | ✅ | — | — | ✅ | — | ✅ | — | ✅ |
| **Alert Timeline Updated** | ✅ | ✅ | — | — | — | — | — | ✅ |
| **User Runs a Custom Alert Action** | ✅ | — | — | — | — | — | ✅ | ✅ |
| **Incident Created** | ✅ | ✅ | — | — | ✅ | — | — | ✅ |
| **Incident Timeline Updated** | ✅ | ✅ | — | — | — | — | — | ✅ |
| **Incident War Room Created** | — | — | ✅ | — | — | — | — | — |

> **Run Assistant Agent requires a Publish to Channel action** ordered *before* it in the same automation — it replies under the message that action posts. You won't be able to save an automation with a Run Assistant Agent action unless a Publish to Channel action precedes it.

***

## Example Automations

A few common patterns to illustrate how triggers, conditions, and actions come together.

| **Scenario** | **Trigger** | **Condition** | **Action** |
| - | - | - | - |
| Auto-declare an incident for any SEV0 alert | Alert Created | Severity is `SEV0` | Declare Incident |
| Broadcast new SEV0–SEV1 incidents to the leadership channel | Incident Created | Severity is `SEV0` or `SEV1` | Publish to Channel → `#leadership-incident-feed` |
| Broadcast anything raised in the high-severity channels to leadership | Incident Created | Originating channel is one of `#high-severity`, `#prod-incidents` | Publish to Channel → `#leadership-incident-feed` |
| Pull the platform team into every war room | Incident War Room Created | — | Invite Users to Channel → Alex Chen, Priya Patel |
| DM the on-call lead for any database-related incident | Incident Created | Field `title` contains `database` | Send Direct Message → Sarah Kim |
| Auto-file a Jira ticket for every SEV0–SEV1 incident | Incident Created | Severity is `SEV0` or `SEV1` | Create Incident Ticket → Jira project `PAY`, type *Bug* |
| Auto-triage SEV0 alerts with AI, notify on everything SEV1 and above | Alert Created | *Automation:* Severity is `SEV1` or more severe | ① Publish to Channel → `#alerts` ② Run Assistant Agent → RCA *(action condition: Severity is `SEV0`)* |
| Run a custom runbook agent for database alerts | Alert Created | Field `service` matches regex `^(db\|postgres\|mysql)` | ① Publish to Channel → `#db-oncall` ② Run Assistant Agent → "DB Triage" assistant |
| Investigate a fleet-wide outage once, not once per host | Alert Created | Field `title` contains `Process Down` | ① Publish to Channel → `#alerts` ② Run Assistant Agent → RCA, **Group burst alerts into one analysis** on |

***

## Managing Automation Actions

Automations are managed from the **Settings → Global → Automation Actions** view. From there you can:

* Create a new automation by selecting a trigger, optional conditions, and one or more actions
* Set conditions on the whole automation and/or on each individual action
* Enable or disable an automation without deleting it — useful for temporarily silencing a noisy rule
* Edit conditions or actions on an existing automation

> **Note**: Automations are scoped to your **organization**. To restrict an automation to a specific team, use a **Team condition**.

### Managing Assistant Agents

Assistant agents are created and managed in **Agent Studio** (Settings → Global → Agent Studio). Choose the built-in **RCA agent** or create a custom agent with its own instructions, data-source access (service catalog, monitoring, code analysis), and attached runbooks. The **Run assistant agent** action then runs one of those agents against alerts when they are published to a Slack or Teams channel. See [Agent Studio](https://docs.vibraniumlabs.ai/ai/agent-studio.md) and [Run Assistant Agent](https://docs.vibraniumlabs.ai/ai/run-assistant-agent.md).

***

## Troubleshooting

**My automation isn't firing.**

* Confirm the automation is **Enabled**.
* Check that the trigger actually fired — look at the alert or incident timeline for the event you expected.
* Inspect your conditions. If they are too narrow, the action will silently skip. Try loosening one condition at a time to narrow down which one isn't matching.

**The action ran but nothing happened in Slack.**

* For **Publish to Channel** and **Invite Users to Channel** actions, confirm the Vibe OnCall Slack app has been added to the target channel.
* For **Send Direct Message** and **Invite Users to Channel** actions, Vibe OnCall identifies Slack users by email. Make sure the target user's Vibe OnCall email matches their Slack workspace email — otherwise they're silently skipped.

**An automation has multiple actions but only some of them ran.**

* Each action can have its own **action-level conditions** — an action is skipped when its conditions (or the automation's) don't match the event. Check the action's conditions, not just the automation's.
* Actions still run in the order you define them. If an earlier action *fails*, the remaining actions in the chain are skipped — so put the most critical action first.
* A failing action ends only its own automation. Other automations listening to the same event still run — a neighbour's failure does not stop them.
* The event is not retried when an action fails. A persistently failing action used to redeliver the event and re-run automations that had already succeeded, producing duplicate channel posts and duplicate tickets; that no longer happens.
* One action retries on its own: **Invoke REST connection** sends its request up to three times when the endpoint times out or answers `5xx` or `429`, and only then counts as failed. Every attempt is listed in the execution log. See [Invoke REST connection](https://docs.vibraniumlabs.ai/automations/invoke-rest-connection.md).
* The failure is recorded against that action's execution log, which is where to look for what went wrong. Automations you run manually are the exception — they report the error to you directly, since you are waiting on the result.

**A Declare Incident action fired but no incident was created.**

* Vibe OnCall will skip declaration if the triggering alert is already linked to an incident — this is intentional and prevents duplicates.

**My Run Assistant Agent action didn't post anything.**

* It only replies under an existing alert message, so it needs a **Publish to Channel** action *before* it that actually posted. If the publish was skipped (its conditions didn't match) or failed, the assistant silently does nothing.
* Confirm the action's own conditions match the alert (e.g. it may be scoped to `SEV0` only).
* It runs on **Alert Created** only — it's a no-op on other triggers.
* If it uses a custom Assistant Agent, confirm that agent still exists and its integration allowlist includes the tools it needs.
* If the action has **Group burst alerts into one analysis** on, the alert may have joined a group: look for a reply under its card pointing at another alert. The shared analysis appears under *that* alert once the wait ends. See [Run Assistant Agent](https://docs.vibraniumlabs.ai/ai/run-assistant-agent.md).

**My Originating channel condition never matches.**

* It applies to incident triggers only — **Incident Created** and **Incident Timeline Updated**. It isn't offered on alert triggers.
* Incidents raised from an alert, the API, or declared from the dashboard have no originating channel, so *is one of* will never match them.
* The condition matches the channel the incident was **declared in** — not the war room channel created for it afterwards.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.