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

# PandaDoc integration

> Set up the PandaDoc Cometly integration with a webhook, so document events from PandaDoc are tracked in Cometly and tied to the ad behind them.

The PandaDoc Cometly integration works through a webhook, a message one app sends to another in real time. You create a webhook event in Cometly, paste its webhook URL into [PandaDoc](https://www.pandadoc.com/), then map the data PandaDoc sends to Cometly fields. An event is an action Cometly tracks, such as a lead, a purchase or a signed proposal.

This matters when the document is the real conversion, for example a proposal or contract that closes the deal. Once PandaDoc sends that data to Cometly, you can see which campaign, ad set and ad produced each one, not only the lead that came before it.

## Get your Cometly webhook URL

1. In Cometly, click **Events Manager** in the sidebar, then click **Create Event**.

2. Under **App / Integration**, select **Webhooks**.

3. Under **Events**, choose the event you want to track (or create a new one), then click **Create**.

4. Find the new event in the Events Manager table and click **Configure**.

   ![Receive Data step of a Cometly webhook event for Lead data, with the Your webhook URL field, an arrow pointing to the Copy button and the Check for Data button below](https://mintcdn.com/cometly/alvP4_0ekdK-CBm_/images/integrations/platforms/pandadoc/01.webp?fit=max\&auto=format\&n=alvP4_0ekdK-CBm_\&q=85\&s=05e8c192d072f5f531be87d6ff20f256)

5. Under **Your webhook URL**, click **Copy**.

For more detail on each step, see the [Cometly webhooks guide](https://docs.cometly.com/integrations/webhooks.md).

## Add the webhook in PandaDoc

To set up the webhook in PandaDoc, follow their official instructions: [PandaDoc webhook integration guide](https://support.pandadoc.com/en/articles/9714966-webhooks). It walks you through configuring a webhook in PandaDoc that sends data to an endpoint you specify.

When you reach the step that asks for the endpoint URL, paste the Cometly webhook URL you copied.

## Finish the setup in Cometly

Once the webhook is configured in PandaDoc, go back to the event in Cometly and click **Check for Data**. Then follow the [Cometly webhooks guide](https://docs.cometly.com/integrations/webhooks.md) to:

* Select the record PandaDoc sent.
* Map the webhook data to the matching fields in Cometly (**Email** and **Event Time** are required).
* Set up filters so only the data you want is tracked.
* Activate the event.

After these steps, your PandaDoc events are sent to Cometly for tracking and attribution.

## Check it worked

In [Events Manager](https://app.cometly.com/space/events-manager), your webhook event shows a switch that is turned on in the **Status** column. Test data sent before you activated the event is not processed, so trigger the webhook in PandaDoc once more. Then open the **Events Log** tab: the event appears there within 60 seconds, with **SUCCESS** in the **Details** column.

## Frequently asked questions

### Does Cometly have a native PandaDoc integration?

No. PandaDoc connects to Cometly through a webhook, as described on this page. If you would rather build the connection as a Zap, you can also [send events to Cometly with Zapier](https://docs.cometly.com/integrations/zapier.md).

### What if the PandaDoc webhook data has no event time to map?

Choose **The time we receive the event** for **Event Time**, and Cometly uses the time the event arrives. **Email** still has to be mapped to a field in the data PandaDoc sends. You can map more fields with **Add Field**.

### How long does it take for a PandaDoc event to show up in Cometly?

The event shows in the Events Log within 60 seconds of being sent. It can take up to 15 minutes to appear in the reporting areas, such as the Report Builder or Ads Manager.

## Next steps

* [Map fields, add filters and activate your webhook](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 events work in Cometly](https://docs.cometly.com/guides/events/how-events-work.md)
* [Send events to Cometly with Zapier](https://docs.cometly.com/integrations/zapier.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.