> ## 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.

# Keap integration

> Set up the Keap Cometly integration to send Keap contacts, opportunities and payments to Cometly as events and see which ads produced them.

The Keap Cometly integration sends what happens in your [Keap](https://keap.com/) account, such as new contacts, opportunities and payments, to Cometly as events. An event is an action Cometly records for a contact, such as a lead or a purchase.

This matters because leads become opportunities and paying customers inside Keap, often long after the ad click. When those moments reach Cometly, each one is tied back to the ad or channel that brought the person in, so you can see which campaigns produce sales and not only form fills.

You can send events from Keap to Cometly in two ways:

* [With the native Keap integration](#use-the-native-keap-integration), which connects your Keap account to Cometly directly.
* [With Zapier](#use-zapier), which lets you build each event as a Zap.

If you use Keap forms embedded on your website, the Cometly pixel (the tracking script on your site) automatically captures key form field data, including first name, last name, email and phone number. This links any new event sent to Cometly to the original customer journey, so you can see detailed source data in your Cometly account.

## Use the native Keap integration

Keap is available as a native integration in Cometly (**Integrations** > **Keap**, category **CRM**). You pick a Keap trigger for each Cometly event.

**1. Create the event**

In Cometly, go to **Events Manager** and click **Create Event**. Under **App / Integration**, choose **Keap**. Select the event name (or create a new event) and click **Create**.

**2. Choose the account and trigger**

Under **Account**, select your Keap account, or choose **Connect new account** to sign in to Keap. Under **Trigger**, choose the Keap trigger that should send this event, then click **Continue**.

> [!WARNING]
>
> Once selected, the Account and Trigger cannot be modified. To change them, create a new event.

**3. Map, filter and activate**

Map the Keap data to the Cometly fields, add filters if you only want some records to count, and activate the event.

The Keap triggers you can choose from:

| Trigger | When it fires |
| - | - |
| Contact Created | Only when a new contact is created |
| Contact Updated | When a contact's data is updated |
| Invoice Paid | When a payment is recorded on an invoice |
| Opportunity Created | When an opportunity is created |
| Opportunity Stage Change | When an opportunity moves to a new stage |
| Order Created | When a new order is created |
| Order Updated | When an order is updated |
| Subscription Created | When a subscription is created |

## Use Zapier

This section covers five use cases for sending events from Keap to Cometly with Zapier:

1. [**Leads**](#send-lead-events) (triggers when a new contact is created in Keap)
2. [**Opportunity created**](#send-opportunity-created-events) (triggers when a new opportunity is created in Keap)
3. [**Opportunity closed won**](#send-opportunity-closed-won-events) (triggers when a deal is moved to Won in Keap)
4. [**New payment**](#send-new-payment-events) (triggers when a new payment is created in Keap)
5. [**Qualified lead**](#send-qualified-lead-events) (triggers when a contact is updated in Keap)

To set up Cometly as the action in each Zap, follow the [Zapier integration](https://docs.cometly.com/integrations/zapier.md) guide.

### Send lead events

1. **Create a new Zap in Zapier**
   * In your Zapier account, click **Create Zap**.
   * Select **Keap** as the trigger app.

2. **Choose the trigger event**
   * Select **New Contact** as the trigger event. When a new contact is created in Keap, this triggers the Zap to send the lead event to Cometly.

     ![Zapier Keap trigger list with New Contact highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/keap/01.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=236d6ed0a09c83f183fa1ed354db55d4)

3. **Choose Cometly as the action**
   * For the event action, choose **Send Event**.
   * Choose your event. We recommend **Lead**, or you can create a new event in Cometly.
   * Follow the steps in the [Zapier integration](https://docs.cometly.com/integrations/zapier.md) guide to set up Cometly as an action.

### Send opportunity created events

1. **Create a new Zap in Zapier**
   * In your Zapier account, click **Create Zap**.
   * Select **Keap** as the trigger app.

2. **Choose the trigger event**
   * Select **New Opportunity Event** as the trigger event.

     ![Zapier Keap trigger list with New Opportunity Event highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/keap/02.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=008bbfadb8dbe786308b3123c0068ea5)

   * On the Configure step, where it says **Opportunity events this trigger will listen to**, select **Opportunity Added**.

     ![Zapier Keap trigger Configure tab with Opportunity Added selected](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/keap/03.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=a9194c9d93d37498c01a2f6a670aa25d)

3. **Choose Cometly as the action**
   * For the event action, choose **Send Event**.
   * Choose your event. We recommend creating a new event in Cometly called **Opportunity Created**.
   * Follow the steps in the [Zapier integration](https://docs.cometly.com/integrations/zapier.md) guide to set up Cometly as an action.

### Send opportunity closed won events

1. **Create a new Zap in Zapier**
   * In your Zapier account, click **Create Zap**.
   * Select **Keap** as the trigger app.
2. **Choose the trigger event**
   * Select **Opportunity Stage Moved** as the trigger event.

     ![Zapier Keap trigger list with Opportunity Stage Moved highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/keap/04.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=fa30db1c283fc9291762bc1df5bd8ff0)

   * On the next step, choose the opportunity stage in your Keap sales pipeline that means a deal is closed won. With this selection, the event is sent to Cometly when a deal is moved to closed won.
3. **Choose Cometly as the action**
   * For the event action, choose **Send Event**.
   * Choose your event. We recommend creating a new event in Cometly called **Opportunity Won**.
   * Follow the steps in the [Zapier integration](https://docs.cometly.com/integrations/zapier.md) guide to set up Cometly as an action.

### Send new payment events

1. **Create a new Zap in Zapier**
   * In your Zapier account, click **Create Zap**.
   * Select **Keap** as the trigger app.
2. **Choose the trigger event**
   * Select **New Payment (All Payment Type)** as the trigger event.

     ![Zapier Keap trigger list with New Payment (All Payment Type) highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/keap/05.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=213ed2014eae29824cdf486eb05be053)

   * This triggers the Zap to send payments to Cometly when any Keap payment is made (credit card, cash and check payments).
3. **Choose Cometly as the action**
   * For the event action, choose **Send Event**.
   * Choose your event. We recommend **Purchase**.
   * Follow the steps in the [Zapier integration](https://docs.cometly.com/integrations/zapier.md) guide to set up Cometly as an action.

### Send qualified lead events

1. **Create a new Zap in Zapier**
   * In your Zapier account, click **Create Zap**.
   * Select **Keap** as the trigger app.
2. **Choose the trigger event**
   * Select **Updated Contact** as the trigger event.

     ![Zapier Keap trigger list with Updated Contact highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/keap/06.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=686bcbf426ba0676b97e4546fcb4949d)

   * The Zap triggers whenever a contact is updated. Add a filter step between the trigger and the Cometly action so that data is only sent when the lead's status is updated to "qualified" (or your equivalent indicator).
3. **Choose Cometly as the action**
   * For the event action, choose **Send Event**.
   * Choose your event. We recommend creating a new event in Cometly called **Qualified Lead**.
   * Follow the steps in the [Zapier integration](https://docs.cometly.com/integrations/zapier.md) guide to set up Cometly as an action.

## Check it worked

For a native event, open **Events Manager**: your Keap event shows a switch that is turned on in the **Status** column. Make the change in Keap that your trigger listens for (for example, create a contact), then open the **Events Log** tab. The event appears there with **SUCCESS** in the **Details** column.

For a Zap, click **Test Step** in Zapier, then check the **Events Log** tab for the test event.

## Frequently asked questions

### Does the Keap integration send my existing Keap contacts to Cometly?

No. Cometly receives an event when the trigger you chose fires in Keap, so only records created or updated after you activate the event are sent. Contacts, orders and opportunities that were already in Keap and do not change are not sent.

### Should I use the native Keap integration or Zapier?

Both send Keap events to Cometly. The native integration connects your Keap account to Cometly directly, and you set up each event in **Events Manager**. With Zapier you build each event as a Zap, which lets you add steps of your own between Keap and Cometly, such as a filter step.

### How do I see what data Keap sent to Cometly?

Open **Events Manager**, then the **Events Log** tab. Each event is listed with its raw data, and the **Details** column shows **SUCCESS** or the error message when something went wrong. See [Use the Events Log](https://docs.cometly.com/support/troubleshooting/general/event-log.md) for the full walk-through.

## Next steps

* [Set up Cometly as the action in your Zaps with the Zapier integration guide](https://docs.cometly.com/integrations/zapier.md)
* [Map fields, format values and add filters with the Cometly Webhooks guide](https://docs.cometly.com/integrations/webhooks.md)
* [Use the Events Log to check incoming events](https://docs.cometly.com/support/troubleshooting/general/event-log.md)
* [Learn how standard and custom events work](https://docs.cometly.com/guides/events/how-events-work.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.