The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Lead Capture to CRM",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "lead-capture",
"responseMode": "responseNode",
"options": {}
},
"id": "webhook-trigger",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
240,
300
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"event\"]}}",
"operation": "equals",
"value2": "lead_captured"
}
]
}
},
"id": "filter-lead",
"name": "Filter: lead_captured",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
460,
300
]
},
{
"parameters": {
"url": "={{$env[\"CRM_API_URL\"]}}/contacts",
"sendBody": true,
"contentType": "json",
"bodyParameters": {
"parameters": [
{
"name": "email",
"value": "={{$json[\"data\"][\"email\"]}}"
},
{
"name": "name",
"value": "={{$json[\"data\"][\"name\"]}}"
},
{
"name": "source",
"value": "chatbot"
},
{
"name": "chatbot_name",
"value": "={{$json[\"data\"][\"chatbotName\"]}}"
},
{
"name": "session_id",
"value": "={{$json[\"data\"][\"sessionId\"]}}"
}
]
},
"options": {}
},
"id": "create-crm-contact",
"name": "Create CRM Contact",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
680,
220
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "{\"received\": true}"
},
"id": "respond-webhook",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
680,
380
]
}
],
"connections": {
"Webhook Trigger": {
"main": [
[
{
"node": "Filter: lead_captured",
"type": "main",
"index": 0
}
]
]
},
"Filter: lead_captured": {
"main": [
[
{
"node": "Create CRM Contact",
"type": "main",
"index": 0
}
],
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Create CRM Contact": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Lead Capture to CRM. Uses httpRequest. Webhook trigger; 4 nodes.
Source: https://github.com/SHANMU3007/ai_support_chatbot/blob/9b373a66d92645032a8e5190c443d4ce5ef7e3dc/n8n-workflows/lead-capture-crm.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Ad agencies needing automated lead capture. Sales teams fighting fraud and scoring leads. B2B SaaS companies nurturing prospects. Marketing pros boosting sales pipelines. Captures leads via Webhook fr
Store leads in a SQL Server database via REST API with automatic scoring and Slack notifications.
This workflow captures shoe-shopping leads via a Tally form webhook, matches products from Google Sheets, uses a local Llama model (Ollama HTTP API) to score the lead and draft recommendations, then e
This workflow captures real estate leads via a webhook, uses an OpenAI-compatible Chat Completions API call to qualify and draft a reply, then sends emails through Gmail and logs the lead to Google Sh
Instantly reach new leads on WhatsApp when they submit a form (Typeform, JotForm, Google Forms, or any webhook-enabled form) using MoltFlow (https://molt.waiflow.app). Leads are also logged to Google