Templates / Build Stripe dispute evidence from WooCommerce orders, Gmail, and OpenAI

Build Stripe dispute evidence from WooCommerce orders, Gmail, and OpenAI

Ready for 3.0

by Anna Cole ✓ · 2 views · created 2026-10-06 · Document Extraction, 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-10-19.

What this workflow does

This AI workflow has 27 nodes and runs on Stripe events (charge.dispute.created, charge.dispute.closed). Along the way it connects Stripe, WooCommerce, Gmail and OpenAI Chat Model and 2 more.

How it runs

Trigger: On Stripe events (charge.dispute.created, charge.dispute.closed).

  1. Set Store Configuration (Edit Fields (Set)): sets 12 fields: storeName, storeUrl, refundPolicyUrl…
  2. Route by Event Type (Switch): routes items into 2 branches
  3. Fetch Stripe Dispute Details (HTTP Request): calls an HTTP API
  4. Format Dispute Outcome Data (Edit Fields (Set)): sets 3 fields: Dispute ID, Outcome, Closed on
  5. Extract Payment Signals (Code): runs custom JavaScript code
  6. Append Outcome to Tracker (Google Sheets): append or update
  7. Check If Response Needed (Filter): keeps only the items that match a condition
  8. Announce Outcome in Slack (Slack): uses Slack
  9. Check WooCommerce Order (If): checks a condition and branches into true / false
  10. Fetch WooCommerce Order (WooCommerce): get (order)

…plus 14 more steps. See the full node list below.

Services it uses

StripeWooCommerceGmailOpenAI Chat ModelSlackGoogle Sheets

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 (15)

From the author

Quick overview This workflow reacts to Stripe dispute events, pulls related WooCommerce order details and recent Gmail messages, uses OpenAI to draft dispute evidence, saves the evidence on the Stripe dispute (as a draft or auto-submitted), and posts updates…

Excerpt from Anna Cole'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.