HubSpot OpenAI Gmail Slack Sales Automation

Re-engage Stalled HubSpot Deals with AI

Automatically identify stalled deals, generate personalized follow-ups with GPT-5-mini, send via Gmail, and alert your team in Slack—all without manual work.

Download Template JSON · n8n compatible · Free
Automated workflow diagram showing HubSpot deals flowing through AI email generation to Gmail and Slack notifications

What This Workflow Does

Lost deals in the "Contract Sent" stage represent significant revenue leakage for sales teams. Manual follow-up is time-consuming and often gets deprioritized. This automation solves that by systematically identifying stalled HubSpot deals, generating context-aware email drafts using AI, and executing multi-channel re-engagement—all while respecting communication boundaries with built-in spam prevention.

The workflow acts as your automated sales development representative, working 24/7 to recover opportunities that would otherwise be forgotten. It combines smart filtering (only contacting prospects with no recent activity) with personalized messaging (AI-generated based on deal context) and team coordination (Slack notifications for visibility).

Beyond just sending emails, it creates a complete audit trail by logging all automated outreach back to HubSpot's activity timeline, ensuring your CRM stays updated and your sales team maintains full visibility into every touchpoint with prospects.

How It Works

1. Monitor Stalled Deals

The workflow runs on a schedule (daily or weekly) to search HubSpot for deals marked as "stalled" in your pipeline. It specifically targets the "Contract Sent" stage but can be configured for any stage where prospects typically go silent.

2. Smart Contact Selection

For each stalled deal, the automation fetches all associated contacts and selects the first available decision-maker. It then checks their "Last Contacted" date to ensure no recent communication has occurred (default: within 7 days), preventing awkward overlaps with active conversations.

3. AI-Personalized Email Generation

Using GPT-5-mini via OpenAI, the system generates a natural, helpful check-in email that references the specific deal context. The prompt includes the contact's name, company, deal stage, and previous interaction history to create emails that feel human-written rather than templated.

4. Multi-Channel Execution

Once approved, the personalized email sends through Gmail with proper tracking. Simultaneously, your sales team receives a Slack notification with deal details and the sent email content. The full email body also logs to HubSpot's activity timeline for complete record-keeping.

Who This Is For

This template is ideal for Customer Success Managers and Sales Teams managing high-volume B2B pipelines in HubSpot. It's particularly valuable for:

  • Sales teams with 50+ monthly deals where manual follow-up becomes overwhelming
  • Account executives who need to maintain pipeline hygiene without administrative overhead
  • Sales operations managers looking to implement scalable processes for deal recovery
  • Customer success teams managing renewal conversations that have stalled
  • Startups and SMBs without dedicated sales development representatives for follow-up

What You'll Need

  1. n8n instance (Cloud or self-hosted) with workflow execution capabilities
  2. HubSpot account with API access and deals in your pipeline
  3. OpenAI API key for GPT-5-mini access (or alternative AI model)
  4. Gmail/Google Workspace account configured for sending automated emails
  5. Slack workspace with appropriate channel permissions for notifications
  6. Basic understanding of your HubSpot pipeline stage IDs and deal properties

Quick Setup Guide

Follow these steps to implement this automation in under 30 minutes:

  1. Import the template into your n8n instance using the downloaded JSON file
  2. Configure credentials for HubSpot, OpenAI, Gmail, and Slack in n8n's credential management
  3. Update the "Config: Setup Variables" node with your sender name, company details, and calendar link for scheduling follow-ups
  4. Verify HubSpot pipeline stage IDs match your "Contract Sent" stage (or modify to target your specific stalled stage)
  5. Select your Slack channel in the "Slack: Notify CSM" node where alerts should be sent
  6. Test with a single deal before enabling the schedule trigger to ensure everything works correctly
  7. Set your preferred schedule (recommended: weekly on Monday mornings) to run the automation

Pro tip: Start with a longer "last contacted" window (14-30 days) when first implementing to avoid overwhelming recently engaged prospects. You can tighten this as you gauge response rates.

Key Benefits

Recover lost revenue automatically: Convert 15-30% of stalled deals that would otherwise be written off as lost opportunities, directly impacting your bottom line without additional sales headcount.

Save 5-10 hours weekly per salesperson: Eliminate manual deal review and follow-up tasks, allowing your team to focus on active selling and relationship building rather than administrative pipeline maintenance.

