Mailchimp - Send Notifications

Updated 10 months ago

In this article, we will use webhook integration to connect ClickSend to MailChimp. So what we want to achieve here is to notify us with an automated SMS to our personal mobile number every time we have a new MailChimp list subscriber.

What you need

  1. ClickSend API credentials. Get them by creating a ClickSend account here.
  2. A Mailchimp subscription plan starting at Essentials to access Automations Journeys. See MailChimp pricing here.

Setup

It’s easy to set up the integration. Just use the low code step-by-step guide below.

  1. Open MailChimp > Automations > All journeys > Build new from scratch
  2. Name your automation to continue and look for 'Sign up' trigger
  3. Add a journey point. This will allow you to add an action to your automation journey. Add Webhook.
  4. Name your webhook. Just for your reference.
  5. Paste the SMS endpoint URL into the URL destination field.SMS endpoint URL: https://rest.clicksend.com/v3/sms/send. See the SMS endpoint documentation here.
  6. Get your API credentials here. Choose Basic as an authentication type from dropdown menu. Enter your username and your API key into the authentication fields.
  7. Scroll down to reach the payload section. Copy-paste the example code below into the payload. You can customise the body of the message using merge tags (see tip below). On the "to" parameter, replace the value with your phone number to get SMS Notifications.
    If you want to send SMS notifications to subscriber instead, change the value to "to" parameter to dynamic merge tag "*|PHONE|* " to dynamically map it to the subscriber's phone number.
    {
    "messages": [
    {
    "to": "your_number",
    "source": "mailchimp",
    "body": "SMS MailChimp alert: New subscriber *|FNAME|* *|LNAME|* has joined your audience. Please check."
    }
    ]
    }
It’s important to keep "source": "mailchimp" parameter on the payload. Just so you can check your SMS history.
You can manage your merge tags by going to > Audience > All contacts > Settings > Merge tags in the MailChimp dashboard.

  1. When you've finished composing your message, click Save.
  2. Continue and turn on your automation journey. With this setup, you'd be sending automated SMS notifications and alerts to yourself or to your subscribers.

Troubleshoot

If you’re having problems, please check the following:

  1. Check your Authentication. It should be using your ClickSend's username and API key.
  2. Make sure you have credit in your balance. Check and top up here.
  3. Fill in all required parameters in the payload. Required fields are to and body.
  4. If you are using an Alpha Tag as Sender ID and it's not functioning as expected, please review the following:
    1. Exceeded characters. Only 11 characters without space is allowed for an Alpha Tag
    2. Country you are sending to does not support Alpha Tags
    3. Alpha Tag registration is not yet approved. View Sender IDs page to check status.
  5. Global sending disabled on the country you are sending to. Please reach out to support for assistance. More info

FAQS

  1. Can I send messages using Alpha Tag Sender ID?
    - Yes, however some countries do not support Alpha Tags. Find out which countries support sending via a business name here.
    - Note that your Alpha Tags need to be 11 characters or less, without spaces.
  2. How do I add a Alpha Tag as the sender of my messages?
    -You need to add the parameter "from": "MyCompany" in the payload.
  3. Where can I get replies on my messages?
    -Find your outbound and inbound SMS history here.


How Did We Do?


Powered by HelpDocs (opens in a new tab)