> For the complete documentation index, see [llms.txt](https://missiveapp.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://missiveapp.com/docs/advanced-features/rules/examples/automation.md).

# Automation

Rule examples: auto-reply, auto-archive, scheduled actions.

Rules that take action without human involvement.

## Add warning notes for special customers

**Rule type:** Incoming message

Flag conversations with customers who need special handling.

<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%2Fgit-blob-63594ef92df2be257642a01342911f399a457197%2Fguides-rule-no-felony.png?alt=media" alt="Auto-add note rule" width="617"><figcaption></figcaption></figure></div>

| Component | Value                                                            |
| --------- | ---------------------------------------------------------------- |
| Condition | **From** ends with "acme.com"                                    |
| Action    | **Add note** → "ACME requires background checks on all drivers." |

Notes are visible to your team only, not the customer.

## Show VIP instructions

**Rule type:** Incoming message

Display handling instructions when a VIP contacts you.

<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%2Fgit-blob-be6160488cd2fe6b7b04577517adee0aef88bd19%2Ffeatures-show-instructions-vip.png?alt=media" alt="VIP instructions rule" width="563"><figcaption></figcaption></figure></div>

| Component | Value                                                                                          |
| --------- | ---------------------------------------------------------------------------------------------- |
| Condition | **From** is in contact group "VIP"                                                             |
| Action    | **Add note** → "Priority customer. Escalate immediately if issue is unresolved within 1 hour." |

## Forward receipts to accounting

**Rule type:** User actions → Label change

When someone labels an email as a receipt, forward it to the accounting system.

<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%2Fgit-blob-a28985905a3a10161654e864aca71710619df593%2Ffeatures-forward-receipts.png?alt=media" alt="Forward receipts rule" width="563"><figcaption></figcaption></figure></div>

| Component | Value                                       |
| --------- | ------------------------------------------- |
| Condition | **Added label name** is "Receipt"           |
| Action    | **Forward to** → <accounting@mycompany.com> |

## Webhook to CRM

**Rule type:** Incoming message

Push conversation data to your CRM or other systems.

| Component | Value                                                    |
| --------- | -------------------------------------------------------- |
| Condition | **From** is in contacts                                  |
| Action    | **Send webhook** → <https://crm.example.com/api/missive> |

The webhook payload includes conversation ID, message content, sender info, and any labels.

## AI-powered auto-categorization

**Rule type:** Incoming message

Let AI read incoming messages and apply the right label.

| Component | Value                                                                            |
| --------- | -------------------------------------------------------------------------------- |
| Condition | **Email account** is <support@mycompany.com>                                     |
| Action    | **Add labels with AI** → "Categorize: Billing, Technical, Sales, Feedback, Spam" |

Combine with routing rules: a second rule triggered by label changes can move categorized conversations to the right team.

***

Have a rule template to share? [Send it to us](mailto:info@missiveapp.com?subject=Missive%20Rule%20Proposal).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://missiveapp.com/docs/advanced-features/rules/examples/automation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
