What this template does
This workflow closes the gap between a form submission and your CRM. When someone fills out a form on your site, n8n receives the payload through a webhook, validates and scores the lead, creates the contact in HubSpot, and pings your sales team in Slack. The lead also gets a confirmation email. No manual copy-paste, no leads sitting in an inbox for a day.
It is a good first automation because the moving parts are simple, but the pattern (webhook in, enrich, write to CRM, notify) is the backbone of most lead-gen flows you will build later.
How it works
The trigger is a Webhook node that receives the form submission. From there:
- Extract and validate the form data (name, email, company, phone).
- Score the lead using conditional logic, for example based on company size.
- Create the contact in HubSpot with lead source set to “Web Form”.
- Add the lead to a nurture segment.
- Send a Slack notification to sales, gated so only high-value leads trigger an alert.
- Send a confirmation email back to the lead.
The output: a scored contact in HubSpot and the right people notified, within seconds of submission.
Setup steps
- Add a Webhook node in n8n, copy the URL, and point your form’s submission endpoint at it.
- In HubSpot, go to Settings, API, and create a private app with the contacts scope. Copy the access token into the HubSpot node.
- Map your form fields (name, email, company, phone) and add conditional scoring based on company size. Set the lead source to “Web Form”.
- Add a Slack node to notify sales with the lead name, company, and score. Filter so only high-value leads fire.
- Submit a test entry, confirm the contact lands in HubSpot and the Slack alert arrives, then enable the workflow.
When to use it
Reach for this on landing page lead capture, demo request forms, contact form submissions, newsletter signups, and free trial registrations. Anywhere a form feeds your pipeline, this removes the manual handoff and makes sure hot leads get seen fast.
Need this customized? Let’s talk.
