Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Finance, Invoices & Accounting

Finance, Invoices & Accounting

Answer and track Stripe disputes with OpenAI and Slack

When something happens in a connected app, it processes financial data with OpenAI / ChatGPT using Slack, Stripe.

What it does

## Answer Stripe disputes before the deadline A card dispute takes the money back the day it opens, and you lose by default if nobody answers before the deadline. ### How it works 1. Stripe sends each new dispute. The workflow reads it again with the payment, its refunds and the customer's earlier payments. 2. Fixed rules for each dispute reason decide: answer it, accept it, or prepare it for a person. A refund already paid, a tracking number, 3D Secure or earlier undisputed payments on the same card make a strong case. The model never decides. 3. OpenAI writes the covering letter from those facts only. If the letter holds a number, date, ID or email that is not in the facts, a plain letter built from the facts replaces it. 4. The evidence is saved on the dispute in Stripe, or submitted when you allow it. Anything Stripe already filled in is left alone. 5. Slack hears about every answer and every outcome, and each morning about disputes close to their deadline. ### Setup 1. Add a Stripe credential (secret key) and activate the workflow. The trigger registers its own Stripe webhook. 2. Add an OpenAI credential and a Slack credential, and pick the channel in the three Slack nodes. 3. Fill Dispute Rules. It ships with submit_automatically and accept_automatically off, so nothing reaches a bank until you turn them on. ### Good to know Countering a dispute adds a fee that Stripe returns only if you win, which is what minimum_amount_to_fight is for.

The steps

  1. Stripe Dispute Events
  2. Daily Deadline Check
  3. Dispute Rules
  4. New, Closed Or Daily Check?
  5. Word The Outcome
  6. Report The Outcome
  7. Read Open Disputes
  8. Find Disputes Close To Their Deadline
  9. Warn Finance About Deadlines
  10. Read The Dispute
  11. Read The Customer History
  12. Decide Fight Or Accept
  13. What Should Happen?
  14. Accept The Dispute

24 steps in total.

Similar automations