tr Skip to content

When a Subscriber Joins via Mailchimp, Obtain Country Data through ISO Integration and Send Welcome SMS via Twilio

When someone is added to your Mailchimp audience, this workflow looks up their country’s details with ISO by country name and sends them a welcome SMS through Twilio that can use those details.

Mailchimp ISO Twilio

3 steps Setup ~5 min Used on 2.1k sites Free to import

The When a Subscriber Joins via Mailchimp, Obtain Country Data through ISO Integration and Send Welcome SMS via Twilio workflow on the FlowMattic canvas, with 3 steps across Mailchimp, ISO, Twilio
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

A welcome email is standard. A short text message stands out more, and it can feel more personal if it mentions where the subscriber is. This workflow builds that text from your Mailchimp data plus a country lookup, then sends it by SMS.

A person joining your list starts the Mailchimp trigger. The second step uses ISO to get country details by country name: the country's name, code, capital, region, currency, language and flag. The last step sends an SMS with Twilio to the number you map, and the message text can include the subscriber's details and the country data.

Two things must be in the subscriber data for this to work: a country name to look up and a mobile number to text. Collect both in your Mailchimp sign-up form, and check a test run to see how they arrive. Task History keeps a record of every welcome text the workflow attempts.

International newsletter sign-ups

Your sign-up form asks for country and mobile number. New subscribers get a text that names their country and confirms they joined.

Local currency in a welcome offer

The ISO step returns the country's currency, which you can mention in the SMS when you point new subscribers to your shop.

Event or community lists

People who join a Mailchimp list for a meetup network receive a text welcome, with their region included from the ISO data.

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
    Mailchimp New Subscriber

    Fires when a new subscriber is added to your Mailchimp audience. Their subscriber data, including any country and phone fields your form collects, is passed on.

  2. Step 2Action
    ISO Get Country Details by Country Name

    Looks up the subscriber's country by name with ISO and returns its name, code, capital, region, currency, language and flag. Map the country value from the Mailchimp data.

  3. Step 3Action
    Twilio Send SMS

    Texts the subscriber with Twilio's Send SMS action. Map the subscriber's mobile number from Mailchimp, write the welcome text and insert any ISO country details you want, then connect your Twilio account.

What you need

  • FlowMatticCore
  • Mailchimp AccountAccount
  • ISO 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 value is not empty, so subscribers without a mobile number don't produce a Twilio call that can't be delivered.
  • Store mobile numbers in international format with the country code. Twilio sends to numbers in that form.
  • Add a short Delay before the SMS if you prefer the text to arrive a little after the welcome email rather than at the same moment.

Questions about this workflow

Where does the ISO step get the country name from?

From a value in the Mailchimp subscriber data that you map into the ISO step. Your audience needs to collect the country name, so check a test subscriber to see what arrives.

What if a Mailchimp subscriber has no phone number?

The Twilio step still runs but has no number to send to, and Task History shows the error on that step. A Filter on the phone value prevents those attempts.

Does sending the welcome SMS need a Twilio account?

Yes. Messages are sent from your Twilio account and number, which you connect to the third step.

Are people already in my Mailchimp audience texted?

No. Existing subscribers are left alone; the welcome text goes only to people who join after the workflow is switched on.

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.