(SparkUp!) Hubspot - Enrich Contact Button
When a rep clicks the button in HubSpot, SparkUp sends the contact into an enrichment workflow (works with n8n, Make, Zapier, or Relay).
Before enriching, the workflow checks whether the essential fields (name, company domain, LinkedIn URL…) are filled. If something is missing, the rep gets a clear notification prompting them to complete those fields for the best enrichment results.
Sales gets the autonomy to enrich exactly when they need it, while RevOps keeps full ownership of the process, credits are used intelligently, enrichment stays centralized, and HubSpot is instantly updated with clean, reliable data.
Shared 12/22/2025
17 views
Visual Workflow
JSON Code
{
"id": "BcyiIeyUed915Qoj",
"meta": {
"instanceId": "23e90d02c5a4a180ca4ae4e67447e8fd174de5b5ab2812f3c1bf21b15d9facc5",
"templateCredsSetupCompleted": true
},
"name": "Hubspot - Enrich Contact Button",
"tags": [],
"nodes": [
{
"id": "7fb2ad68-c761-4218-988a-389c687c024f",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
832,
672
],
"webhookId": "34789783-056c-498a-a1dd-f50c72c9b6e1",
"parameters": {
"path": "34789783-056c-498a-a1dd-f50c72c9b6e1",
"options": {},
"httpMethod": "POST",
"responseMode": "responseNode"
},
"typeVersion": 2.1
},
{
"id": "225a0429-eb03-4331-92f4-f1d2f6b1c173",
"name": "Get a contact",
"type": "n8n-nodes-base.hubspot",
"position": [
1056,
672
],
"parameters": {
"contactId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.body.hubspot_contact_id }}"
},
"operation": "get",
"authentication": "oAuth2",
"additionalFields": {
"propertiesCollection": {
"propertiesValues": {
"properties": [
"associatedcompanyid",
"hs_linkedin_url"
]
}
}
}
},
"credentials": {
"hubspotOAuth2Api": {
"id": "90XtFVwLeJaTCnPe",
"name": "HubSpot account"
}
},
"typeVersion": 2.2
},
{
"id": "1325463c-9e64-4ed1-a6af-a8149fcefca2",
"name": "Get a company",
"type": "n8n-nodes-base.hubspot",
"position": [
1488,
560
],
"parameters": {
"resource": "company",
"companyId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.properties.associatedcompanyid.value }}"
},
"operation": "get",
"authentication": "oAuth2",
"additionalFields": {}
},
"credentials": {
"hubspotOAuth2Api": {
"id": "90XtFVwLeJaTCnPe",
"name": "HubSpot account"
}
},
"typeVersion": 2.2
},
{
"id": "874b1425-6cab-4c85-9e16-53ee3cfd6cf5",
"name": "Start enrichment",
"type": "n8n-nodes-fullenrich.fullEnrich",
"position": [
2000,
432
],
"parameters": {
"lastName": "={{ $('Get a contact').item.json.properties.lastname.value }}",
"firstName": "={{ $('Get a contact').item.json.properties.firstname.value }}",
"webhookUrl": "={{ $execution.resumeUrl }}",
"companyName": "={{ $json.properties.name.value }}",
"linkedinUrl": "={{ $('Get a contact').item.json.properties.hs_linkedin_url.value }}",
"companyDomain": "={{ $json.properties.website.value }}",
"enrichmentName": "Hubspot - Enrich Contact Button"
},
"credentials": {
"fullEnrichApi": {
"id": "NEzbgdfjWItf5hmV",
"name": "FullEnrich account"
}
},
"typeVersion": 1
},
{
"id": "63525a1f-2166-4759-bf25-5fa01439a263",
"name": "Wait for FullEnrich Result",
"type": "n8n-nodes-base.wait",
"position": [
2192,
432
],
"webhookId": "a970b3f4-c142-456c-bbbc-061fb14dc97f",
"parameters": {
"resume": "webhook",
"options": {},
"httpMethod": "POST"
},
"typeVersion": 1.1
},
{
"id": "432532da-5cc0-4a33-bc48-13e05d26d051",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
2608,
432
],
"parameters": {
"options": {},
"respondWith": "json",
"responseBody": "{\n \"results\": \"done\"\n}"
},
"typeVersion": 1.4
},
{
"id": "f16bcd48-5766-4a2c-92d8-5d1b64c22eba",
"name": "Update Hubspot Contact",
"type": "n8n-nodes-base.httpRequest",
"position": [
2400,
432
],
"parameters": {
"url": "=https://api.hubapi.com/crm/v3/objects/contacts/{{ $('Webhook').item.json.body.hubspot_contact_id }}",
"method": "PATCH",
"options": {},
"jsonBody": "={\n \"properties\": {\n \"email\": \"{{ $json.body.datas[0].contact.most_probable_email }}\",\n \"phone\": \"{{ $json.body.datas[0].contact.most_probable_phone }}\",\n \"hs_linkedin_url\": \"{{ $json.body.datas[0].contact.profile.linkedin_url }}\"\n }\n}",
"sendBody": true,
"specifyBody": "json",
"authentication": "predefinedCredentialType",
"nodeCredentialType": "hubspotOAuth2Api"
},
"credentials": {
"hubspotOAuth2Api": {
"id": "90XtFVwLeJaTCnPe",
"name": "HubSpot account"
}
},
"typeVersion": 4.3
},
{
"id": "0cc27729-3b33-4d10-a47d-6df958ff72a8",
"name": "Check if company exists",
"type": "n8n-nodes-base.switch",
"position": [
1264,
672
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "If company linked",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "667f872f-1e29-4aab-a99d-2db638782e8e",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.properties.associatedcompanyid.value }}",
"rightValue": ""
}
]
},
"renameOutput": true
}
]
},
"options": {
"fallbackOutput": "extra"
}
},
"typeVersion": 3.3
},
{
"id": "be6be146-124f-43f2-bb21-f767577977ac",
"name": "Check if first name, last name & company domain exists",
"type": "n8n-nodes-base.switch",
"position": [
1712,
560
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "If necessary info",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "1e25e10c-f13e-4bf9-a4a3-def4778abb9a",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ \n $('Get a contact').item.json.properties.firstname.value !== '' &&\n $('Get a contact').item.json.properties.lastname.value !== '' &&\n $('Get a company').item.json.properties.domain.value !== ''\n}}",
"rightValue": ""
}
]
},
"renameOutput": true
}
]
},
"options": {
"fallbackOutput": "extra"
}
},
"typeVersion": 3.3
},
{
"id": "16dc6e11-060b-4636-9663-d00d4eca2914",
"name": "Invalid inputs notification (company)",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1488,
752
],
"parameters": {
"options": {},
"respondWith": "json",
"responseBody": "{\n \"results\": \"missing_core_info\"\n}"
},
"typeVersion": 1.4
},
{
"id": "26990df7-aeed-4745-8415-e1f954cc4ee6",
"name": "Invalid inputs notification (first name, last name, domain)",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
2000,
656
],
"parameters": {
"options": {},
"respondWith": "json",
"responseBody": "{\n \"results\": \"missing_core_info\"\n}"
},
"typeVersion": 1.4
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "b6f3e6de-624c-4fed-a380-181799f30b4d",
"connections": {
"Webhook": {
"main": [
[
{
"node": "Get a contact",
"type": "main",
"index": 0
}
]
]
},
"Get a company": {
"main": [
[
{
"node": "Check if first name, last name & company domain exists",
"type": "main",
"index": 0
}
]
]
},
"Get a contact": {
"main": [
[
{
"node": "Check if company exists",
"type": "main",
"index": 0
}
]
]
},
"Start enrichment": {
"main": [
[
{
"node": "Wait for FullEnrich Result",
"type": "main",
"index": 0
}
]
]
},
"Update Hubspot Contact": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Check if company exists": {
"main": [
[
{
"node": "Get a company",
"type": "main",
"index": 0
}
],
[
{
"node": "Invalid inputs notification (company)",
"type": "main",
"index": 0
}
]
]
},
"Wait for FullEnrich Result": {
"main": [
[
{
"node": "Update Hubspot Contact",
"type": "main",
"index": 0
}
]
]
},
"Check if first name, last name & company domain exists": {
"main": [
[
{
"node": "Start enrichment",
"type": "main",
"index": 0
}
],
[
{
"node": "Invalid inputs notification (first name, last name, domain)",
"type": "main",
"index": 0
}
]
]
}
}
}