Improve response rates with AI personalization: GPT-generated emails tailored to each prospect's context achieve 40-60% higher response rates than generic templates, making re-engagement feel genuinely helpful rather than automated.

Maintain perfect CRM hygiene: Every automated touchpoint logs to HubSpot automatically, creating a complete activity history that ensures no communication gap and provides valuable data for sales forecasting and coaching.

Scale without adding headcount: Handle hundreds of stalled deals simultaneously with consistent quality, making your sales process more efficient as your team and pipeline grow.

Frequently Asked Questions

Common questions about sales pipeline automation and AI re-engagement

The biggest benefit is recovering revenue that would otherwise be lost. Stalled deals often represent 15-30% of a sales pipeline. Automated re-engagement ensures no opportunity slips through the cracks due to human oversight, while saving sales teams 5-10 hours per week on manual follow-up tasks.

Beyond time savings, it creates consistency in your follow-up process. Every stalled deal receives the same quality of attention, regardless of how busy your team is or which rep owns the account. This systematic approach often uncovers deals that were stalled for simple reasons like missed emails or timing issues.

AI-generated emails are personalized using deal context, contact history, and company information, making them feel human-written. Unlike static templates, AI can reference specific deal stages, previous interactions, and tailor the tone to match the prospect's engagement level, increasing reply rates by 40-60% compared to generic templates.

The AI considers factors like time since last contact, deal value, and even industry-specific language patterns. It can generate variations that avoid sounding repetitive, which is crucial when re-engaging multiple prospects from the same company or industry.

Yes, the core logic works with any CRM that has an API. The workflow monitors deal stages, fetches contact information, and triggers personalized follow-ups. You would replace the HubSpot nodes with your CRM's equivalent (like Salesforce, Pipedrive, or Close.com nodes) while keeping the AI email generation and Slack notification structure intact.

The key is maintaining the same data flow: query for stalled deals → fetch associated contacts → check last activity date → generate personalized email → send and log. Most modern CRMs provide similar API endpoints for these operations, making the adaptation straightforward.

The workflow includes a smart safety gate that checks the 'Last Contacted' date from your CRM. If there's been any activity (call, email, meeting) within a configurable time window (default 7 days), the automation skips that contact entirely. This prevents overlap with active sales conversations and maintains professional boundaries.

Additionally, you can configure exclusion rules based on deal properties, contact tags, or specific activity types. For example, you might exclude deals where a meeting was scheduled in the last 48 hours, or contacts marked as 'Do Not Contact' in your CRM.

Track three key metrics: 1) Re-engagement rate (percentage of stalled deals that become active again), 2) Response rate to AI-generated emails, and 3) Conversion rate from re-engaged deals to closed-won. Most teams see 20-35% of stalled deals re-enter the pipeline, with 10-15% eventually closing.

Also monitor time savings by comparing hours previously spent on manual follow-up versus automation runtime. Most organizations recover the implementation cost within 1-2 months through reclaimed deals and reduced administrative overhead.

For most B2B sales cycles, checking weekly is optimal. This gives prospects enough time to respond to initial communications while ensuring stalled deals don't go cold for too long. The workflow can be scheduled to run every Monday morning, giving sales teams fresh re-engagement tasks for the week ahead.

Consider your sales cycle length when setting frequency. For enterprise deals with 6-12 month cycles, bi-weekly might be sufficient. For SaaS with 30-day cycles, weekly or even twice-weekly checks might be appropriate for early-stage deals.

Absolutely. GrowwStacks specializes in building tailored sales automation systems that match your specific CRM, deal stages, and team workflows. We can create custom solutions for lead scoring, automated follow-up sequences, AI-powered qualification, and pipeline health monitoring that integrate with your existing tools and processes.

Our team works with you to understand your unique sales motion, then designs and implements automations that feel native to your operations. We handle everything from initial consultation and design to implementation, testing, and ongoing optimization.

  • Custom integration with your specific CRM and sales stack
  • AI training on your company voice and messaging guidelines
  • Multi-channel engagement across email, SMS, and social platforms
  • Detailed analytics and performance dashboards

Need a Custom Sales Pipeline Automation?

This free template is a starting point. Our team builds fully tailored automation systems for your specific business needs.