Sync HubSpot Contacts and Send Personalized Gmail Messages with AI
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.Receive new contact data from HubSpot through webhook trigger
- 2.Process contact information using an intelligent AI agent for analysis and classification
- 3.Generate personalized email content using OpenAI based on contact details
- 4.Send tailored messages through Gmail automatically
- 5.Schedule follow-up reminders in Google Calendar
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (31)
Webhook
Webhook
Sticky Note
Sticky Note
Try Again
Set
Success
Set
Calendar Agent
Agent
Create Event with Attendee
Google Calendar Tool
Create Event
Google Calendar Tool
Get Events
Google Calendar Tool
Delete Event
Google Calendar Tool
Update Event
Google Calendar Tool
When Executed by Another Workflow
Execute Workflow Trigger
OpenAI Chat Model2
OpenAI
calendarAgent
Tool Workflow
Structured Output Parser
Output Parser Structured
Get list of owners
HTTP Request
Split Out owners
Split Out
Get current owner
Filter
Sticky Note1
Sticky Note
HubSpot Trigger
Hubspot Trigger
Enter your company data here
Set
Sticky Note2
Sticky Note
If a contact is created
If
Get all info about the contact
Hubspot
Write a personalized message
Agent
Send the message
Gmail
Set owner to contact
Hubspot
Sticky Note3
Sticky Note
Transforms markdown to HTML
Markdown
Sticky Note4
Sticky Note
OpenAI Model
OpenAI
Sticky Note7
Sticky Note