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

# Alert P1 Tickets

> Instantly notify your team when critical priority tickets are created

## Overview

Ensure critical issues receive immediate attention by automatically alerting your team the moment a Priority 1 (Critical/Emergency) ticket is created. This workflow eliminates response delays for your most urgent service requests.

<Info>
  This recipe helps maintain SLA compliance for critical tickets by ensuring the right people are notified instantly when high-priority issues arise.
</Info>

## How it works

* Triggers automatically when a new ticket is created
* Filters for critical priority tickets only
* Builds a customized alert message with relevant ticket details
* Notifies specific users or Teams channels immediately

## Setup

<Steps>
  <Step title="Create the workflow">
    Navigate to **Workflows** and create a new workflow. Name it "Alert P1 Tickets" and select **Triggered** as the workflow type. Set the trigger to **Ticket Created** to run immediately when new tickets arrive.

    <Frame caption="Configure the triggered workflow with Ticket Created trigger">
      <img src="https://mintcdn.com/neoagent/yRB7gg3qQcMKqi6x/images/recipes/recipe-alert-p1-1.png?fit=max&auto=format&n=yRB7gg3qQcMKqi6x&q=85&s=357f31b3c8161de139a286ff0ac2e3e8" alt="Creating a triggered workflow named Alert P1 Tickets" width="2866" height="1354" data-path="images/recipes/recipe-alert-p1-1.png" />
    </Frame>

    <Tip>
      Enable "Run Workflow only once per ticket" to prevent duplicate alerts if the ticket is updated shortly after creation.
    </Tip>
  </Step>

  <Step title="Configure priority filter">
    Scroll down to the **Filter Tickets** section and add a rule:

    * Field: **Priority.Name**
    * Condition: **equals**
    * Value: Your critical priority name (e.g., "Priority 1 - Emergency Response", "Critical", or "P1")

    <Frame caption="Filter for critical priority tickets only">
      <img src="https://mintcdn.com/neoagent/yRB7gg3qQcMKqi6x/images/recipes/recipe-alert-p1-2.png?fit=max&auto=format&n=yRB7gg3qQcMKqi6x&q=85&s=fe7afc33c26b8698c5d69c4d5354c5bf" alt="Setting up priority filter for P1 tickets" width="2856" height="1378" data-path="images/recipes/recipe-alert-p1-2.png" />
    </Frame>

    <Note>
      Priority names vary by PSA system. Check your PSA configuration to use the exact priority name for critical tickets.
    </Note>
  </Step>

  <Step title="Add Build Message action">
    Click **NEXT** to proceed to the Action step. Select **SMART ACTION** and choose **Build Message** as the action type.

    Configure the message:

    * Provide instructions describing what the alert should contain (e.g., "This should be an alert for P1 Tickets. Include ticket information such as company and contact.")
    * Set **Output message type** to **INTERNAL**

    <Frame caption="Configure the Build Message action for P1 alerts">
      <img src="https://mintcdn.com/neoagent/yRB7gg3qQcMKqi6x/images/recipes/recipe-alert-p1-3.png?fit=max&auto=format&n=yRB7gg3qQcMKqi6x&q=85&s=ee6393bc325babfaa07389fd4360e4da" alt="Build Message action configuration" width="2832" height="1368" data-path="images/recipes/recipe-alert-p1-3.png" />
    </Frame>

    Example message instructions:

    ```
    Create an urgent P1 alert message that includes:
    - Clear "CRITICAL ALERT" header
    - Ticket number and subject
    - Customer/company name
    - Contact information
    - Brief issue summary
    - Direct link to the ticket
    ```
  </Step>

  <Step title="Configure team notifications">
    Add a **Notify Internal Team** action to send alerts to your team. Select **Teams** as the notification channel.

    <Frame caption="Set up Teams notifications for your internal team">
      <img src="https://mintcdn.com/neoagent/yRB7gg3qQcMKqi6x/images/recipes/recipe-alert-p1-4.png?fit=max&auto=format&n=yRB7gg3qQcMKqi6x&q=85&s=06c1b2dc9c554c0fd90ab0282e5b47d2" alt="Notify Internal Team action with Teams channel" width="2858" height="1350" data-path="images/recipes/recipe-alert-p1-4.png" />
    </Frame>

    You have two options for Teams notifications:

    **Option 1: Notify specific users**

    * Select individual team members from the **Users** dropdown
    * Each user must have the Neo AI Agent Teams app installed

    **Option 2: Notify a Teams channel**

    * Use a Teams channel email address for group notifications
    * Ideal for alerting entire dispatch or escalation teams

    <Info>
      For Teams setup instructions, see the [Microsoft Teams integration guide](/integrations/teams/intro).
    </Info>
  </Step>
</Steps>

## Teams notification setup

To receive notifications in Microsoft Teams, you need to configure the integration:

<AccordionGroup>
  <Accordion title="Individual user notifications">
    Each user who needs to receive P1 alerts must:

    1. Install the Neo AI Agent Teams app from Microsoft AppSource
    2. Send a few messages to the Neo app to establish the conversation
    3. They will then appear in the Users dropdown in Notify actions

    See the full setup guide: [Microsoft Teams — Install the app](/integrations/teams/intro#install-the-app)
  </Accordion>

  <Accordion title="Channel notifications">
    To send alerts to an entire Teams channel:

    1. Get the channel email address (Channel → `...` → Get email address)
    2. Enable "Anyone can send emails to this address" in Advanced settings
    3. Paste the channel email into the Notify Internal Team action

    This is ideal for dedicated alert channels like "#critical-alerts" or "#dispatch-queue".

    See the full setup guide: [Microsoft Teams — Post to a Teams channel](/integrations/teams/intro#post-to-a-teams-channel)
  </Accordion>
</AccordionGroup>

## Best practices

<AccordionGroup>
  <Accordion title="Alert message content">
    Include these elements in your P1 alert messages:

    * **Clear urgency indicator**: Use "CRITICAL" or "P1 ALERT" headers
    * **Essential ticket info**: Number, subject, customer name
    * **Contact details**: Phone number, email for immediate callback
    * **Direct ticket link**: Enable one-click access to the ticket
    * **Time context**: When the ticket was created
  </Accordion>

  <Accordion title="Notification routing">
    * **Primary responders**: Notify the on-call technician or dispatch team
    * **Escalation path**: Consider adding managers for visibility
    * **Dedicated channel**: Use a specific Teams channel for P1 alerts to avoid noise
    * **After-hours**: Configure separate workflows for business hours vs. after-hours routing
  </Accordion>

  <Accordion title="Response time tracking">
    * Use this workflow in combination with SLA tracking
    * Consider adding a follow-up workflow to alert if P1 tickets aren't acknowledged within a threshold
    * Monitor workflow execution to ensure alerts are being delivered
  </Accordion>
</AccordionGroup>

## Expected outcomes

After implementing this workflow, you should see:

* Immediate awareness of critical issues across your team
* Faster response times for P1 tickets
* Improved SLA compliance for high-priority requests
* Better coordination between dispatch and technical teams
* Reduced risk of critical tickets being overlooked
