Gmail replies with HubSpot context
Drafts a HubSpot-aware email reply, posts it to Slack, sends on approval. This n8n template watches Gmail for new inbound emails with a Gmail Trigger, looks up the sender's contact and associations in HubSpot, and asks Google Gemini through Google AI Studio for a concise, friendly reply. The style constraints ask for about 150 words or fewer, a single call to action and an optional clarifying question. The draft is posted to a Slack channel for approval, and once approved the reply is sent through Gmail in the original thread. It suits support and sales teams that want a human approval before each reply.
Steps
- Trigger: Gmail trigger watches for new inbound emailsGmail
- Sender filter excludes internal domains
- HubSpot lookup fetches the sender's contextHubSpot
Contact, deals, companies, tickets. - CRM context normalized for the LLM
- Gemini generates a concise, friendly replyGoogle Gemini
- Slack approval posts the draftSlack
- Output: If approved, replies via Gmail in threadGmail
Limits
- The page names Gemini but no model.
- Every reply waits for a person to approve it in Slack.
What it does well
- No reply is sent before approval in Slack.
- Replies stay in the original Gmail thread.
Before you import
Setup: connect Gmail, HubSpot OAuth2, a Google AI Studio API key and Slack; an optional filter and the prompt can be adjusted before activating the workflow.
Similar templates
Support ticket triage with Claude
Also for customer support, 10 steps.
HubSpot tickets to Jira with GPT
Also for customer support, 8 steps.
Jira service desk triage with Gemini
Also for customer support, 9 steps.
Gmail and Slack: 18 templates compared
Same two apps, different steps.
Gmail and Google Gemini: 11 templates compared
Same two apps, different steps.
Google Gemini and Slack: 6 templates compared
Same two apps, different steps.
HubSpot and Slack: 4 templates compared
Same two apps, different steps.
Gmail and HubSpot: 3 templates compared
Same two apps, different steps.
Google Gemini and HubSpot: 3 templates compared
Same two apps, different steps.
Sort incoming requests
Other templates that do this task.