# Record emails to CRM

**Record emails to CRM** is a **Missive rules template** designed for teams that want to keep track of their email conversations within their CRM records. With this rule, you’ll be able to automatically push conversation data within Missive to your CRM or source of truth.

#### When enabled:

* The rule will allow your CRM records to be updated with email data anytime there's an incoming email that matches your criteria.

#### Here’s how it works:

* You need to keep up-to-date [contact books](https://missiveapp.com/docs/developers/rest-api/endpoints#contact-books)
* You need to [setup a webhook](https://missiveapp.com/docs/developers/webhooks)

***

### Incoming email rule: Record emails to CRM

This rule is meant to automatically push conversation and email data directly to your CRM, making it a more comprehensive, up-to-date source of truth for your business.

<a href="https://mail.missiveapp.com/?importRule=record-emails-to-crm-via-webhook_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 email is received from **your contact book.**
{% endstep %}

{% step %}
The **webhook** will push conversation ID, message content, sender info, and any labels to your CRM.
{% endstep %}
{% endstepper %}

<div data-with-frame="true"><figure><img src="/files/WzzNLbXK2AP9Rg4ynYzV" 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>From</strong> is in contacts</td></tr><tr><td>Action</td><td><p><strong>Send webhook</strong> → https://crm.example.com/api/missive</p><p><br></p></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/record-emails-to-crm.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.
