tr Skip to content

Send a Twilio SMS dunning reminder when an Iyzico subscription order fails

When Iyzico reports a failed subscription payment, FlowMattic sends the customer a Twilio text asking them to check or update their card, so they hear about it before the subscription lapses.

Iyzico Twilio

2 steps Setup ~5 min Used on 2.8k sites Free to import

The Send a Twilio SMS dunning reminder when an Iyzico subscription order fails workflow on the FlowMattic canvas, with 2 steps across Iyzico, Twilio
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

A declined card on a subscription is easy to miss. The customer often doesn't know the renewal failed, and you only notice when you go looking. This workflow sends a text message as soon as Iyzico reports the failure, so the person learns about it on their phone.

The Iyzico trigger, Subscription Order Failure, fires when an initial or recurring subscription payment attempt fails. FlowMattic receives the failure data from Iyzico. The Twilio step then uses Send SMS to text a number from your Twilio account, with a message you write and fill with details from the order.

The SMS can only reach someone whose mobile number is in the data Iyzico sends. Check a test run before relying on it; if no number arrives, the Twilio step has nothing to send to. Because the trigger also covers a failed first payment, someone whose initial charge was declined gets the same text, so word the message to suit both cases. Each failed attempt starts its own run.

Expired card on a monthly plan

A member's monthly renewal is declined because their card expired. They get a text telling them the payment didn't go through and where to update their card.

Failed first payment at sign-up

A new subscriber's initial charge fails. The same Twilio text reaches them while they still remember signing up, prompting them to try another card.

SaaS account about to lose access

Your software is billed through Iyzico subscriptions. A short SMS warns the customer that the renewal failed before you downgrade the account.

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
    Iyzico Subscription Order Failure

    Fires when Iyzico reports that an initial or recurring subscription payment attempt has failed. The order and customer data Iyzico sends become available to map into the text.

  2. Step 2Action
    Twilio Send SMS

    Sends a text message through your Twilio account to the number you map from the Iyzico data. Write the message body and add order details such as the plan name if Iyzico sends them.

What you need

  • FlowMatticCore
  • Iyzico AccountAccount
  • Twilio 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.

  • Add a Filter after the trigger that continues only when the phone field from Iyzico is not empty, so runs without a number stop there instead of failing at Twilio.
  • Include a short link to the page where customers update their card, so the text tells them exactly what to do next.
  • Add a Google Sheets step after Twilio to log each failed payment and the date the reminder went out, which helps when you review churn.
  • If your numbers come without a country code, check how they arrive in a test run. Twilio expects numbers it can dial internationally, so you may need to format them first.

Questions about this workflow

Does Iyzico send the customer's phone number to FlowMattic?

It depends on the data Iyzico includes for that subscription. Look at a test run in Task History. If no phone number is there, the Twilio step can't send the text.

Will a customer get one text for every failed Iyzico payment attempt?

Yes. Each failure Iyzico reports starts a new run, and nothing in the template limits how many texts one customer receives.

Which number does the Iyzico dunning text come from?

A sender from your own Twilio account, usually one of your Twilio phone numbers. The Twilio step uses the account you connect on import.

Does this retry the payment in Iyzico?

No. The workflow only sends the text. It doesn't change the subscription, so whatever Iyzico does next with it happens as before.

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

Was spending much more on Zapier and running out of tasks, now have unlimited tasks. Team is continuing to add integrations and taking feedback. Creator of company is ultra responsive to emails and helpful always.

Brad U.

It's an exceptional product. Works great and extremely valuable. I saved thousands of dollard on Zapier, as Flowmattic makes me able to host the automation myself. And very deeply integrates with the products I need.