Get Started
Screenshot of n8n workflow
FREE TEMPLATE
Automate HubSpot Gmail Lead Qualification
8
Views
0
Downloads
15
Nodes
Download Template
Free
Preview Template
Utility Rating
8 / 10
Business Function
Sales
Automation Orchestrator
n8n
Integrations
MadKudu
Hunter
HubSpot
Gmail
Trigger Type
Webhook
Approx setup time ≈ 55 min
Need help setting up this template?
Ask in our free Futurise community
About
Community
Courses
Events
Members
Templates

How to Automate HubSpot Gmail Lead Qualification?

Leon Petrou
FREE TEMPLATE
Automate HubSpot Gmail Lead Qualification
8
Views
0
Downloads
15
Nodes
Download Template
Free
Preview Template
Utility Rating
8 / 10
Business Function
Sales
Automation Orchestrator
n8n
Integrations
MadKudu
Hunter
HubSpot
Gmail
Trigger Type
Webhook
Approximate setup time ≈ 55 minutes
Need help setting up this template?
Ask in our free Futurise community

Description

Capture inbound form leads, check if the email is real, score the fit, and send a warm email from Gmail while logging the activity in HubSpot. Ideal for B2B teams that want faster responses and cleaner pipelines without extra manual work.

A built in form collects the business email. Hunter checks if the address is valid. If it passes, the flow calls MadKudu over HTTP to fetch a customer fit score. A rule compares that score to a threshold of 60. High scoring leads get created or updated in HubSpot. A Set step prepares the subject, recipient, and HTML content. Gmail sends the outreach email and the engagement is recorded back to HubSpot. Invalid or low scoring leads move to quiet branches so your team does not waste time.

You will need Gmail OAuth, HubSpot OAuth, a Hunter API key, and a MadKudu API key. Adjust the score threshold and the email template to match your ideal customer. Expect faster first touch, fewer spam contacts, and better focus for your sales team. Great for teams that want to qualify form leads before a sales call or for small teams that want to scale responses without adding headcount.

Copy link

Tools Required

n8n
Sign up
$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.
MadKudu
Sign up
Hunter
Sign up
Free plan: $0 / mo, 50 credits / mo, API access included (0.5 credit per email verification)
HubSpot
Sign up
Free: $0 / mo; API access included (private app or OAuth). Limits on Free: 250,000 API calls/day and 100 requests per 10 seconds per private app.
Gmail
Sign up
No cost: Personal Gmail (Gmail API has no usage-based pricing; quotas apply)

What this workflow does?

  • n8n Form Trigger collects business emails and basic details.
  • Hunter email verification filters fake or risky addresses before scoring.
  • HTTP Request to MadKudu retrieves customer fit score by email.
  • If rule qualifies leads only when the fit score is above 60.
  • HubSpot contact creation or update keeps the CRM current.
  • Set node builds the subject, recipient, and HTML body for outreach.
  • Gmail sends a personalized email using the prepared content.
  • HubSpot engagement logging records the email for full visibility.
  • NoOp branches quietly handle invalid and low scoring leads.

