Skip to main content
A webhook sends data from one app to another the moment something happens. This guide shows you how to send ClickFunnels events to Cometly with webhooks: you add an endpoint in ClickFunnels for each event (an action Cometly tracks, such as a lead or a payment) and point it at a webhook URL from Cometly. Cometly can only attribute the events it receives. Once ClickFunnels sends its form submissions, opportunities and payments, you can see which campaign, ad set and ad produced each one. Webhooks are an alternative to Cometly’s direct ClickFunnels integration. To use the direct integration instead, see ClickFunnels.

Before you start

What you can send

View the full list of ClickFunnels webhook events
Set up one event at a time. Each event needs its own endpoint in ClickFunnels and its own webhook URL from Cometly.

Send lead events

1

Open Workspace Settings in ClickFunnels

Log in to your ClickFunnels account. In the left-hand menu, click Workspace Settings.
ClickFunnels left menu with Workspace Settings highlighted
2

Add a webhook endpoint

Select Webhooks from the settings menu, then click Add new endpoint.
ClickFunnels Webhooks endpoints page with the Add new endpoint button highlighted
3

Configure the endpoint

Fill out the fields, but do not save yet:
  • Name: a name that clearly identifies the event, for example “New Form Submission - Cometly”.
  • URL: leave empty for now. You get your Cometly webhook URL in the next step.
  • Event types: select form_submission.created to trigger the webhook whenever a new form submission is created.
  • API Version: choose V2.
  • Endpoint scopes (optional): leave blank to send events for all contacts. To limit the webhook to specific funnels or pages, select them here.
4

Create the event in Cometly and copy the webhook URL

  1. In Cometly, go to Events Manager and click Create Event.
  2. Under App / Integration, select Webhooks.
  3. Select the event name. We recommend the Lead event for this setup. Click Create.
  4. Under Your webhook URL, click Copy.
The Receive Data step for a new Lead webhook event in Cometly, showing Your webhook URL with the address blurred and the Check for Data button, with a box around the Copy button.
Leave this Cometly page open. You come back to it after the next step.
5

Save the endpoint in ClickFunnels

Paste the Cometly webhook URL into the URL field of your endpoint in ClickFunnels, then click Create endpoint.
6

Finish the setup in Cometly

Back in Cometly, click Check for Data and select a record once ClickFunnels has sent one. Then map the webhook data to the Cometly fields, add any filters and activate the event. The Cometly webhooks guide explains each of these steps.

Send opportunity created events

1

Open Workspace Settings in ClickFunnels

Log in to your ClickFunnels account. In the left-hand menu, click Workspace Settings.
2

Add a webhook endpoint

Select Webhooks from the settings menu, then click Add new endpoint.
3

Configure the endpoint

Fill out the fields, but do not save yet:
  • Name: a name that clearly identifies the event, for example “New Opportunity Created - Cometly”.
  • URL: leave empty for now. You get your Cometly webhook URL in the next step.
  • Event types: select sales/opportunity.created to trigger the webhook whenever a new opportunity is created in ClickFunnels.
  • API Version: choose V2.
  • Endpoint scopes (optional): leave blank so all opportunities in your ClickFunnels account are sent, regardless of the funnel or page.
4

Create the event in Cometly and copy the webhook URL

  1. In Cometly, go to Events Manager and click Create Event.
  2. Under App / Integration, select Webhooks.
  3. For the event name, we recommend choosing Create New Event and naming it Opportunity Created. Click Create.
  4. Under Your webhook URL, click Copy.
Leave this Cometly page open. You come back to it after the next step.
5

Save the endpoint in ClickFunnels

Paste the Cometly webhook URL into the URL field of your endpoint in ClickFunnels, then click Create endpoint.
6

Finish the setup in Cometly

Back in Cometly, click Check for Data and select a record once ClickFunnels has sent one. Then map the webhook data to the Cometly fields, add any filters and activate the event. The Cometly webhooks guide explains each of these steps.

Send opportunity closed won events

1

Open Workspace Settings in ClickFunnels

