Templates / Generate personalized HubSpot campaign emails with Groq AI and Gmail

Generate personalized HubSpot campaign emails with Groq AI and Gmail

Ready for 3.0

by Avkash Kakdiya ✓ · 129 views · created 2026-03-18 · Social Media, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 7 nodes and runs on a schedule (every day). Along the way it connects Groq Chat Model, Gmail and HubSpot.

How it runs

Trigger: On a schedule (every day).

  1. Search contacts (HubSpot): search
  2. Loop Over Contacts (Loop Over Items (Split in Batches)): loops over the items in batches
  3. AI Agent: runs an AI agent
  4. Groq Chat Model: uses Groq Chat Model
  5. Format AI's output (Code): runs custom JavaScript code
  6. Send a message (Gmail): uses Gmail

Services it uses

Groq Chat ModelGmailHubSpot

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

How it works This workflow runs on a schedule and retrieves newly created HubSpot contacts from the past 24 hours. It processes each contact individually and generates a tailored marketing campaign using an AI model. The generated content is formatted into a…

Excerpt from Avkash Kakdiya's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.