Webhooks & Integrations
Capture leads from any source using your unique webhook URL.
Your Webhook URL
Find your webhook URL in Settings → Webhook URL. It looks like:
https://leadflowx-neon.vercel.app/api/webhook/your-secret-token
Sending Leads
Send a POST request with Content-Type: application/json. Only email is required.
Accepted Fields
| Parameter | Type | Description |
|---|---|---|
| string | Lead email address (must be unique)(required) | |
| name | string | Full name |
| phone | string | Phone number |
| company | string | Company name |
| title | string | Job title |
| string | LinkedIn profile URL | |
| location | string | City, state, or country |
| companyWebsite | string | Company website URL |
| company_website | string | Alias for companyWebsite |
| bio | string | Short bio or description |
| notes | string | Free-form notes |
| industry | string | Industry sector |
| companySize | string | Company size (e.g. '50-200') |
| interests | string | Areas of interest |
| campaignId | string | Campaign ID to associate |
| source | string | Source label (see below) |
Source Values
Set source to categorize the lead. Defaults to WEBHOOK.
WEB_FORMCAMPAIGNLINKEDINREFERRALCONFERENCECOLD_OUTREACHWEBHOOKMAKE_COMAPIFACEBOOK_ADSINSTAGRAM_ADSGOOGLE_ADSLINKEDIN_ADSCHAT_WIDGETEMAIL_INBOUNDLINKEDIN_ORGANICExample Payloads
Minimal
{ "email": "jane@acme.com" }Full payload
{
"email": "jane@acme.com",
"name": "Jane Doe",
"company": "Acme Corp",
"title": "VP of Marketing",
"phone": "+1234567890",
"linkedin": "https://linkedin.com/in/janedoe",
"location": "San Francisco, CA",
"companyWebsite": "https://acme.com",
"industry": "SaaS",
"source": "WEBHOOK"
}Response Format
New lead (201)
{ "status": "created", "leadId": "clx...", "source": "WEBHOOK" }Duplicate merged (200)
{ "status": "merged", "leadId": "clx...", "updatedFields": ["title", "company"] }Duplicate rejected (200)
{ "status": "duplicate_rejected", "matchedLeadId": "clx..." }Integration Guides
Make.com
Use the HTTP module to send a POST request to your webhook URL. Map your form fields to the accepted field names above.
Zapier
Create a Zap with "Webhooks by Zapier" as the action. Choose POST, set your webhook URL, and map fields.
Custom Website Form
HTML Form Handler
<form action="https://leadflowx-neon.vercel.app/api/webhook/YOUR_TOKEN" method="POST"> <input name="email" type="email" required /> <input name="name" type="text" /> <input name="company" type="text" /> <input name="source" type="hidden" value="WEB_FORM" /> <button type="submit">Submit</button> </form>
info
Deduplication
If a lead with the same email already exists, LeadFlowX will either merge the new data (if the existing lead is in an early stage) or reject it (if the lead is already in High Intent or Ready for Human stage).