Templates / Manage B2B referral leads with Gmail, Slack, HubSpot, and Google Sheets

Manage B2B referral leads with Gmail, Slack, HubSpot, and Google Sheets

Ready for 3.0

by Avkash Kakdiya ✓ · 22 views · created 2026-06-03 · Lead Generation

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 19 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail, Slack, HubSpot and Google Sheets.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Validate Required Fields (Code): runs custom JavaScript code
  2. Is Valid Submission? (If): checks a condition and branches into true / false
  3. Respond — Success (Respond to Webhook): sends the response back to the webhook caller
  4. Extract Referral Data (Code): runs custom JavaScript code
  5. Respond — Validation Error (Respond to Webhook): sends the response back to the webhook caller
  6. Thank You Email to Referrer (Gmail): uses Gmail
  7. Slack: uses Slack
  8. Check Lead in HubSpot (HubSpot): search
  9. Is New Lead? (If): checks a condition and branches into true / false
  10. Create HubSpot Contact (HubSpot): create

…plus 8 more steps. See the full node list below.

Services it uses

GmailSlackHubSpotGoogle Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Quick overview This workflow receives B2B referral submissions via a webhook, validates the payload, emails the referrer and referred lead via Gmail, alerts the sales team in Slack, deduplicates and creates records in HubSpot, waits 3 days to send a follow-up…

Excerpt from Avkash Kakdiya's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.