{"product_id":"reply-to-gmail-with-gemini-hubspot-via-slack-approvals-n8n","title":"Reply to Gmail with Gemini + HubSpot via Slack Approvals (n8n)","description":"\u003ch3\u003eDraft Gmail replies with Gemini—then get Slack approval first (HubSpot + n8n)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow monitors your Gmail for new inbound emails, enriches each message with CRM context from HubSpot, drafts a concise reply using Google Gemini, and sends the draft to Slack for approval. Only after you approve in Slack does it send the reply back in the original Gmail thread.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWatches Gmail every minute\u003c\/strong\u003e for new inbound emails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilters out blocked senders\u003c\/strong\u003e using a sender domain rule (configured to block addresses containing \u003cem\u003e\"n8n.io\"\u003c\/em\u003e in the default example).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnriches the email with HubSpot CRM data\u003c\/strong\u003e by searching for the contact by the sender’s email address, then pulling associated \u003cstrong\u003edeals, companies, and tickets\u003c\/strong\u003e via the HubSpot CRM API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates a ready-to-send draft with Google Gemini\u003c\/strong\u003e by sending the email content plus the normalized HubSpot context to the Gemini chat model.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends the draft to Slack\u003c\/strong\u003e in a selected channel and \u003cstrong\u003ewaits for an approval response\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReplies in Gmail only after approval\u003c\/strong\u003e, posting the drafted text into the original email thread.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSales and support teams\u003c\/strong\u003e who want consistent, CRM-aware responses without manually searching HubSpot.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eForwarding “approval-needed” emails\u003c\/strong\u003e through Slack to reduce risk while still responding quickly in Gmail.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS operators\u003c\/strong\u003e managing inbound messages where every reply should reflect the latest deal, company, or ticket status.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details (n8n + integrations)\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail\u003c\/strong\u003e: trigger for inbound emails and Gmail reply action.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack\u003c\/strong\u003e: posts draft replies and waits for approval.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHubSpot\u003c\/strong\u003e: contact lookup and retrieval of associated deals, companies, and tickets via HubSpot CRM API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Gemini (Google AI Studio)\u003c\/strong\u003e: drafts the reply text based on email + HubSpot context.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes used\u003c\/strong\u003e: \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003egmail\u003c\/em\u003e, \u003cem\u003eslack\u003c\/em\u003e, \u003cem\u003efilter\u003c\/em\u003e, \u003cem\u003ehubspot\u003c\/em\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eSetup checklist:\u003c\/strong\u003e connect Gmail credentials (trigger + reply), HubSpot OAuth2 (CRM access), Google Gemini credentials, Slack OAuth2 (target approval channel), and update the blocked sender rule to match your policy.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46153988931763,"sku":"N8N-20299","price":7.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/BhJsA_Bt4PCwMt2Zcitko_EDQsjIZw.png?v=1790932392","url":"https:\/\/buyflowscripts.com\/products\/reply-to-gmail-with-gemini-hubspot-via-slack-approvals-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}