What are the benefits?

  • Reduce manual lead review from 2 hours to 5 minutes
  • Automate 80% of email checks and scoring steps
  • Improve data quality by 90% with email verification
  • Handle 5 times more inbound leads without new hires
  • Connect 4 systems seamlessly for a single lead flow

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Gmail, HubSpot, Hunter and MadKudu. See the Tools Required section above for links to create accounts with these services.
  3. Open the Form Trigger node and confirm the form title, description, and the field label for the email question match your site copy.
  4. In the Hunter node, double click the node, then on the 'Credential to connect with' dropdown, click 'Create new credential' and paste your Hunter API key from the Hunter dashboard API page.
  5. In the HTTP Request to MadKudu, create a new HTTP Header Auth credential. Add the required authorization header using your MadKudu API key from the MadKudu account settings.
  6. In the HubSpot nodes, create a new HubSpot OAuth2 credential by following the on screen steps in n8n Cloud and grant contacts and engagements permissions.
  7. In the Gmail node, create a new Gmail OAuth2 credential. Choose the correct Google account and approve the requested scopes for sending email.
  8. Check field mappings: make sure the email captured by the form is the same field used in Hunter and in the MadKudu request. If your form label changes, update the expressions in those nodes.
  9. Open the If node for customer fit and adjust the threshold if needed. Teams can start at 60 and tune up or down after a week of data.
  10. Edit the Set node to adjust subject, HTML content, and the 'to' field. Map 'to' to the captured email so Gmail sends to the right contact.
  11. In the HubSpot contact node, choose Create or Update and map the email property. In the HubSpot engagement node, confirm subject, HTML body, from and to fields are using the same values as the email.
  12. Click Test Workflow in n8n. Submit a sample email in the form. Verify Hunter status, confirm a MadKudu score appears, check the If routing, and see the contact and engagement in HubSpot. If you see 401 errors, recheck API keys. If Gmail does not send, confirm the 'to' field and Gmail OAuth status.
  13. Activate the workflow and use the production form URL from the Form Trigger to embed or link on your site.

Need help or want to customize this?

Similar Templates

n8n
Sales
Automate HubSpot to Gmail Sales Outreach
Create personal sales emails at scale without guesswork. The flow pulls contacts from your CRM, studies past emails in Gmail, builds a quick persona, and writes a tailored draft for each person. Great for sales teams that want faster outreach with real context. It runs on demand and reads a target list from HubSpot. Each contact moves through a loop where the Variables step maps name, email, and the product you want to sell. Gmail pulls recent messages from that contact. An AI step using Google Gemini extracts traits like tone, decision style, and interests. A second AI step turns that persona into a subject line and HTML body. The email is saved as a Gmail draft so a rep can review and send. You will need HubSpot, Gmail, and a Google Gemini API key. Set your product in the Variables node and refine the Gmail search so only useful messages are used. Teams often cut drafting time from 30 minutes per contact to 2 minutes and can process hundreds of contacts in one run. Use it for account based outreach, reactivation, and upsell follow ups.
14 views
view
n8n
Sales
Automate Google Sheets HubSpot Lead Alerts
New leads flow from a Google Sheet straight into your CRM while your team gets instant alerts. It helps sales react fast and keeps contacts clean and organized without copy paste work. A Google Sheets trigger checks for new rows every minute. When a lead arrives, the data is sent to HubSpot as a contact with mapped fields like name, email, phone, interest level, and notes. At the same time, a Slack message posts to a chosen channel and a Gmail alert lands in the inbox. The flow then waits for a set time and checks the Followed Up? column. If it is still empty and interest is high, a reminder email is sent. If follow up happened, the flow ends quietly. Setup is simple for teams that already use Google Forms and Google Sheets to collect leads. Expect faster first responses, fewer missed leads, and consistent CRM records. It works well for small sales teams who want a sheet based follow up tracker with timed nudges. Adjust the wait time, Slack channel, and email settings to match your process.
5 views
view
n8n
Sales
Automate Email to HubSpot Lead Capture
Turn inbound emails into clean CRM records. Sales teams get contacts created and each message logged as an engagement in the CRM, without typing. Great for handling contact requests and demo emails. An email inbox watched by IMAP receives a new message. An AI model reads the email and pulls key details like name, email, phone, company, and location into a structured JSON. The flow checks HubSpot for a matching contact by email. If found, it maps the HubSpot contact id and records the email as an engagement. If not found, it creates the contact first, then adds the engagement with the original subject and body. The setup uses an OpenAI chat model with a defined output schema to keep fields consistent. You will need access to an IMAP email inbox, a HubSpot account with OAuth, and an OpenAI API key. Expect faster lead intake, fewer typos, and complete timelines in HubSpot. Good fits include inbound sales requests, replies to outreach, and leads sent by third party forms that forward email. After connecting credentials, test by sending a sample email and check that the contact and engagement appear in HubSpot.
4 views
view
See More Templates

Credits: Mutasem from n8n - these templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution. If you are the author and would like this template removed from the template library, email us at info@futurise.com and we will remove it promptly.