Templates / Recover failed Stripe payments with GPT-4o, Gmail, Sheets, and Slack

Recover failed Stripe payments with GPT-4o, Gmail, Sheets, and Slack

Ready for 3.0

by TakatoYamada ✓ · 4 views · created 2026-06-13 · Lead Nurturing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 11 nodes and runs on a schedule (every day at 08:00). Along the way it connects Google Sheets, OpenAI Chat Model, Gmail and Slack.

How it runs

Trigger: On a schedule (every day at 08:00).

  1. Read Customers from Sheets (Google Sheets): uses Google Sheets
  2. Analyze Churn and Draft Email (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Retention Model; output parser: Parse Churn Schema
  3. Set Customer Risk Details (Edit Fields (Set)): sets 9 fields: name, email, risk_score…
  4. If: checks a condition and branches into true / false
  5. Draft Win-back Email via Gmail (Gmail): work with draft
  6. Append to Win-back Log Sheets (Google Sheets): append
  7. Post Alert to Slack Channel (Slack): post (message)

Services it uses

Google SheetsOpenAI Chat ModelGmailSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Quick Overview This workflow triggers on failed Stripe invoice payments, uses OpenAI to draft an escalating dunning email, sends it via Gmail, logs the outreach to Google Sheets, and notifies the billing team in Slack when the final attempt threshold is…

Excerpt from TakatoYamada's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.