Skip to main content

Automate new customer onboarding with HubSpot, Google Calendar, and AI-powered Gmail

Workflow preview

Workflow preview
100%
Automate new customer onboarding with HubSpot, Google Calendar, and AI-powered Gmail preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This n8n workflow streamlines the onboarding process for new customers by automating personalized email communication, calendar scheduling, and contact assignment in HubSpot. It is perfect for busi...

Best for

  • CRM automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.stickynote, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googlecalendartool, n8n-nodes-base.executeworkflowtrigger, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.toolworkflow

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by PollupAI.

Original n8n.io source

1.1 Workflow description

Title
Automate new customer onboarding with HubSpot, Google Calendar, and AI-powered Gmail
Workflow name
Automate new customer onboarding with HubSpot, Google Calendar, and AI-powered Gmail

This n8n workflow streamlines the onboarding process for new customers by automating personalized email communication, calendar scheduling, and contact assignment in HubSpot. It is perfect for businesses looking to ensure a smooth and personalized onboarding experience for new clients.


🧑‍💼 Who is this for?

  • Customer success teams who need to onboard new clients efficiently.
  • Sales teams who want to ensure smooth transitions from prospect to customer.
  • Small businesses that want to automate customer onboarding without complex systems.

đź§© What problem is this workflow solving?

This workflow reduces the manual effort involved in onboarding new customers by:

  • Automatically sending personalized welcome emails.
  • Scheduling a welcome meeting using a calendar tool.
  • Assigning the customer to a Customer Success Manager (CSM) in HubSpot.

⚙️ What this workflow does

  1. Trigger via Webhook or HubSpot:

    • The workflow can be triggered either by a webhook (direct API call) or a HubSpot trigger (e.g., when a new contact is created).
  2. HubSpot Connection:

    • Retrieves the list of HubSpot owners (users with contact access).
    • Identifies the owner of the new contact.
  3. Calendar Management:

    • Utilizes a Calendar Agent to schedule a welcome meeting with the new customer.
    • The Calendar Agent can create, update, or delete events as needed.
  4. Personalized Email Creation:

    • Uses an AI-powered Email Writer (OpenAI) to generate a personalized welcome email.
    • Transforms the email text into HTML for a polished format.
  5. Email Sending via Gmail:

    • Sends the personalized email to the customer using Gmail.
    • Sets the new contact’s owner in HubSpot for further communication tracking.

🛠️ Setup

  1. Webhook Setup in n8n:

    • Create a new workflow and add a Webhook node.
    • Set the Webhook URL path (e.g., /webhook-customer-onboarding).
    • Make sure the workflow is active.
  2. Webhook Setup in HubSpot:

    • Go to HubSpot Developer Account.
    • Navigate to Settings > Integrations > Webhooks.
    • Create a new webhook and set the URL as the n8n Webhook URL.
    • Choose POST as the request method.
    • Test the webhook to ensure it triggers the workflow in n8n.
  3. Calendar Agent Configuration:

    • The Calendar Agent can be configured to create, update, or delete events.
    • Connect it to your calendar tool (Google Calendar, Outlook, etc.).
    • Customize the calendar event details (title, description, time).
  4. Email Writer Setup:

    • Customize the AI prompt in the Email Writer node to match your brand’s voice.
    • Adjust the email text format for your specific needs.
  5. Gmail Integration:

    • Connect your Gmail account in n8n.
    • Set the recipient email to the new customer’s email address.

✏️ How to customize this workflow to your needs

  • Modify the AI-Powered Email:

    • Adjust the email prompt for the AI model to create a different welcome message.
    • Change the email format or add custom variables (e.g., customer name, service details).
  • Customize Calendar Settings:

    • Set default time slots for welcome meetings.
    • Specify which calendar to use for scheduling.
  • Add Additional Steps:

    • Extend the workflow to automatically assign the customer to a specific HubSpot list.
    • Add a follow-up email or survey after the welcome meeting.

This workflow is perfect for businesses seeking an efficient and personalized onboarding process, ensuring new customers feel welcomed and supported from day one.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Try Again

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Success

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Calendar Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.6

Block 6 - Create Event with Attendee

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 7 - Create Event

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 8 - Get Events

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 9 - Delete Event

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 10 - Update Event

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 11 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 12 - OpenAI Chat Model2

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 13 - calendarAgent

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2.2

Block 14 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 15 - Get list of owners

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Split Out owners

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 17 - Get current owner

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 18 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - HubSpot Trigger

Type / Role
n8n-nodes-base.hubspotTrigger - hubspotTrigger
Config choices
Version 1

Block 20 - Enter your company data here

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 21 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - If a contact is created

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 23 - Get all info about the contact

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.1

Block 24 - Write a personalized message

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Showing the first 24 of 31 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automate new customer onboarding with HubSpot, Google Calendar, and AI-powered Gmail
Complexity advanced
Nodes 31
Categories CRM, Multimodal AI
Author PollupAI
Published 09 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3958/3958.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate new customer onboarding with HubSpot, Google Calendar, and AI-powered Gmail do?

This n8n workflow streamlines the onboarding process for new customers by automating personalized email communication, calendar scheduling, and contact assignment in HubSpot. It is perfect for busi...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, Multimodal AI use case.