n8n Gmail to Slack Support Reply Drafts with Stripe & GPT-4.1
n8n Gmail to Slack Support Reply Drafts with Stripe & GPT-4.1
Regular price
£37.99
Regular price
£37.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Gmail to Slack Support Reply Drafts with Stripe & GPT-4.1
Regular price
£37.99
Regular price
£37.99
Sale price
Unit price
/
per
Turn new Gmail support emails into Slack-ready reply drafts—instantly
This n8n workflow monitors your Gmail inbox, checks whether the sender is a Stripe customer, uses GPT-4.1 to draft a structured support response from Google Docs playbooks, and posts a Slack message for human approval—while also sending an immediate confirmation email to the customer.
What this workflow does
- Runs every minute when new emails arrive and processes only messages labeled INBOX.
- Builds escalation context by retrieving the full Gmail message and its thread history, formatting a transcript, and counting prior exchanges.
- Classifies the sender via Stripe by parsing the sender name/email and searching Stripe for a matching customer record.
- Selects the right support playbook from Google Docs, generates a confirmation email, and sends it via the Gmail API.
- Generates a reply draft with OpenAI (GPT-4.1-mini) as a structured JSON output (intent, sentiment, escalation flags, and an HTML email body) using the email content, thread context, and available Stripe details.
- Creates a Gmail draft reply in the original thread and converts the HTML draft into Slack mrkdwn.
- Posts to Slack the draft, classification, and escalation notes to a configured channel for review.
Use cases
- SaaS support teams that want faster first responses without losing control of tone or escalation rules.
- Operators who need consistent replies using Google Docs playbooks and context-aware drafting.
- Workflows that separate Stripe customers from non-customers to tailor messaging and escalation handling.
Technical details
- n8n nodes/integrations: gmail, slack, if, set, code, filter.
- OpenAI: GPT-4.1-mini generates a structured JSON draft (intent/sentiment/escalation + HTML body).
- Stripe: customer lookup by email to classify sender type.
- Google Docs: playbook-driven support content selection and reply scaffolding.
- Gmail: monitors INBOX, retrieves threads, sends confirmation emails, and creates draft replies.
