AutomationMart
Home/Browse/AI email reply based on HubSpot data + Slack approval
n8n

AI email reply based on HubSpot data + Slack approval

n8nn8n13 modulesv1.0
HubSpotGmailSlackGemini

This n8n template drafts customer-ready email replies using Google Gemini, enriched with HubSpot context (contact, deals, companies, tickets). Each draft is routed to Slack for one-click approval before it’s sent from Gmail—so you move fast without losing control. Ideal for support and sales teams that want speedy, personalized responses while keeping humans in the loop. --- How it works Gmail Trigger watches for new inbound emails. Sender filter excludes internal domains (e.g., n8n.io) to avo

At a glance

AI email reply based on HubSpot data + Slack approval is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects HubSpot, Gmail, Slack, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
HubSpot, Gmail, Slack, Gemini
Modules
13
Price
Free
Version
v1.0
AI email reply based on HubSpot data + Slack approval workflow diagram

About this workflow

This n8n template drafts customer-ready email replies using Google Gemini, enriched with HubSpot context (contact, deals, companies, tickets). Each draft is routed to Slack for one-click approval before it’s sent from Gmail—so you move fast without losing control. Ideal for support and sales teams that want speedy, personalized responses while keeping humans in the loop. --- How it works Gmail Trigger watches for new inbound emails. Sender filter excludes internal domains (e.g., n8n.io) to avoid auto-replying to teammates. HubSpot contact lookup finds the sender and fetches associated deals/companies/tickets via association + batch read. CRM context is normalized into clean, LLM-friendly fields (no IDs or sensitive noise). Gemini (Google AI Studio) generates a concise, friendly reply using: Sender name, subject, and message snippet Safe, relevant HubSpot context (e.g., top 1–2 deals or an open ticket) Style constraints (≤ \150 words, single CTA, optional clarifying question) Slack approval posts the draft to a channel; if approved, n8n replies via Gmail in the original thread. --- How to use 1. Gmail: Connect the same account for the trigger and reply nodes. 2. HubSpot: Connect OAuth on the search + HTTP request nodes. 3. Gemini: Add your Google AI Studio API key to the Google Gemini Chat Model node. 4. Slack: Connect and select the channel for draft approvals. 5. (Optional) Filter: Adjust the Allowed Sender filter before going live. 6. (Optional) Prompt: Edit “Draft Reply (AI Agent)” tone/length or how much CRM detail to include. 7. Activate the workflow. New emails will produce Slack-approved replies automatically. --- Requirements Gmail (trigger + send) HubSpot (OAuth2) for contact + associations Slack for approval step Google Gemini (Google AI Studio API key) --- Notes & customization Safety rails: The prompt avoids exposing IDs/raw JSON and caps CRM details to what’s useful. Auto-send mode: Skip Slack if you want fully automated replies for specific senders/labels. Richer context: Extend the batch read to pull more properties (e.g., next step, renewal date). Triage: Branch on subject/labels to route billing vs. technical requests to different prompts. QA queue: If the model asks a clarifying question, keep it to one—the node enforces that.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Outlook inbox tamer: GPT-4.1 powered categorization, auto replies & team alerts

Outlook Inbox Tamer: AI-Powered Categorization, Auto Replies & Team Alerts This workflow automatically classifies and routes incoming Outlook emails into smart categories using n8n + OpenAI GPT-4.1-mini. It helps professionals and teams stay organized by intelligently sorting and responding to high-priority messages, customer support emails, promotions, and finance-related messages — all without manual effort. --- 🧠 Who’s It For - Professionals or teams overwhelmed by email volume. - Customer

Free

Automate resume screening & candidate routing with Gemini AI and Google Sheets

Streamline your recruitment process with AI-powered resume analysis that goes beyond keyword matching. Overview This workflow revolutionizes hiring by using specialized AI agents to intelligently analyze resumes for different positions. Unlike traditional ATS systems that rely on keyword matching, this solution provides deep, contextual analysis of candidate qualifications and automatically manages the entire screening process from application to response. How it works Application Submi

Free

Send a Slack message when a Microsoft To Do task is completed

With this template, you will receive a Slack message with a completed Microsoft To Do task.

Free

AI-powered invoice reminder & payment tracker for finance & accounting

Streamline invoice management with this automated n8n workflow. Triggered daily at 9 AM, it fetches pending invoices, filters overdue ones, uses AI to generate personalized reminders, and sends them to clients. It also tracks payments via webhooks, updates statuses, and provides daily summaries to the finance team, ensuring efficient cash flow oversight. Key Features - Daily checks at 9 AM ensure timely invoice tracking. - AI generates personalized reminders and payment confirmations.

Free

Generate AI-curated Reddit digests for Telegram, Discord & Slack with Gemini

Automatically fetch, curate, and distribute Reddit content digests using AI-powered filtering. This workflow monitors multiple subreddits, ranks posts by relevance, removes spam and duplicates, then delivers beautifully formatted digests to Telegram, Discord, or Slack. Who's it for Perfect for content creators tracking trends, marketers monitoring discussions, researchers following specific topics, and community managers staying informed. Anyone who wants high-quality Reddit updates without

Free

Automated sales leaderboard with HighLevel CRM, GPT-4o, Notion & Slack

Description: This workflow automates sales performance tracking and motivational updates by integrating HighLevel CRM, Notion, GPT-4o, and Slack. It pulls all deals from HighLevel, cleans and summarizes sales data per representative, creates performance dashboards in Notion, and uses GPT-powered AI to generate personalized motivational Slack messages. It eliminates manual leaderboard tracking and boosts sales engagement with real-time insights and daily motivation — ensuring every sales rep

Free

Generate weekly grocery lists in Notion with automated email notifications

Who’s it for Busy homemakers, creators, and anyone who wants a simple, no-cost way to plan weekly meals and get a ready-to-shop grocery list—without extra apps. What it does Runs on a weekly Cron schedule, generates a grocery list, creates rows in your Notion database (Ingredient, Quantity, Status), and emails the list (optional Telegram confirmation). It includes a Notion connection check, detailed error notifications (email and optional Telegram), a success email with timestamp, and optional p

Free

Chat with PDF docs using AI (quoting sources)

This workflow allows you to ask questions about a PDF document. The answers are provided by an AI model of your choice, and the answer includes a citation pointing to the information it used. You can use n8n’s built-in chat interface to ask the questions, or you could customise this workflow to use another one (e.g. Slack, Teams, etc.) Example The workflow is set up with the Bitcoin whitepaper. So you could ask things like: Question: “Which email provider does the creator of Bitcoin use?“ Answer

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free