Start Here 👋
This guide will walk you through integrating ClickFunnels (2.0) with Cometly using Cometly Webhooks. Using Cometly Webhooks, you can seamlessly send events to Cometly for new leads, new payments, opportunities created, and opportunities closed won.
The Cometly Pixel will automatically capture key form field data on your ClickFunnels pages, including first name, last name, email, and phone number. This ensures that any new event sent to Cometly is accurately linked to the original customer journey, allowing you to view detailed source data within your Cometly account.
If you have not yet installed the Cometly Pixel in your ClickFunnels 2.0 account, follow the ClickFunnels 2.0 Pixel Installation Guide.
In this guide we will cover a variety of use cases for sending events from ClickFunnels 2.0 to Cometly.
1. Leads (triggers when new form submission occurs in ClickFunnels 2.0)
2. Opportunity Created (triggers when a new opportunity is created in ClickFunnels 2.0)
3. Opportunity Closed Won (triggers when when an opportunity is moved to a Closed Won in ClickFunnels 2.0)
4. New Payment (triggers when a new payment is created in ClickFunnels 2.0)
Once you've set up a few events, adding additional events will become quick and straightforward. Here are some recommended options to get you started:
Subscription Activated
subscription.activated
Sent when an Order of order_type: "subscription-order" has been activated.Subscription First Payment Received
subscription.first_payment_received
Sent when an Order of order_type: "subscription-order" received first non-setup payment for subscription item
Send Lead Events
Access Workplace Settings
Open the Webhooks Section
Select Webhooks from the settings menu.
Configure the Webhook
Fill out the following fields to configure the webhook:Webhook Name
Enter a name that clearly identifies the event (e.g., "New Form Submission - Cometly").
Webhook URL
Hold off on adding the Cometly Webhook URL for now. In the next step, we’ll guide you through setting up the event in Cometly, where you’ll obtain your unique Cometly Webhook URL.
Event Type
Select
form_submission.created
to trigger the webhook whenever a new contact is created.
API Version
Choose V2.
Endpoint Scopes (Optional)
To send events for all contacts, leave this section blank.
To limit the webhook to specific funnels or pages, select the relevant options from this section.
Set up Cometly Webhook
Refer to our Cometly Webhooks Guide for detailed instructions on:
Creating your webhook in Cometly
Selecting the event (or creating event) for the webhook. We recommend using the Lead event for this event setup.
Mapping the webhook data to the appropriate fields in Cometly.
Setting up filters to ensure only the desired data is tracked.
Important: When you get to the step where you can retreive your Cometly webhook, come back to go to the next step before mapping & configuring filters for the Webhook in Cometly.
Save the Webhook
Paste the Cometly Webhook on your webhook in ClickFunnels 2.0.
Click Create Endpoint to save your configuration.
Finish Setting Up Cometly Webhook
Now that the Cometly Webhook is set in ClickFunnels 2.0, finish mapping the webhook data to the appropriate fields in Cometly.
Send Opportunity Created Events
Access Workplace Settings
Open the Webhooks Section
Select Webhooks from the settings menu.
Configure the Webhook
Fill out the following fields to configure the webhook:Webhook Name
Enter a name that clearly identifies the event (e.g., "New Opportunity Created - Cometly").
Webhook URL
Hold off on adding the Cometly Webhook URL for now. In the next step, we’ll guide you through setting up the event in Cometly, where you’ll obtain your unique Cometly Webhook URL.
Event Type
Select
sales/opportunity.created
to trigger the webhook whenever a new opportunity is created in ClickFunnels 2.0.
API Version
Choose V2.
Endpoint Scopes (Optional)
Leave blank so all opportunities for contacts send in your ClickFunnels 2.0 account regardless of the funnel or page.
Set up Cometly Webhook
Refer to our Cometly Webhooks Guide for detailed instructions on:
Creating your webhook in Cometly
Selecting the event (or creating event) for the webhook. We recommend creating a new event called Opportunity Created for this event setup.
Mapping the webhook data to the appropriate fields in Cometly.
Setting up filters to ensure only the desired data is tracked.
Important: When you get to the step where you can retreive your Cometly webhook, come back to go to the next step before mapping & configuring filters for the Webhook in Cometly.
Save the Webhook
Paste the Cometly Webhook on your webhook in ClickFunnels 2.0.
Click Create Endpoint to save your configuration.
Finish Setting Up Cometly Webhook
Now that the Cometly Webhook is set in ClickFunnels 2.0, finish mapping the webhook data to the appropriate fields in Cometly.
Send Opportunity Closed Won Events
Access Workplace Settings
Open the Webhooks Section
Select Webhooks from the settings menu.
Configure the Webhook
Fill out the following fields to configure the webhook:Webhook Name
Enter a name that clearly identifies the event (e.g., "New Opportunity Closed Won - Cometly").
Webhook URL
Hold off on adding the Cometly Webhook URL for now. In the next step, we’ll guide you through setting up the event in Cometly, where you’ll obtain your unique Cometly Webhook URL.
Event Type
Select
sales/opportunity.closed
to trigger the webhook whenever a new opportunity is marked as Closed Won in ClickFunnels 2.0.
API Version
Choose V2.
Endpoint Scopes (Optional)
Leave blank so all opportunities for contacts send in your ClickFunnels 2.0 account regardless of the funnel or page.
Set up Cometly Webhook
Refer to our Cometly Webhooks Guide for detailed instructions on:
Creating your webhook in Cometly
Selecting the event (or creating event) for the webhook. We recommend creating a new event called Opportunity Closed Won for this event setup.
Mapping the webhook data to the appropriate fields in Cometly.
Setting up filters to ensure only the desired data is tracked.
Important: When you get to the step where you can retreive your Cometly webhook, come back to go to the next step before mapping & configuring filters for the Webhook in Cometly.
Save the Webhook
Paste the Cometly Webhook on your webhook in ClickFunnels 2.0.
Click Create Endpoint to save your configuration.
Finish Setting Up Cometly Webhook
Now that the Cometly Webhook is set in ClickFunnels 2.0, finish mapping the webhook data to the appropriate fields in Cometly.
Send Payment Events
Access Workplace Settings
Open the Webhooks Section
Select Webhooks from the settings menu.
Configure the Webhook
Fill out the following fields to configure the webhook:Webhook Name
Enter a name that clearly identifies the event (e.g., "New Payment - Cometly").
Webhook URL
Hold off on adding the Cometly Webhook URL for now. In the next step, we’ll guide you through setting up the event in Cometly, where you’ll obtain your unique Cometly Webhook URL.
Event Type
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 from contacts will send in your ClickFunnels 2.0 account regardless of the funnel or page.
Set up Cometly Webhook
Refer to our Cometly Webhooks Guide for detailed instructions on:
Creating your webhook in Cometly
Selecting the event (or creating event) for the webhook. We recommend using the Purchase event for this event setup.
Mapping the webhook data to the appropriate fields in Cometly.
Setting up filters to ensure only the desired data is tracked.
Important: When you get to the step where you can retreive your Cometly webhook, come back to go to the next step before mapping & configuring filters for the Webhook in Cometly.
Save the Webhook
Paste the Cometly Webhook on your webhook in ClickFunnels 2.0.
Click Create Endpoint to save your configuration.
Finish Setting Up Cometly Webhook
Now that the Cometly Webhook is set in ClickFunnels 2.0, finish mapping the webhook data to the appropriate fields in Cometly.
Important: On the filters step of setting up the Cometly Webhook, ensure that you set up a filter to ensure that the order is marked as paid.