Automate Customer Onboarding with HubSpot and Google Calendar in n8n

Streamline customer onboarding by automating welcome emails, calendar invites, and CRM updates using HubSpot, Google Calendar, and n8n. Save hours and avoid manual errors with this specialized workflow.
webhook
googleCalendarTool
hubspot
+11
Workflow Identifier: 1239
NODES in Use: Webhook, Sticky Note, Set, googleCalendarTool, executeWorkflowTrigger, lmChatOpenAi, toolWorkflow, outputParserStructured, httpRequest, splitOut, filter, hubspotTrigger, hubspot, gmail

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

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow automates customer onboarding triggered by new contacts in HubSpot. It sends a personalized welcome email, schedules a welcome call on Google Calendar, and assigns the correct Customer Success Manager automatically. This removes manual work and mistakes, saving hours per 10 customers and improving customer experience.

The workflow starts when HubSpot sends new contact data via a Webhook node. It fetches contact details using a HubSpot node. Then it uses an AI Langchain agent to write a custom welcome email and set a meeting in Google Calendar using Google nodes. Finally, it updates HubSpot to assign the right manager and emails the customer through Gmail.


Who should use this workflow

This is for teams using HubSpot CRM who want to save time on onboarding new clients. It fits Customer Success Managers who send welcome emails and schedule calls manually. Businesses wanting to avoid errors and delays in onboarding will benefit most.

Users must have basic n8n experience and accounts on HubSpot, Google Calendar, Gmail, and OpenAI API access. It suits those looking to automate repetitive CRM tasks and improve speed and accuracy.


Tools and services used


Inputs, processing steps, and outputs

Inputs

  • New contact creation event from HubSpot via the Webhook node.
  • OAuth credentials for HubSpot, Google Calendar, Gmail, and OpenAI API.
  • Company info set manually in Set node.

Processing Steps

  • Fetch full contact info from HubSpot using contact ID.
  • Request list of HubSpot owners. Filter owner matching sender email.
  • Validate event type is contact creation to proceed.
  • Use Langchain agent to produce a personalized email and schedule call instructions.
  • Convert AI email output from Markdown to HTML.
  • Create Google Calendar event for welcome call via Google nodes.
  • Send the welcome email through Gmail with BCC for monitoring.
  • Update contact owner in HubSpot dynamically.
  • Handle success or retry on failure with appropriate messages.

Outputs


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

Importing the Workflow

  1. Download the workflow file using the Download button on this page.
  2. In your n8n editor, click on the menu, select “Import from File,” and choose the downloaded workflow file.

Setup Credentials and Configuration

  1. Add all required credentials: HubSpot OAuth, Google Calendar OAuth, Gmail OAuth, and OpenAI API Key in the n8n Credentials area.
  2. In the Set node named for company info, update the sender name, sender email, and company name to your actual data.
  3. If needed, update any calendar IDs or email addresses used for BCC within the Gmail node.

Testing the Workflow

  1. Trigger a test new contact creation event in HubSpot or send test data to the Webhook node.
  2. Watch the workflow run and check logs. Confirm the email sends and calendar event appears.

Going Live

  1. When testing works, activate the workflow by toggling the active switch in your n8n dashboard.
  2. Monitor future runs to ensure smooth operation.
  3. For better control or security, consider self-host n8n.

Customization ideas

  • Change the Google Calendar account by updating OAuth credentials in all Google nodes.
  • Edit the Langchain agent prompt to change email tone, add FAQs, or other instructions.
  • Add SMS notifications after sending email using SMS nodes for extra touchpoints.
  • Extend the If node to cover more HubSpot event types like contact updates or form submissions.

Handling errors and failures

  • If HubSpot trigger does not fire, check event subscription type and OAuth tokens.
  • For Google Calendar event creation issues, verify calendar ID and OAuth permissions.
  • If Gmail emails fail, re-authenticate Gmail node and check message parameters.
  • Use Set nodes named “Success” and “Try Again” to manage retry logic and responses.

Summary of benefits and results

✓ Saves over 3 hours per 10 new customers by automating onboarding tasks.

✓ Prevents errors and missed client outreach by automating emails and calendar schedules.

✓ Improves customer satisfaction with timely, personalized welcome messages and calls.

✓ Frees Customer Success Managers to focus on high-value tasks rather than manual coordination.


Frequently Asked Questions

The workflow triggers automatically on new contact creation events from HubSpot via a webhook.
The workflow uses an AI Langchain agent to write personalized emails based on contact details and company info.
Yes, the workflow fetches HubSpot owners and assigns the correct owner dynamically using the HubSpot API.
Import the workflow in n8n, configure credentials and settings, then trigger test new contact events to verify email and calendar creation.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free