Start Here 👋
This article will help you configure webhooks inside ClickFunnels to send server events to Cometly.
Using webhooks in your ClickFunnels account is an alternative to Cometly's direct ClickFunnels integration. Please visit our ClickFunnels Integration article to learn more about using Cometly's direct ClickFunnels integration.
If you have not yet installed the Cometly Pixel in your ClickFunnels account, follow the ClickFunnels Pixel Installation Guide.
In this guide we will cover a variety of use cases for using webhooks to send events from ClickFunnels to Cometly.
1. Leads (triggers webhook when new form submission occurs in ClickFunnels)
2. Opportunity Created (triggers webhook when a new opportunity is created in ClickFunnels)
3. Opportunity Closed Won (triggers webhook when when an opportunity is moved to a Closed Won in ClickFunnels)
4. New Payment (triggers webhook when a new payment is created in ClickFunnels)
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.
Click Create Endpoint to save your configuration.
Finish Setting Up Cometly Webhook
Now that the Cometly Webhook is set in ClickFunnels, 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.
API Version
Choose V2.
Endpoint Scopes (Optional)
Leave blank so all opportunities for contacts send in your ClickFunnels 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.
Click Create Endpoint to save your configuration.
Finish Setting Up Cometly Webhook
Now that the Cometly Webhook is set in ClickFunnels, 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.
API Version
Choose V2.
Endpoint Scopes (Optional)
Leave blank so all opportunities for contacts send in your ClickFunnels 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.
Click Create Endpoint to save your configuration.
Finish Setting Up Cometly Webhook
Now that the Cometly Webhook is set in ClickFunnels, 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.
Click Create Endpoint to save your configuration.
Finish Setting Up Cometly Webhook
Now that the Cometly Webhook is set in ClickFunnels, 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.