Triage suspicious charges and flag them for review
The agent looks at the amount, country and customer history on each new charge and posts the ones that look wrong to your team, with its reasons.
New ChargeExecute Agent
View the template
Every Stripe event needs a small decision: is this charge worth a second look, what do we say to a customer who cancelled, which segment is this new buyer. FlowMattic's AI Agent reads the Stripe event, decides with the instructions you give it and acts through Stripe and your other tools. It suits founders and small finance teams.
12 triggers 19 actions 6 example workflows 3 ready-made templates Unlimited runs
When this happens in Stripe12 triggers
Do this in AI Agents1 action
When Stripe fires New Charge, FlowMattic runs Execute Agent in AI Agents with the data from that event.
You build this in the FlowMattic workflow builder on your own site. See the setup steps
Each one uses only triggers and actions the two integrations ship today, plus FlowMattic's own tools. Where the library has a ready-made template, import it instead of building from scratch.
The agent looks at the amount, country and customer history on each new charge and posts the ones that look wrong to your team, with its reasons.
New ChargeExecute Agent
View the template
One agent run logs the sale, emails a personal thank-you and tells the team, choosing the wording for first-time and repeat buyers.
New ChargeExecute AgentEmail (SMTP)
View the template
When a subscription ends, the agent decides on a fair discount from the customer's plan and tenure, Stripe creates the coupon and the offer is emailed.
Subscription DeletedExecute AgentCreate CouponEmail (SMTP)
The agent reads the customer's details and first purchase, picks a segment such as agency or hobbyist, and Update Customer stores it on the Stripe record.
New CustomerExecute AgentUpdate Customer
A help form sends the question by Webhook. Find Customer by Email pulls their subscription details, and the agent drafts a reply that a person approves before it is sent.
WebhookFind Customer by EmailExecute AgentHuman in the LoopEmail (SMTP)
For invoices with several line items, the agent writes a short note on what was charged and why, which you send with the receipt to cut billing questions.
Invoice Payment SucceededExecute AgentEmail (SMTP)
At the end, each new Stripe charge is checked by the agent and the doubtful ones are reported with a reason.
In FlowMattic, open Connects and add Stripe with an API key from the account you want to watch.
Add a connection for a supported AI provider, such as OpenAI, Anthropic or Google Gemini.
Create a workflow, choose Stripe and New Charge, then make a test payment so the charge fields are captured.
Add AI Agents with Execute Agent, describe what a suspicious charge looks like for your business and give it a tool to report to your team.
Run a few test charges, read the agent's reasons, adjust the instructions and switch the workflow on.
1. Trigger in Stripe
New Charge
Fields mapped from the earlier steps (a typical setup)
| From Stripe | To AI Agents |
|---|---|
| Amount | Agent input |
| Currency | Agent input |
| Card country | Agent input |
| Customer email | Agent input |
| Agent verdict | Team message |
A trigger starts a workflow. An action is something FlowMattic does in the app as a step.
Stripe and AI Agents connect through FlowMattic on your own site, with no separate automation account in the middle and no charge per run.
Charges, cancellations and new customers are read and acted on as they happen, not at the end of the month.
The workflow runs on your WordPress site, and the agent only sees the Stripe fields you pass to it.
Runs are unlimited, so you only pay your AI provider for the tokens each agent run uses.
Yes, through Stripe actions after the agent or as its tools, such as Update Customer, Create Coupon or Cancel Subscription. Add Human in the Loop before any step you want a person to approve.
Any Stripe trigger, such as New Charge, New Customer, New Subscription, Subscription Deleted, New Invoice or Invoice Payment Succeeded. Each one is a separate workflow with its own instructions.
No. There is no refund action for Stripe in FlowMattic, so the agent can only report a charge for review. Refunds stay a manual step in your Stripe dashboard.
Yes. Connect Stripe with a test key and make test payments while you tune the agent's instructions, then switch the connection to your live key.
Did not find your answer? You can browse the help center or ask us directly.
Install FlowMattic, connect both accounts and import a template. Every run stays on your own server.
30-day money-back guarantee Unlimited workflows and runs Self-hosted
Reviewed 27 Oct 2026. The example workflows are written with AI from the real triggers and actions of both integrations and checked against them. Stripe integration 2.0, AI Agents integration 1.0.