ClickFunnels Integration
Automatically sync contacts, tags, and order events from ClickFunnels to Lumail using webhooks
Automatically sync contacts, tags, and order events from ClickFunnels to Lumail using webhooks. This integration allows you to centralize your email marketing data and leverage Lumail's advanced segmentation and automation features with your ClickFunnels audience.
What is ClickFunnels?
ClickFunnels is a comprehensive sales funnel builder that helps businesses create marketing funnels, landing pages, and manage online sales. With this integration, you can sync your ClickFunnels contacts, tags, and order activity to Lumail in real-time.
How It Works
When events occur in ClickFunnels (new contacts, tag changes, orders), ClickFunnels sends webhook notifications to Lumail. The integration:
- Receives webhook events from ClickFunnels
- Processes the event (creates/updates subscribers, syncs tags, tracks orders)
- Updates your Lumail database in real-time
- Records all events in the subscriber timeline
Setup Instructions
Follow these steps to connect your ClickFunnels account to Lumail.
Step 1: Generate Your API Token
First, you need to generate an API token for the integration.
- Visit your organization settings page
- Click "Generate Token" and give it a name like "ClickFunnels"
- Copy the generated token - you'll need it for the webhook URL
Step 2: Configure the Webhook in ClickFunnels
Now you'll add the webhook endpoint in your ClickFunnels workspace.
-
On the bottom left corner, click on workspace settings:

-
Then navigate to the "Webhooks" settings page:

-
You will be redirected to the webhooks endpoint page. Click on "Add new webhook" button:

-
In the webhook form, fill in the following details:
- Name:
Lumail.io - URL:
https://lumail.io/api/v1/integrations/clickfunnel/{your-token}- Replace
{your-token}with the API token you generated in Step 1 - Example:
https://lumail.io/api/v1/integrations/clickfunnel/lu_1234567890
- Replace
- Event types: Select the events you want to sync:
- ✅ contact.created - Syncs new contacts
- ✅ contact.deleted - Removes contacts
- ✅ contact.unsubscribed - Marks contacts as unsubscribed
- ✅ orders/invoice.fulfilled - Tracks successful orders
- ✅ orders/invoice.refunded - Tracks refunded orders
- Endpoint scope: Leave empty
- Name:
-
Click "Create endpoint" and your integration will be ready
Step 3: Test the Integration
To verify the integration is working:
- Add a test contact in ClickFunnels with some tags
- Check your Lumail organization's subscribers list
- The contact should appear with all synced tags
- Check the subscriber's timeline to see the webhook events
Supported Events
The ClickFunnels integration automatically syncs the following events:
Contact Created (contact.created)
When a new contact is created in ClickFunnels:
- Creates or updates the subscriber in Lumail
- Syncs all contact fields (first name, last name, phone)
- Applies all tags from ClickFunnels
- Records the event in the subscriber timeline
Data synced:
- Email address
- First name and last name (combined into full name)
- Phone number
- All contact tags
Contact Deleted (contact.deleted)
When a contact is deleted from ClickFunnels:
- Removes the subscriber from Lumail
- Records the deletion in logs
Contact Unsubscribed (contact.unsubscribed)
When a contact unsubscribes in ClickFunnels:
- Marks the subscriber as unsubscribed in Lumail
- Preserves subscriber data for compliance
- Records the event in the subscriber timeline
Invoice Fulfilled (orders/invoice.fulfilled)
When an order is successfully completed:
- Creates or updates the subscriber with contact information
- Adds the tag "invoice-fulfilled"
- Records the order details (amount, currency, invoice ID)
- Records the event in the subscriber timeline
Data synced:
- Email, first name, last name, phone from invoice contact
- Invoice ID, amount, currency
- Order fulfillment timestamp
Invoice Refunded (orders/invoice.refunded)
When an order is refunded:
- Creates or updates the subscriber with contact information
- Adds the tag "invoice-refunded"
- Records the refund details (amount, currency, invoice ID)
- Records the event in the subscriber timeline
Data synced:
- Email, first name, last name, phone from invoice contact
- Invoice ID, amount, currency
- Refund timestamp
Troubleshooting
Webhook not working?
- Check the webhook URL: Make sure you replaced
{your-token}with your actual API token - Verify the token: Ensure you copied the complete token without extra spaces
- Check webhook events: Make sure you subscribed to the correct events in ClickFunnels
- Review logs: Check your subscriber timeline for any error messages
Contacts not syncing?
- Verify the webhook is active in ClickFunnels
- Check that the contact has a valid email address
- Ensure the webhook URL is correctly formatted
- Test with a new contact creation to trigger the webhook
Tags not appearing?
- Tags are automatically created in Lumail if they don't exist
- Check the subscriber's tags section to see all synced tags
- Review the subscriber timeline for tag sync events
- For order events, check for "invoice-fulfilled" and "invoice-refunded" tags
Order events not tracking?
- Make sure you selected the order event types (orders/invoice.fulfilled, orders/invoice.refunded) in the webhook configuration
- Verify that order webhooks are enabled in your ClickFunnels workspace
- Check the subscriber timeline for order-related events
Related Documentation
- ClickFunnels Webhooks Documentation
- Lumail API Reference - Complete API documentation
- API Tokens - Create and manage API tokens
- Tags API - Manage synced tags
- Subscriber Events - View integration events in timeline
- Revenue Tracking - Track order fulfillment revenue