Send Stripe expired charge recovery reminders with OpenAI — n8n Workflow

Medium complexity Trigger6 nodes🏷️ Invoice Processingby Hyrum Hurst

Overview

Stripe Invoice Reminder Workflow

Who’s this for Businesses using Stripe subscriptions or one-time payments who want to automatically follow up with customers after a failed payment.

What this workflow does Detects expired or failed charges in Stripe Drafts AI-generated payment reminders for customers Creates a new Stripe invoice for the failed payment Optionally sends reminders via Email or Slack

How it works Stripe trigger listens for expired charges Set node normalizes customer and payment

Nodes used

GmailStripeOpenAI

Workflow Preview

Overview
This workflow automatically handles expired or failed S
Stripe
Listen for 'charge.expired' or 'invoice.payment_failed'
Configure
Map the following fields:
- Customer name
- Customer email
- Charge amount
- Previous invoice ID
AI prompt example:
"Write a professional, friendly payment reminder for {c
New Invoice
Create a new invoice for the customer with the same amo
Send
Send the AI-generated reminder to the customer via emai
C
Charge Expired Event
W
Workflow Configuration
E
Extract Customer & Payme…
Generate Payment Reminder
Create New Invoice
Send Reminder Email
6 nodes5 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 6 nodes, connecting gmail, openai, set.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (6)

GM

Gmail

gmail

#1
ST

Stripe

stripe

#2
OP

OpenAI

n8n-nodes-langchain.openAi

#3

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded send-stripe-expired-charge-recovery-reminders-with-openai file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Send Stripe expired charge recovery reminders with OpenAI", "nodes": [...], ...}

Integrations

gmailopenaisetstripestripetrigger

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes6
Complexitymedium
Triggertrigger

Created by

Hyrum Hurst

Hyrum Hurst

@hyrum-hurst

Tags

gmailopenaisetstripestripetrigger

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →

Related Invoice Processing Workflows

COCOEMEX+5
medium

Automate Custom QuickBooks Invoice PDFs & Email with n8n

Standard accounting templates often fail to reflect a premium brand identity. This sophisticated n8n workflow bridges the gap between financial record-keeping and professional client presentation. By moving beyond the native limitations of QuickBooks Online, this automation enables businesses to generate high-end, multi-page PDF invoices that align perfectly with their corporate styling. The process begins the moment a new invoice is generated in QuickBooks, triggering a webhook that captures real-time billing data. The workflow then utilizes advanced HTML-to-File conversion and custom Code nodes to structure data into a polished, branded layout. It handles complex logic such as line-item merging and multi-page formatting automatically. Once the document is rendered, the system bypasses generic 'no-reply' senders by routing the finalized PDF through your preferred email provider. This ensures a seamless, white-labeled experience for your clients while eliminating the manual overhead of exporting, styling, and attaching files. Ideal for agencies and service providers, this flow guarantees that your most frequent touchpoint—the bill—is as professional as your work. **Common Use Cases:** - High-end creative agencies requiring bespoke, white-labeled billing documents for premium clients. - Automated recurring subscription billing where custom tax disclosures or localized branding are required. - Service-based businesses needing to attach dynamic project reports or terms of service directly to QuickBooks invoices.

🔗 Webhook·12 nodes