What This Workflow Does
This automation transforms how your team handles customer emails by combining AI-powered drafting with human oversight. When a new email arrives, the system instantly generates a personalized response using Google Gemini AI enriched with HubSpot contact data, deal information, company details, and ticket history.
The draft email is then sent to Slack for team approval before being sent to the customer. This maintains quality control while dramatically reducing response times. The workflow is particularly valuable for customer support teams, account managers, and sales professionals who need to respond quickly without sacrificing personalization.
How It Works
1. Trigger: New email received
The workflow activates when a new customer email is detected in your connected email system. This could be from Gmail, Outlook, or any email service integrated with n8n.
2. HubSpot data enrichment
The system pulls all relevant customer information from HubSpot including contact details, deal stage, company information, and past interactions. This context is crucial for creating personalized responses.
3. AI draft generation
Google Gemini analyzes the incoming email and HubSpot data to generate a professional, context-aware response. The AI considers tone, previous interactions, and business relationship status.
4. Slack approval workflow
The draft is posted to a designated Slack channel where team members can review, approve with one click, or suggest edits. Approved emails are automatically sent while flagged drafts return for revision.
Who This Is For
This workflow is ideal for customer-facing teams that need to balance quick responses with personalized communication. Customer support teams handling high volumes of inquiries will see immediate time savings. Sales teams can maintain timely follow-ups without losing the human touch. Account managers juggling multiple clients benefit from AI-assisted responses that reference specific account details.
What You'll Need
- An n8n instance (cloud or self-hosted)
- HubSpot account with API access
- Google Gemini API credentials
- Slack workspace with appropriate permissions
- Email account connected to n8n
Quick Setup Guide
- Download the JSON template file
- Import into your n8n dashboard
- Connect your HubSpot, Google Gemini, Slack, and email accounts
- Configure approval settings in Slack (channel, approvers)
- Test with sample emails to refine AI prompts
- Activate the workflow for production use
Pro tip: Start with a small subset of emails to train your team on reviewing AI drafts before scaling up. Collect feedback to refine the AI prompts for your specific use case.
Key Benefits
80% faster response times: AI drafts emails in seconds rather than minutes or hours, while maintaining human oversight through Slack approval.
Consistent brand voice: The AI learns from approved responses to maintain your company's tone across all communications.
Reduced workload: Customer teams spend less time drafting routine responses and more time on complex cases that require human expertise.
Context-aware replies: HubSpot integration ensures every response references relevant customer history and relationship details.
Scalable customer service: Handle increasing email volumes without proportionally increasing staff hours.