# Auto-assign by keyword

**Auto-assign by keyword** is a **Missive rules template** designed for sales teams that have asscociates with different domain expertise. With this rule, you can automatically triage and assign incoming sales emails to the relevant in-house expert.

#### When enabled:

* The rule will automatically assign an email to a user based on specific keywords found in the email body.

#### Here’s how it works:

* You need to determine what the target keyword is
* You need to choose who should be assigned

***

### Incoming email rule: Auto-assign by keyword

This rule is meant to help you triage your team inbox faster by getting the right person automatically assigned to the incoming prospect email.

<a href="https://mail.missiveapp.com/?importRule=auto-assign-by-keyword_incoming-message" class="button primary" data-icon="plus">Add to Missive</a>

#### There is one condition and one action to make this rule work.

{% stepper %}
{% step %}
If an incoming email contains a **specific** **keyword**
{% endstep %}

{% step %}
It will automatically **assign** the user you determined to be best suited for that email
{% endstep %}
{% endstepper %}

{% hint style="info" %}
You can add multiple keywords to make it more specific and/or you can use [AI prompts](https://missiveapp.com/docs/ai/using-ai/prompts) to determine the context of an incoming email.
{% endhint %}

<div data-with-frame="true"><figure><img src="https://3242897856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1If7JwIQhfz5wGM9LiIU%2Fuploads%2FPKp1BolEKTQWuTz88PFJ%2FKeywords.png?alt=media&#x26;token=bcb34ee8-eee3-4e6c-be20-d0df73d707ec" alt=""><figcaption></figcaption></figure></div>

<table><thead><tr><th width="220.484375">Component</th><th>Value</th></tr></thead><tbody><tr><td>Condition</td><td><strong>Message content</strong> contains "keyword"</td></tr><tr><td>Action</td><td><p><strong>Assign user(s)</strong> → Select users</p><h4 id="timezone-based-assignment"><br></h4><h4 id="auto-snooze-follow-ups"><br></h4></td></tr></tbody></table>
