Sales & CRM

Sync HubSpot Contacts and Send Personalized Gmail Messages with AI

31 nodes 322 149 Webhook
Download

Workflow Description

Automation that receives contact data from HubSpot via webhook, processes it through an AI agent powered by OpenAI, and delivers personalized email messages via Gmail. The workflow also schedules follow-ups in Google Calendar and posts updates to X, streamlining your sales communication.

How it works

  1. 1.Receive new contact data from HubSpot through webhook trigger
  2. 2.Process contact information using an intelligent AI agent for analysis and classification
  3. 3.Generate personalized email content using OpenAI based on contact details
  4. 4.Send tailored messages through Gmail automatically
  5. 5.Schedule follow-up reminders in Google Calendar
  6. 6.Publish communication updates to X for team visibility

Use cases

  • Send automated welcome messages to new HubSpot contacts with personalized content
  • Create intelligent follow-up sequences with calendar reminders and email tracking
  • Maintain consistent communication records across email and social channels

Requirements

  • Active HubSpot account with API access and webhook permissions
  • Gmail account configured for third-party application access
  • OpenAI API key for intelligent text generation
  • Google Calendar account for scheduling capabilities
  • X (Twitter) account for optional social media updates

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

AI Agent Google Calendar Twitter/X OpenAI Tool Output Parser HubSpot Gmail

Details

Trigger Webhook
Nodes 31
Apps 8
Views 322
Downloads 149

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (31)

/

Webhook

Webhook

#1

Sticky Note

Sticky Note

#2

Try Again

Set

#3

Success

Set

#4

Calendar Agent

Agent

#5

Create Event with Attendee

Google Calendar Tool

#6

Create Event

Google Calendar Tool

#7

Get Events

Google Calendar Tool

#8

Delete Event

Google Calendar Tool

#9

Update Event

Google Calendar Tool

#10

When Executed by Another Workflow

Execute Workflow Trigger

#11

OpenAI Chat Model2

OpenAI

#12

calendarAgent

Tool Workflow

#13

Structured Output Parser

Output Parser Structured

#14

Get list of owners

HTTP Request

#15

Split Out owners

Split Out

#16

Get current owner

Filter

#17

Sticky Note1

Sticky Note

#18

HubSpot Trigger

Hubspot Trigger

#19

Enter your company data here

Set

#20

Sticky Note2

Sticky Note

#21

If a contact is created

If

#22

Get all info about the contact

Hubspot

#23

Write a personalized message

Agent

#24

Send the message

Gmail

#25

Set owner to contact

Hubspot

#26

Sticky Note3

Sticky Note

#27

Transforms markdown to HTML

Markdown

#28

Sticky Note4

Sticky Note

#29

OpenAI Model

OpenAI

#30

Sticky Note7

Sticky Note

#31