StripeAshley AnsariTutorial
Workflows: Automate compliance safeguards by flagging transactions
Summary
Stripe Workflows can automate additional compliance safeguards by flagging transactions that need review before order processing. The described pattern starts when a Payment intent succeeded event occurs, retrieves the customer, and checks whether the customer’s custom_status metadata is not “Approved” while the payment amount exceeds $5,000. When these conditions are met, the workflow emails one or more designated team members with instructions for assessing the order. The examples motivating review include unusually high order values, unfamiliar sales regions, and behavioral patterns commonly associated with fraud, such as a new customer order above a monetary threshold. Workflows uses a visual building interface in the Stripe dashboard to sequence actions across multiple Stripe products, helping enforce business rules, reduce manual effort, and support risk management.
Context
Industries may require stricter or more specific compliance controls. The workflow is intended to flag high-value orders, sales from unfamiliar regions, or transactions with behavioral patterns commonly associated with fraud so a team can review them before order processing.
Approach / What changed
Create a workflow triggered by Payment intent succeeded, retrieve the customer using the payment intent’s Customer ID, and add conditions requiring custom_status not equal to “Approved” and Amount greater than $5,000. Under the condition, add an Email a team member action, select one or more recipients, and provide instructions in the email body.
Takeaways
The sample workflow uses Payment intent succeeded as its trigger and retrieves the customer through Payment intent | Customer ID.
The alert condition checks that the customer’s custom_status is not “Approved” and that the payment amount is greater than $5,000.
The email action can notify one or multiple selected team members and include instructions for reviewing the order.
Source and freshness
- Source
- stripe.dev
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.