# Escalate urgent emails with AI

Escalate Urgent Emails with AI is a Missive template designed for managers and executives.

#### When enabled:

The rule allows you to automatically escalate urgent or important emails to the right person.

#### Here’s how it works:

* You need to determine which emails this should apply to (all, from specific inboxes, or from specific people).
* You need an [**AI integration**](/docs/ai/setup.md) (OpenAI, Anthropic, or Gemini).
* You need to select **Prompt Result = yes**.
* You need a [prompt](/docs/ai/using-ai/prompts.md) that captures the emails you want to escalate.
* You’ll need **users to assign** escalated emails to.

***

### Incoming email rule: Escalate urgent emails

This rule uses AI to identify urgent emails and escalate them to the appropriate person that can reply and address.

<a href="https://mail.missiveapp.com/?importRule=escalate-urgent-emails_incoming-message" class="button primary" data-icon="plus">Add to Missive</a>

#### There are two parts to make this rule work

{% stepper %}
{% step %}
Select **Prompt result** is **Yes**, and enter in your prompt.
{% endstep %}

{% step %}
This is the **AI prompt template** you can test and edit as needed:

> Respond 'Yes' only if the message clearly requires immediate action due to an explicit deadline, outage, blocking issue, legal or financial risk, or an active escalation. If urgency is implied but not explicit, or if the message is routine, informational, or can wait, do not respond 'Yes'

{% hint style="info" %}
[Test a few emails](https://missiveapp.com/docs/advanced-features/rules/ai-rules#debugging-ai-rules) and once you’re happy with the accuracy of the AI filter.
{% endhint %}
{% endstep %}

{% step %}
**Select the users you would like to assign** to these escalated emails.

You can assign one more more users and choose whether you’d like to assign the email to all users at the same time, in-turn (round-robin), or to whoever is least busy (fewest assigned conversations).
{% endstep %}
{% endstepper %}

<div data-with-frame="true"><figure><img src="/files/GQmalX4xpB4lmNHTW4VN" alt=""><figcaption></figcaption></figure></div>

<table><thead><tr><th width="220.484375">Component</th><th>Value</th></tr></thead><tbody><tr><td>Condition 1</td><td><strong>To is</strong> → {...}</td></tr><tr><td>Condition 2</td><td><strong>Prompt result is</strong> → Yes</td></tr><tr><td>Action 1</td><td><strong>Assign user(s)</strong> → {...}</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://missiveapp.com/docs/advanced-features/rules/templates/escalate-urgent-emails-with-ai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
