tr Skip to content
Black Friday FlowMattic for life, 12 payments of $33.25 Or $399 once. Nothing added for splitting Ends in --Days --Hrs --Min --Sec See the deal

AI agent that runs a save-play when a subscription is cancelled

When a WooCommerce subscription is cancelled, an AI agent reads the reason and can email the customer, note it in FluentCRM and alert your retention team in Slack. Three days later a second email invites them back.

WooCommerce Subscriptions AI Agent Email FluentCRM Slack Delay

7 steps Setup ~12 min Used on 3.1k sites Revenue Ops Free to import

The AI agent that runs a save-play when a subscription is cancelled workflow on the FlowMattic canvas, with 7 steps across WooCommerce Subscriptions, AI Agent, Email, FluentCRM, Slack, Delay
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

The days right after a cancellation are when a customer is most likely to change their mind, and a reply that speaks to their actual reason lands better than a generic goodbye. This workflow gives that first response to an AI agent and follows it with a second email a few days later.

When a subscription is cancelled in WooCommerce Subscriptions, FlowMattic passes the customer's first name and cancellation reason to an AI Agent set up with OpenAI's GPT-4o. Its instructions are to draft a warm win-back email that addresses that reason, log a CRM note and alert the retention team. Its three tools send an email to the billing address, add a note to the FluentCRM contact with that email, and post to Slack. The agent writes the subject, body, note and message itself, and it decides when to use each tool.

After the agent finishes, a Delay waits three days. Then a fixed email titled We'd love you back goes to the same address, mentioning a special offer to reactivate. It is sent to every cancelled customer, including anyone who has already come back, and it contains no actual offer until you add one.

Subscription box with price-driven cancellations

A customer cancels saying the box costs too much. The agent's email can acknowledge that, and three days later the follow-up gives you room to offer a cheaper plan.

Software plan cancelled over a missing feature

The reason mentions a feature you are about to release. Your retention team sees the Slack alert and can reply personally while the agent's note sits in FluentCRM.

Membership site watching churn reasons

Each cancellation leaves a note on the member's FluentCRM record, so you can review why people leave without exporting anything.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    WooCommerce Subscriptions Subscription Cancelled

    Runs each time a subscription is cancelled in WooCommerce Subscriptions. The customer's first name, billing email and cancellation reason are passed to the steps after it.

  2. Step 2Action
    AI Agent Execute Agent

    Gives an AI agent the customer's first name and cancellation reason, with instructions to draft a warm win-back email about that reason, log a CRM note and alert the retention team.

  3. Step 3Tool
    Email Send Email

    A tool the agent can call to email the customer at their billing address. The agent writes the subject and body. Emails go out through your Email (SMTP) connection.

  4. Step 4Tool
    FluentCRM Add Note to Contact

    A tool the agent can call to add a note to the FluentCRM contact matching the billing email. The agent writes the note title and content, recording the save attempt.

  5. Step 5Tool
    Slack Send Channel Message

    A tool the agent can call to post a message to Slack for your retention team. The agent decides what the alert says based on the cancellation.

  6. Step 6Logic
    Delay Delay For

    Waits three days after the agent step finishes before the follow-up email goes out. Change the number of days if your save window is shorter or longer.

  7. Step 7Action
    Email Send Email

    Emails the customer with the subject We'd love you back and a line about a special offer to reactivate. Add your real offer, such as a coupon code or link, before going live.

What you need

  • FlowMatticCore
  • WooCommerce Subscriptions PluginPlugin
  • AI ProviderAccount
  • FluentCRM PluginPlugin
  • Slack AccountAccount

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Make it yours

Changes worth making after you import it.

  • Put your limits in the agent's instructions, for example which discounts it may mention or that it must never promise a refund, so the win-back email stays within your policy.
  • Rewrite the follow-up email with a concrete offer and a reactivation link. As imported it only says there is a special offer without naming one.
  • Run a test cancellation on a staging copy of your shop, then read Task History to see which tools the agent called and exactly what it wrote.

Questions about this workflow

Does the cancelled customer need to be a FluentCRM contact for the note?

The note tool targets the FluentCRM contact with the customer's billing email, so that person needs to exist in FluentCRM for the note to land on a record.

Will the agent always send the win-back email and the Slack alert?

It is told to do all three tasks, but it chooses when to call its tools. Check Task History for the first few cancellations to confirm it emails, notes and alerts as you expect.

Does the follow-up email go to customers who reactivate within three days?

Yes, as imported. Nothing checks the subscription again after the Delay, so every cancelled customer gets the second email.

Which AI model does the save-play agent use?

The AI Agent step is set to OpenAI's GPT-4o, so an AI provider must be connected in FlowMattic before the workflow can run.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

It's very straightforward, has a lot integrations and they work well. It is one thing to 'integrate' new external software, but integrating it well, with lots of options is where FlowMattic shines.

Koen A.

Works within WordPress, so it can easily access any inbuilt WP functions or custom functions and use them in your flow. It's easy to use and already has many useful integrations built.