> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cometly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Zendesk Sell integration

> Set up the Zendesk Sell Cometly integration with Zapier to send lead, deal created and closed won events, and see which ads produce your deals.

The Zendesk Sell Cometly integration sends events from [Zendesk Sell](https://www.zendesk.com/) to Cometly using Zapier. An event is an action Cometly tracks, such as a new lead or a sale. With Zapier, you can send events to Cometly for new leads, new deals and closed won deals, so Cometly can attribute them.

This matters because your leads turn into deals in Zendesk Sell, long after the ad click. Once those leads and deals reach Cometly, you can see which ad or channel produced each one, and judge your ads by the deals they close and not only by the leads they bring in.

If you use the Zendesk Chat widget on your website, follow the [Zendesk Chat integration guide](https://docs.cometly.com/integrations/platforms/zendesk-chat.md) first so you can accurately track chat leads.

This guide covers three use cases:

1. [**Leads**](#send-lead-events): a new lead is created in Zendesk Sell.
2. [**Deals created**](#send-new-deal-events): a new deal is created in Zendesk Sell.
3. [**Closed won deals**](#send-closed-won-deal-events): a deal is moved to your won stage in Zendesk Sell.

## Prerequisites

* A Zapier account.
* Cometly connected to Zapier. See the [Zapier integration guide](https://docs.cometly.com/integrations/zapier.md).

## Send lead events

1. **Create a new Zap in Zapier**

   * In your Zapier account, click **Create Zap**.
   * Select **Zendesk Sell** as the trigger app.

2. **Choose the trigger event**

   * Select **New Lead** as the trigger event.

     ![Zapier trigger setup for Zendesk Sell with New Lead selected in the event list](https://mintcdn.com/cometly/alvP4_0ekdK-CBm_/images/integrations/platforms/zendesk-sell/01.webp?fit=max\&auto=format\&n=alvP4_0ekdK-CBm_\&q=85\&s=feafb76042ae94e7f83abaa7fee6e5db)

   * Connect your Zendesk Sell account and test the connection.

3. **Choose Cometly as the action**

   * Select the **Lead** event.
   * Include the first name, last name, email address and phone number.
   * If you have Zendesk Chat leads in your Zendesk Sell account, map the Zendesk field called `Cometly_tracking_token` to the **Comet Token** field (the Comet Token is the Cometly tracking token that ties an event to a website visitor).
   * If you do not use the Zendesk Chat integration, you do not need to add the Comet Token.

4. **Test and activate the Zap**

   Send a test lead to Cometly to make sure the data is captured correctly. In Cometly, go to **Events Manager**, then the **Events Log** tab, to check that the data is coming in.

## Send new deal events

1. **Create a new Zap in Zapier**

   * In your Zapier account, click **Create Zap**.
   * Select **Zendesk Sell** as the trigger app.

2. **Choose the trigger event**

   * Select **New Deal** as the trigger event.

     ![Zapier trigger setup for Zendesk Sell with New Deal selected in the event list](https://mintcdn.com/cometly/alvP4_0ekdK-CBm_/images/integrations/platforms/zendesk-sell/02.webp?fit=max\&auto=format\&n=alvP4_0ekdK-CBm_\&q=85\&s=a1c77be1c5dcca9c34cf32873551618b)

3. **Choose Cometly as the action**

   * Create a new event in Cometly called **Deal Created**. See [Events](https://docs.cometly.com/getting-started/events.md) to learn how to create a new event in Cometly.
   * Include the amount (the deal amount), first name, last name, email address and phone number.
   * If you have Zendesk Chat leads in your Zendesk Sell account, map the Zendesk field called `Cometly_tracking_token` to the **Comet Token** field.
   * If you do not use the Zendesk Chat integration, you do not need to add the Comet Token.

4. **Test and activate the Zap**

   Send a test deal to Cometly to make sure the data is captured correctly. In Cometly, go to **Events Manager**, then the **Events Log** tab, to check that the data is coming in.

## Send closed won deal events

1. **Create a new Zap in Zapier**

   * In your Zapier account, click **Create Zap**.
   * Select **Zendesk Sell** as the trigger app.

2. **Choose the trigger event**

   * Select **Deal Enters New Stage** as the trigger event.

   * The Zap asks you to select the deal stage that triggers it. Choose the stage that is your closed won stage (the one that means a deal has closed).

     ![Zapier trigger setup for Zendesk Sell with Deal Enters New Stage selected as the trigger event](https://mintcdn.com/cometly/alvP4_0ekdK-CBm_/images/integrations/platforms/zendesk-sell/03.webp?fit=max\&auto=format\&n=alvP4_0ekdK-CBm_\&q=85\&s=d2edb2c22a1797a37bbdc8c63b887457)

3. **Choose Cometly as the action**

   * Create a new event in Cometly called **Closed Won**. See [Events](https://docs.cometly.com/getting-started/events.md) to learn how to create a new event in Cometly.
   * Include the amount (the deal amount), first name, last name, email address and phone number.
   * If you have Zendesk Chat leads in your Zendesk Sell account, map the Zendesk field called `Cometly_tracking_token` to the **Comet Token** field.
   * If you do not use the Zendesk Chat integration, you do not need to add the Comet Token.

4. **Test and activate the Zap**

   Send a test deal to Cometly to make sure the data is captured correctly. In Cometly, go to **Events Manager**, then the **Events Log** tab, to check that the data is coming in.

## Check it worked

After you send a test from each Zap, the test event appears in Cometly in **Events Manager**, on the **Events Log** tab. Once your Zaps are turned on, new leads, new deals and closed won deals from Zendesk Sell show up there too.

## Frequently asked questions

### How does Cometly match a Zendesk Sell lead to the ad that produced it?

Cometly uses the contact details your Zap sends, mainly the email address. If the Cometly pixel (the tracking script on your site) captured that email earlier, for example on a form submission, Cometly ties the event to that visitor and the ad they came from. For chat leads, the Comet Token passed by the [Zendesk Chat integration](https://docs.cometly.com/integrations/platforms/zendesk-chat.md) does the matching.

### Do I need a separate Zap for each Zendesk Sell event?

Yes. Create one Zap for leads, one for new deals and one for closed won deals. Each Zap has its own Zendesk Sell trigger and sends its own event to Cometly.

### Can I send only some Zendesk Sell leads or deals to Cometly?

Yes. Add a Zapier filter step between the Zendesk Sell trigger and the Cometly action to control which records are sent, for example only qualified leads.

## Next steps

* [Connect Cometly to Zapier and send events from any app](https://docs.cometly.com/integrations/zapier.md)
* [Pass the Comet Token from your Zendesk Chat widget](https://docs.cometly.com/integrations/platforms/zendesk-chat.md)
* [Manage custom events such as Deal Created and Closed Won](https://docs.cometly.com/guides/events/custom-events.md)
* [Use the Events Log to check incoming events](https://docs.cometly.com/support/troubleshooting/general/event-log.md)
* [Browse all Cometly integrations](https://docs.cometly.com/integrations/overview.md)

Still have questions or need a hand? We're happy to help. Reach our team at [support@cometly.com](mailto:support@cometly.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.