Log in to your ClickFunnels account. In the left-hand menu, click Workspace Settings.
2

Add a webhook endpoint

Select Webhooks from the settings menu, then click Add new endpoint.
3

Configure the endpoint

Fill out the fields, but do not save yet:
  • Name: a name that clearly identifies the event, for example “New Opportunity Closed Won - Cometly”.
  • URL: leave empty for now. You get your Cometly webhook URL in the next step.
  • Event types: select sales/opportunity.closed to trigger the webhook whenever an opportunity is marked as Closed Won in ClickFunnels.
  • API Version: choose V2.
  • Endpoint scopes (optional): leave blank so all opportunities in your ClickFunnels account are sent, regardless of the funnel or page.
4

Create the event in Cometly and copy the webhook URL

  1. In Cometly, go to Events Manager and click Create Event.
  2. Under App / Integration, select Webhooks.
  3. For the event name, we recommend choosing Create New Event and naming it Opportunity Closed Won. Click Create.
  4. Under Your webhook URL, click Copy.
Leave this Cometly page open. You come back to it after the next step.
5

Save the endpoint in ClickFunnels

Paste the Cometly webhook URL into the URL field of your endpoint in ClickFunnels, then click Create endpoint.
6

Finish the setup in Cometly

Back in Cometly, click Check for Data and select a record once ClickFunnels has sent one. Then map the webhook data to the Cometly fields, add any filters and activate the event. The Cometly webhooks guide explains each of these steps.

Send payment events

1

Open Workspace Settings in ClickFunnels

Log in to your ClickFunnels 2.0 account. In the left-hand menu, click Workspace Settings.
2

Add a webhook endpoint

Select Webhooks from the settings menu, then click Add new endpoint.
3

Configure the endpoint

Fill out the fields, but do not save yet:
  • Name: a name that clearly identifies the event, for example “New Payment - Cometly”.
  • URL: leave empty for now. You get your Cometly webhook URL in the next step.
  • Event types: select order.completed to trigger the webhook whenever a new order is created.
  • API Version: choose V2.
  • Endpoint scopes (optional): leave blank so all payments in your ClickFunnels 2.0 account are sent, regardless of the funnel or page.
4

Create the event in Cometly and copy the webhook URL

  1. In Cometly, go to Events Manager and click Create Event.
  2. Under App / Integration, select Webhooks.
  3. Select the event name. We recommend the Purchase event for this setup. Click Create.
  4. Under Your webhook URL, click Copy.
Leave this Cometly page open. You come back to it after the next step.
5

Save the endpoint in ClickFunnels

Paste the Cometly webhook URL into the URL field of your endpoint in ClickFunnels, then click Create endpoint.
6

Finish the setup in Cometly

Back in Cometly, click Check for Data and select a record once ClickFunnels has sent one. Then map the webhook data to the Cometly fields, add your filters and activate the event. The Cometly webhooks guide explains each of these steps.
On the filtering step, add a filter so that only orders marked as paid are processed.

Check it worked

In Events Manager, each webhook event you activated shows a switch that is turned on in the Status column. Trigger a new event in ClickFunnels (for example, submit a form), then open the Events Log tab: the event appears there within 60 seconds, with SUCCESS in the Details column. Test data sent before you activated the event is not processed, so send a new one.

Frequently asked questions

Should I use ClickFunnels webhooks or the direct ClickFunnels integration?

We recommend the direct integration: you authenticate your ClickFunnels account and events are sent to Cometly automatically. Use webhooks if you prefer to send the event data manually, one endpoint per event. See ClickFunnels for the direct setup.

How long does it take for ClickFunnels webhook events 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.

Why are my ClickFunnels purchases paid with Stripe missing an ad source?

When Stripe takes the payment on your funnel, the Cometly pixel cannot capture the email address from the Stripe form, so Cometly cannot link the purchase to the visitor. Add a hidden comet_token field to your ClickFunnels form and map it to your purchase event. See Track ClickFunnels purchases paid with Stripe.

Next steps

Still have questions or need a hand? We’re happy to help. Reach our team at support@cometly.com.