Automate HubSpot Outreach Emails with n8n and Gmail

Struggling to track and email uncontacted HubSpot leads manually? This n8n workflow automates sending personalized outreach emails through Gmail and records engagement in HubSpot, saving hours and avoiding missed contacts.
hubspot
gmail
scheduleTrigger
+2
Workflow Identifier: 1492
NODES in Use: gmail, hubspot, scheduleTrigger, set, stickyNote
Automate HubSpot emails with n8n and Gmail

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow finds HubSpot contacts without a last contacted date.
Then it sends each contact a personal email using Gmail.
After sending, it records the email activity in HubSpot to mark the contact as reached.
This saves hours spent on manual searching and emailing.
It helps avoid contacting the same lead twice.


Who should use this workflow

This workflow suits sales representatives or anyone managing leads in HubSpot.
It works best for teams needing to email new leads automatically every day.
If you spend time manually finding uncontacted leads and writing emails, this helps you save time and reduce errors.


Tools and services used

  • HubSpot: To find uncontacted leads and update engagement records.
  • Gmail: To send personalized outreach emails.
  • n8n: Orchestrates the whole workflow, connecting HubSpot and Gmail.

Inputs, processing steps, and outputs

Inputs

  • HubSpot contacts without a recorded last contact date.
  • Contact details like first name and email address.

Processing Steps

  • Trigger workflow daily at 9 AM.
  • Search HubSpot for contacts missing last contact date.
  • Personalize email content using the contact’s first name and email.
  • Send email via Gmail with a custom sender name and subject.
  • Record the email engagement in HubSpot linked to the contact ID.
  • Update HubSpot to prevent future duplicate contact.

Outputs

  • Sent emails to all qualifying uncontacted leads.
  • Updated HubSpot engagement records marking leads as contacted.

Beginner step-by-step: How to use this workflow in n8n

1. Import the workflow

  1. Click the Download button on this page to get the workflow file.
  2. Inside n8n editor, go to menu and choose “Import from File.”
  3. Select the downloaded workflow file to add it to your n8n instance.

2. Configure credentials and settings

  1. Add your HubSpot OAuth2 credentials in the credential manager.
  2. Add your Gmail OAuth2 credentials configured for sending email.
  3. Check node settings—update contact property names, sender name, subject line if needed.

3. Test the workflow

  1. Run the workflow manually on a test contact to confirm email sends and HubSpot updates.
  2. Verify the email content is personalized and engagement is logged in HubSpot.

4. Activate for production

  1. Toggle the active switch in n8n to enable the workflow.
  2. Make sure your n8n is running continuously or scheduled to run at 9 AM daily.
  3. Monitor email and engagement logs to ensure smooth operation.
  4. Consider self-host n8n to run workflow reliably 24/7.

Edge cases and failure points

  • If HubSpot search finds no contacts, check the property name and filter settings.
  • If no emails send, check Gmail API credentials and ensure daily limits are not exceeded.
  • If engagements do not record, verify contact ID mapping and mandatory metadata fields.
  • Large volumes of contacts may require batching or pacing emails to avoid API or rate limits.

Customization ideas

  • Change email content in the Set node to add different calls to action or branding.
  • Adjust the scheduled trigger to send outreach at different times.
  • Add more filters in HubSpot node for targeting specific segments.
  • Include tracking URLs with UTM parameters inside emails for campaign analytics.

Summary of benefits and outcome

✓ Save about two hours daily by automating lead filtering and emailing.
✓ Reduce human errors in contacting leads.
✓ Reach more leads consistently every day.
✓ Automatically log contact engagement in HubSpot.
✓ Avoid contacting the same lead more than once.


Automate HubSpot emails with n8n and Gmail

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Download the workflow file, then use the Import from File option inside n8n editor. Add your HubSpot and Gmail credentials, test once with a contact, then activate the workflow.
The filter may use an incorrect property name or operator, or no contacts might meet the criteria. Check property spelling and test search directly in HubSpot UI.
This can happen due to wrong Gmail OAuth2 credentials or reaching Gmail daily sending limits. Refresh credentials and monitor sending volume.
Make sure the contact IDs are passed from the HubSpot search to the engagement node, and all required metadata like email content and subject are correctly filled.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.