⚡ Only 300 spots remaining • Closes in 2d 14h 32m
This workflow provides a complete end-to-end automation for lead management. It receives lead data via a webhook, validates the email address, creates a contact in HubSpot, and notifies the sales team on Slack.
This workflow is pre-configured and ready for deployment. Simply import the JSON template into your n8n instance and configure your credentials.
This is an exclusive blueprint. Copy the JSON below to use it.
PRO TIP
Always test your workflow in a development environment before pushing to production.
{
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "lead-webhook",
"options": {}
},
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
250,
300
],
"id": "e3a890a1-4384-47c3-9d0d-f0b8d1b6a248"
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$node[\"Webhook Trigger\"].json[\"body\"][\"email\"]}}",
"operation": "contains",
"value2": "@"
}
]
}
},
"name": "Validate Email",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
450,
300
],
"id": "e3a890a1-4384-47c3-9d0d-f0b8d1b6a249"
},
{
"parameters": {
"resource": "contact",
"operation": "create",
"email": "={{$node[\"Webhook Trigger\"].json[\"body\"][\"email\"]}}",
"additionalFields": {
"firstName": "={{$node[\"Webhook Trigger\"].json[\"body\"][\"first_name\"]}}",
"lastName": "={{$node[\"Webhook Trigger\"].json[\"body\"][\"last_name\"]}}"
}
},
"name": "Create Hubspot Lead",
"type": "n8n-nodes-base.hubspot",
"typeVersion": 1,
"position": [
650,
200
],
"id": "e3a890a1-4384-47c3-9d0d-f0b8d1b6a250"
},
{
"parameters": {
"channel": "sales-notifications",
"text": "New lead received: {{$node[\"Webhook Trigger\"].json[\"body\"][\"email\"]}}",
"otherOptions": {}
},
"name": "Slack Notification",
"type": "n8n-nodes-base.slack",
"typeVersion": 1,
"position": [
850,
200
],
"id": "e3a890a1-4384-47c3-9d0d-f0b8d1b6a251"
}
],
"connections": {
"Webhook Trigger": {
"main": [
[
{
"node": "Validate Email",
"type": "main",
"index": 0
}
]
]
},
"Validate Email": {
"main": [
[
{
"node": "Create Hubspot Lead",
"type": "main",
"index": 0
}
]
]
},
"Create Hubspot Lead": {
"main": [
[
{
"node": "Slack Notification",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {},
"id": "new-lead-processing-workflow"
}To use this, copy the JSON above and paste it directly onto your n8n canvas.
Join the elite marketers who have offloaded their entire backend to n8n. Get direct support and custom builds in our private forum.