# CRM lead webhooks

## Overview

Rippling’s **CRM Lead Webhook** enables Rippling customers to easily share their information to your CRM so that you can follow up with them directly.

As part of becoming a Rippling App Partner, Rippling provides a framework to allow prospective customers to easily get in touch with you directly from Rippling. The purpose is to let existing Rippling customers - who are interested in becoming your customer - easily share their information with you by just clicking a button in Rippling.

## Workflow

On your app listing on the Rippling App Shop ( [https://app.rippling.com/app-shop/app/PARTNER](https://app.rippling.com/app-shop/app/PARTNER) APP NAME ), Admins of Rippling companies will see a **Contact PARTNER** button.

When hovering over this button, Admins will see the message:

_“By clicking Contact PARTNER, you agree that Rippling may share your company’s name and contact information with PARTNER.”_

If an admin chooses to click the **Contact** button, information about the Admin and their company will be automatically sent to the Webhook URL configured in Rippling for your app.

## Shared fields

You can expect to receive the following fields as part of the CRM Lead webhook payload:

| Field | Description |
| --- | --- |
| app\_display\_name | This will always be the display name of your app |
| lead\_source | This will always be hardcoded to `Rippling` |
| dba\_name | This is the friendly business name of the Rippling company |
| legal\_name | This is the legal name of the Rippling company |
| website\_url | This is the website URL the company has on file in Rippling |
| billing\_address\_line\_1 | This is the main billing address of the Rippling company |
| billing\_address\_line\_2 | This is the main billing address of the Rippling company |
| billing\_address\_city | This is the main billing address of the Rippling company |
| billing\_address\_state | This is the main billing address of the Rippling company |
| billing\_address\_zip\_code | This is the main billing address of the Rippling company |
| billing\_address\_country | This is the main billing address of the Rippling company |
| employee\_count | This is the total employee count across all types and statuses |
| contractor\_count | This is the total count of contractors for the Rippling company |
| global\_employee\_count | This is the total count of non-US employees |
| global\_contractor\_count | This is the total count of non-US contractors |
| first\_name | This is the first name of the admin who clicked Contact |
| last\_name | This is the last name of the admin who clicked Contact |
| email | This is the work email of the admin who clicked Contact |
| phone | This is the phone number of the admin who clicked Contact |
| title | This is the job title of the admin who clicked Contact |

If a field is not populated with data in Rippling, the field will return a value of `null`.

An example payload from the webhook is as follows:

```text
{
'app_display_name': ‘PortalTest,
 'lead_source': 'Rippling',
 'dba_name': 'Shoutlet Inc',
 'legal_name': 'Text Social Media LLC',
 'website_url': null,
 'billing_address_line_1': '442 Shotwell Street',
 'billing_address_line_2': 'None', 
'billing_address_city': 'San Francisco’,
 'billing_address_state': 'CA',
 'billing_address_zip_code': '94110',
 'billing_address_country': 'US',
 'employee_count': 11,
 'contractor_count': 8, 
'global_employee_count': 0, 
'global_contractor_count': 2, 
'first_name': ‘John’,
 'last_name': ‘Bravo’, 
'email': ‘jbravo@shoutlet.io', 
'phone': '5577345678',
 'title': 'CTO'
}
```

## Setup

Rippling asks that you share two inputs in order to configure the CRM Lead Webhook event: **A Webhook URL** and a **Webhook Token**. The Webhook URL is required. The Webhook Token is not required. The Webhook URL should be set up to listen to incoming Rippling webhook events.

## FAQs

#### Do I have to use a Webhook Token?

No, you do not have to use a Webhook Token.

#### If I use a Webhook Token, will the token be included in the request body or header?

The Webhook Token will be in the request header to authorize the request. It will not be in the body. You can expect the format to be as follows:

```text
{"Authorization": "Bearer " + str(app.crm_webhook_token)}
```

#### Will encoding be UTF-8?

Yes, we are using the default encoding of UTF-8 for JSON.

#### What is the expected format of the payload?

The payload will be formatted in JSON.

#### Is there any sanitization performed on the values?

No, we do not perform any sanitization on the values.

#### Can the webhook event be customized?

No, we do not support webhook event customization at this time.

#### Can Rippling call my CRM’s POST API call?

Rippling does not currently support this. Rippling will push webhook events to your configured Webhook URL.

#### My CRM cannot consume webhook events. What can I do?

You can configure 3rd-party software such as Zapier, Mulesoft, Tray.io, Workato, IFTTT, or any other workflow provider to listen to the incoming webhook event and then take action in your CRM accordingly.

#### Will the email I receive be the same for each event?

No, the email is associated with the user in Rippling who clicked the Contact < PARTNER > button. This email should serve as the customer's contact for follow-up on the lead.

#### Will the lead source be the same for each event?

Yes, the lead source will always be populated with `Rippling` .

Source: https://developer.rippling.com/documentation/developer-portal/v2-guides/crm

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
