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 →
{
"nodes": [
{
"id": "fec9c13e-a734-4d36-9d2b-b039da167d54",
"name": "n8n Form Trigger",
"type": "n8n-nodes-base.formTrigger",
"position": [
1060,
360
],
"parameters": {
"path": "1ad4ce6c-f29a-4371-a5b9-a17ce7939280",
"options": {},
"formTitle": "Contact us",
"formFields": {
"values": [
{
"fieldType": "dropdown",
"fieldLabel": "What's your role?",
"fieldOptions": {
"values": [
{
"option": "Product"
},
{
"option": "Sales"
},
{
"option": "Marketing"
},
{
"option": "Other"
}
]
},
"requiredField": true
},
{
"fieldLabel": "What's your business email?",
"requiredField": true
}
]
},
"formDescription": "Thanks for showing interest in our product. We'll come back to you soon!"
},
"typeVersion": 2
},
{
"id": "0bc7cbfd-efb6-43b4-a1e2-64ee28087afa",
"name": "Clearbit",
"type": "n8n-nodes-base.clearbit",
"position": [
1660,
360
],
"parameters": {
"email": "={{ $json['What\\'s your business email?'] }}",
"resource": "person",
"additionalFields": {}
},
"credentials": {
"clearbitApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "7b9263c0-cd18-4c47-aa9b-9263be33aaec",
"name": "Enrich Company",
"type": "n8n-nodes-base.clearbit",
"position": [
1880,
360
],
"parameters": {
"domain": "={{ $json.employment.domain }}",
"additionalFields": {}
},
"credentials": {
"clearbitApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "57cef084-97d3-4beb-8ff0-0d72396f2ae5",
"name": "If B2B and > 499 employees",
"type": "n8n-nodes-base.if",
"position": [
2100,
360
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "a2c9c524-e3dc-411b-ad11-4dcd0f288016",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.tags.includes(\"B2B\") }}",
"rightValue": ""
},
{
"id": "facfad29-ba3e-4111-90e1-8edf67746803",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $json.metrics.employees }}",
"rightValue": 499
}
]
}
},
"typeVersion": 2
},
{
"id": "9de60599-0401-441e-a5c5-bed097ac23f2",
"name": "Send Email",
"type": "n8n-nodes-base.gmail",
"position": [
2340,
340
],
"parameters": {
"sendTo": "={{ $('Map email field').item.json.email }}",
"message": "=Hi {{ $('Clearbit').item.json.name.givenName }},\n\nthanks so much for contacting us. We'll get back to your soon.\nBest\nYour Name",
"options": {},
"subject": "Thanks for contacting us",
"emailType": "text"
},
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
},
"typeVersion": 2.1
},
{
"id": "9830deff-0611-4dae-bd4a-ff893caec257",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
737.3351420060183,
300
],
"parameters": {
"width": 272.6648579939821,
"height": 228.48330548901615,
"content": "### Setup\n1. Add the `Clearbit` and `Gmail` credentials\n2. Click on `Test Workflow`\n3. Enter your own email (which needs to be a business email to work) in the Form\n4. Check your email\n5. Once you're happy don't forget to activate this workflow"
},
"typeVersion": 1
},
{
"id": "19780d88-b510-4390-a1af-5ee9f7ef042f",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1840,
300
],
"parameters": {
"color": 5,
"width": 190,
"height": 232,
"content": "Change the conditions in this node to your needs"
},
"typeVersion": 1
},
{
"id": "5343deb5-f60a-458a-bcda-b24c74812307",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1020,
300
],
"parameters": {
"color": 5,
"width": 190,
"height": 229.23497494011445,
"content": "Replace this node with your form of choice"
},
"typeVersion": 1
},
{
"id": "6c5e8306-a54f-49c3-b364-80e579162826",
"name": "Map email field",
"type": "n8n-nodes-base.set",
"position": [
1280,
360
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "32d5ada7-5cc1-42ad-aad2-7f7f0fb93ace",
"name": "email",
"type": "string",
"value": "={{ $json['What\\'s your business email?'] }}"
}
]
}
},
"typeVersion": 3.3
},
{
"id": "87e26cfb-1f20-4c2d-b298-bab7b75ef415",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1240,
282.46994988022897
],
"parameters": {
"color": 7,
"width": 190,
"height": 247.95993317363863,
"content": "Make sure to map the email field of your form here when changing it"
},
"typeVersion": 1
},
{
"id": "047e8c03-e2fe-4d4c-94af-99ddc28ac7ea",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
2300,
280
],
"parameters": {
"color": 5,
"width": 190,
"height": 218,
"content": "Adjust your message here"
},
"typeVersion": 1
},
{
"id": "2da0e0a3-eb90-4514-a7dd-082a43c9871d",
"name": "Submission does not match criteria, don't do anything",
"type": "n8n-nodes-base.noOp",
"position": [
2340,
580
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e9ef33e5-5a08-4fe3-9363-c0e537645147",
"name": "Filter out personal emails",
"type": "n8n-nodes-base.filter",
"position": [
1460,
360
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "df6da257-7ec4-4433-9d29-2f12f6f11944",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.email }}",
"rightValue": "@gmail.com"
},
{
"id": "6a66410c-a2e8-494b-b972-751116e49418",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.email }}",
"rightValue": "@yahoo.com"
},
{
"id": "378fbe41-0e37-4756-93ca-bf81bfe8b258",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.email }}",
"rightValue": "@outlook.com"
},
{
"id": "fd05b842-3c11-4e1a-9226-0b0fd359ccab",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.email }}",
"rightValue": "@hotmail.com"
},
{
"id": "6040ea5d-3c15-4513-915b-47a55c24e8a7",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.email }}",
"rightValue": "@icloud.com"
},
{
"id": "ce67ed8b-34f9-4ba2-83d4-cc04cea090bb",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.email }}",
"rightValue": "@mail.com"
},
{
"id": "92c043ae-72de-41d8-887b-9e94755a9060",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.email }}",
"rightValue": "@aol.com"
},
{
"id": "377bcc07-e5a1-4e3a-a4da-4446f316a0b2",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.email }}",
"rightValue": "@zoho.com"
},
{
"id": "c09c7057-2833-4085-8cb9-d2f28d853724",
"operator": {
"type": "string",
"operation": "notContains"
},
"leftValue": "={{ $json.email }}",
"rightValue": "@gmx"
}
]
}
},
"typeVersion": 2
}
],
"connections": {
"Clearbit": {
"main": [
[
{
"node": "Enrich Company",
"type": "main",
"index": 0
}
]
]
},
"Enrich Company": {
"main": [
[
{
"node": "If B2B and > 499 employees",
"type": "main",
"index": 0
}
]
]
},
"Map email field": {
"main": [
[
{
"node": "Filter out personal emails",
"type": "main",
"index": 0
}
]
]
},
"n8n Form Trigger": {
"main": [
[
{
"node": "Map email field",
"type": "main",
"index": 0
}
]
]
},
"Filter out personal emails": {
"main": [
[
{
"node": "Clearbit",
"type": "main",
"index": 0
}
]
]
},
"If B2B and > 499 employees": {
"main": [
[
{
"node": "Send Email",
"type": "main",
"index": 0
}
],
[
{
"node": "Submission does not match criteria, don't do anything",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
clearbitApigmailOAuth2
About this workflow
Filter Form. Uses formTrigger, clearbit, gmail, stickyNote. Event-driven trigger; 13 nodes.
Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →