tr Skip to content
Finance & Payments · Finance

AI agent that writes tactful dunning emails for cancelled subscriptions

When a subscription is cancelled, an AI agent composes a considerate save/dunning email tailored to the plan and emails it to the customer.

WooCommerce SubscriptionsWooCommerce Subscriptions AI AgentAI Agent EmailEmail SlackSlack
~8 min setup used by 2.5k sites

Free · import into FlowMattic in one click

How it works

Every step, explained

Import the template and this whole chain runs on autopilot — here's exactly what happens on each run.

WooCommerce Subscriptions → AI Agent → Email
4 steps
WooCommerce Subscriptions
TRIGGER
WooCommerce Subscriptions · Subscription Cancelled
The workflow starts automatically when subscription is cancelled in WooCommerce Subscriptions. FlowMattic captures that data for the steps below.
AI Agent
ACTION
AI Agent · Execute Agent
An AI agent reads the incoming data and decides what to do on its own, choosing from its tools (Email) to complete the task. Connect an AI provider on import.
Email
TOOL
Email · Send Email
A tool the AI agent can call — Email — send an email using built-in WP mail function or custom SMTP. The agent uses it only when the task needs it; connect your Email account on import.
Slack
ACTION
Slack · Send Channel Message
Slack — post or Schedule a new message to a specific #channel. Data is mapped from earlier steps; connect your Slack account on import.
Why this workflow

Built to own, not to rent

No-code setup

Import the JSON, connect your accounts, and go live in minutes. Every step is pre-mapped — you only add your own credentials.

Runs on your server

Self-hosted on your WordPress install. No per-task fees, no data leaving your infrastructure, no monthly SaaS bill.

Fully customizable

Open it in the visual builder and reshape it — add branches, swap apps, insert filters. A starting point, not a cage.

Ready to automate your WordPress site?

Download this workflow free, or grab FlowMattic and own every automation on your site — no per-task fees, ever.