Skip to main content

Quick HubSpot contact lookup in Slack for sales & support teams

Workflow preview

Workflow preview
100%
Quick HubSpot contact lookup in Slack for sales & support teams preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

How it works This workflow starts when a user triggers a custom slash command in Slack. The workflow checks if a valid message (email address or HubSpot contact ID) was provided. Based on the input...

Best for

  • CRM automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.if, n8n-nodes-base.stopanderror, n8n-nodes-base.code, n8n-nodes-base.hubspot, n8n-nodes-base.slack, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.

Original n8n.io source

1.1 Workflow description

Title
Quick HubSpot contact lookup in Slack for sales & support teams
Workflow name
Quick HubSpot contact lookup in Slack for sales & support teams

How it works

This workflow starts when a user triggers a custom slash command in Slack. The workflow checks if a valid message (email address or HubSpot contact ID) was provided. Based on the input, it searches HubSpot for the contact either by email or by ID. Once the contact is found, the workflow formats the details into a clean, Slack-friendly message card and posts it back into the Slack channel.

Step-by-step

Start with Slack Slash Command

  • The workflow is triggered whenever someone uses a custom slash command in Slack.

  • It checks if the user actually entered something (email or ID). If nothing is entered, the workflow stops with an error.

Parse Search Input

  • The workflow cleans up the user’s input and determines whether it’s an email address or a HubSpot contact ID.

  • This ensures the correct HubSpot search method is used.

Search in HubSpot

  • If the input is an email → the workflow searches HubSpot by email.

  • If the input is an ID → the workflow retrieves the contact directly using the HubSpot contact ID.

Format Contact Info

  • The retrieved HubSpot contact details (name, email, phone, company, deal stage, etc.) are formatted into a Slack-friendly message card.

Send Contact Info to Slack

  • Finally, the formatted contact information is posted back into the Slack channel, making it instantly visible to the user and team.

Why use this?

  • Quickly look up HubSpot contacts directly from Slack without switching tools.

  • Works with both email addresses and HubSpot IDs.

  • Provides a clean, structured contact card in Slack with key details.

  • Saves time for sales and support teams by keeping workflows inside Slack.

  • Runs automatically once set up — no extra clicks or manual searches.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - 🌐 Incoming Slash Command

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 2 - 🔍 Check if Message Exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 3 - 🛑 Stop – Missing Message

Type / Role
n8n-nodes-base.stopAndError - stopAndError
Config choices
Version 1

Block 4 - ✂️ Parse Search Input

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - 🔀 Determine Search Type

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 6 - 📧 Search Contact by Email

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.1

Block 7 - 🆔 Get Contact by ID

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2

Block 8 - 📝 Format Contact Info (ID Search)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - 📝 Format Contact Info (Email Search)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - 💬 Send Contact Info to Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.1

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Quick HubSpot contact lookup in Slack for sales & support teams
Complexity advanced
Nodes 15
Categories CRM
Author Avkash Kakdiya
Published 01 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8108/8108.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Quick HubSpot contact lookup in Slack for sales & support teams do?

How it works This workflow starts when a user triggers a custom slash command in Slack. The workflow checks if a valid message (email address or HubSpot contact ID) was provided. Based on the input...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM use case.