This workflow corresponds to n8n.io template #2131 — we link there as the canonical source.
This workflow follows the HubSpot → Slack recipe pattern — see all workflows that pair these two integrations.
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": "8b2dad6b-9771-4351-bddc-819746cb04c1",
"name": "Get leads created last 5 minutes",
"type": "n8n-nodes-base.hubspot",
"position": [
160,
500
],
"parameters": {
"resource": "company",
"operation": "getRecentlyCreatedUpdated",
"returnAll": true,
"authentication": "oAuth2",
"additionalFields": {
"since": "={{ $now.minus({ \"minutes\": 5 }) }}"
}
},
"credentials": {
"hubspotOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 2
},
{
"id": "63db576a-6bb7-4215-88f3-98e304081b3e",
"name": "Notify sales rep",
"type": "n8n-nodes-base.slack",
"position": [
700,
500
],
"parameters": {
"text": "=New high-quality lead \ud83e\udd11\n*Company Name*: {{ $json.properties.name.value }} \n*Website*: {{ $json.properties.website.value }}\n*Revenue*: {{ $json.properties.annualrevenue.value }}\n*Number of employees*: {{ $json.properties.numberofemployees.value }}",
"user": {
"__rl": true,
"mode": "list",
"value": "U0361884CU9",
"cachedResultName": "ricardo"
},
"select": "user",
"otherOptions": {},
"authentication": "oAuth2"
},
"credentials": {
"slackOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 2.1
},
{
"id": "2b12fb75-ec81-4d2c-a8bb-12ff2bb7e935",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-420,
460
],
"parameters": {
"width": 257.64008049230523,
"height": 176.97404402400312,
"content": "## Setup\n1. Add `Hubspot` and `Slack` credentials.\n2. Adjust polling time.\n3. Enable the workflow."
},
"typeVersion": 1
},
{
"id": "5c4235de-c7fe-43fc-a351-69e928ba2673",
"name": "Trigger every 5 minutes",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-100,
500
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "7af59e19-893a-477a-ba21-4c1c151ffea4",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
100,
400
],
"parameters": {
"color": 7,
"width": 225.41119920533646,
"height": 282.2830454675093,
"content": "`Since` parameter should match the polling time."
},
"typeVersion": 1
},
{
"id": "123ad2e5-f4f2-4411-bf03-5668124b8757",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
380,
400
],
"parameters": {
"color": 7,
"width": 223.7628185364029,
"height": 276.3308728978709,
"content": "Adjust condition to filter leads by your desire condition. e.g, revenue, number of employees, etc."
},
"typeVersion": 1
},
{
"id": "4263cd25-dcf3-4521-b716-0ce48d3b2c26",
"name": "Keep the ones that make more than $5M in revenue",
"type": "n8n-nodes-base.filter",
"position": [
440,
500
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "1b31b826-e87d-425f-a65d-370b4b20f7e1",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $json.properties.annualrevenue.value.toInt() }}",
"rightValue": 5000000
}
]
}
},
"typeVersion": 2
},
{
"id": "ba1a4a6c-a734-45c7-bb05-df0810a2253b",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
640,
400
],
"parameters": {
"color": 7,
"width": 223.7628185364029,
"height": 276.3308728978709,
"content": "Send notification to slack with the desired information."
},
"typeVersion": 1
}
],
"connections": {
"Trigger every 5 minutes": {
"main": [
[
{
"node": "Get leads created last 5 minutes",
"type": "main",
"index": 0
}
]
]
},
"Get leads created last 5 minutes": {
"main": [
[
{
"node": "Keep the ones that make more than $5M in revenue",
"type": "main",
"index": 0
}
]
]
},
"Keep the ones that make more than $5M in revenue": {
"main": [
[
{
"node": "Notify sales rep",
"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.
hubspotOAuth2ApislackOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
When tracking your contacts and leads in Hubspot CRM, every new contact might be a potential customer. To guarantee that you're keeping the overview you'd normally need to look at every new lead that is coming in manually to identify high-quality leads to prioritize their…
Source: https://n8n.io/workflows/2131/ — 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.
This n8n template posts a quick weekly snapshot to Slack so your team sees last week’s funnel movement at a glance. It counts how many contacts entered the Lead stage in the past week—and optionally r
Automate your lead qualification pipeline — capture Typeform Webhook leads, enrich with APIs, score intelligently, and route to HubSpot, Slack, and Sheets in real-time.
*Smartlead to HubSpot Performance Analytics A streamlined workflow to analyze your Smartlead performance metrics by tracking lifecycle stages in HubSpot and generating automated reports.*
How it works This Lead Capture & Auto-Qualification workflow transforms raw leads into qualified prospects through intelligent automation. Here's the high-level flow: Lead Intake → Data Validation → E
This project automates the process of collecting and managing new leads submitted through a web form. It eliminates the need for manual data entry and ensures that each lead is: Properly recorded and