# 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="https://3242897856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1If7JwIQhfz5wGM9LiIU%2Fuploads%2F0BMMewOapcNaFc3xwZ9f%2Fwebhook-crm.png?alt=media&#x26;token=9badde92-24cc-4efb-af72-6ff5b87d4c64" 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>
