If you like this page please consider sharing it with your friends!

Whether you run an E-commerce Shopify site, or WooCommerce on WordPress, whether you drive traffic to your Kajabi site- selling online tutorials or webinars, whether your new app needs transactional auto-responders or maybe your website features your company’s services and you want to make sure that your visitors’ actions get automatic email responses, this article is all about doing it the right way with MailChimp

MailChimp is marketing email, and marketing automation service. MailChimp provides ways to communicate with user clients with the use of email campaigns and transactional emails. MailChimp offers the following functionalities and/or features:
  • Email Campaigns – send campaigns to a list of users or audiences
  • Email Automations – sends emails to audiences without admin intervention
  • Transactional Emails – similar to Email Automations but contains more complexity
  • Postcards – can be used for promotional messages like voucher codes, etc

For this documentation, we will be focusing on how Email Automations Workflows work in MailChimp

Related Content

An Email Automation workflow automates the sending of email to the subscribed users. Compared to Email Campaigns where emails are sent manually, Emails in Automations are sent by a trigger. 

Before continuing, make sure you have already created an email template.  

Sample Workflow
Figure 1 - Sample Workflow

On Figure 1, it shows a summary of the workflow. From there, we can view how the workflow can be triggered (In the screenshot above, the workflow gets triggered when a user signs up or subscribe to a form), its schedule on when the emails gets sent, as well as a statistics like the click and open rate of the emails inside of the workflow. Editing on the workflow will display the following figure below.

Workflow Contents
Figure 2 - Workflow Contents

Figure 2 shows the actual content of the workflow. We can say that once the workflow has been triggered, it’ll send the following email. We can delay the sending of the email by pressing on the Edit Triggers. It is worth knowing that the free plan of MailChimp only supports one email address for the sending of the emails. Upgrading to the Standard and Premium plan will give you the option to send multiple automated email series. For now, we will be focusing on the free plan of Mail Chimp.

Workflow Summary
Figure 3 -Workflow Summary

Once you are done setting up the actual contents of the workflow, MailChimp will give you a summary of the workflow when it gets triggered.  It will show to you what emails will be sent once it has been triggered. We can also track the links being clicked on the email by pressing on the “Edit Tracking” button in the Tracking section.

Test Email
Figure 4 - Test Email

Once the user signs up for the form, they’ll receive the email in Figure 4.

Below are the available triggers for starting the workflow in MailChimp

Automation Email
Built-in Triggers / entry points for workflows
Built-in Triggers / entry points for workflows
Built-in Triggers / entry points for workflows
Built-in Triggers / entry points for workflows
Figure 5 -Built-in Triggers / entry points for workflows

MailChimp also supports custom events with the use of an API.

Event API

MailChimp’s API uses a POST call request to trigger the custom events. MailChimp does not support JavaScript for implementing their tracking functionality. This contrasts with other email marketing services where it uses JavaScript to trigger the workflows. It can be said that this type of implementation is more complex since there is no script to be added when adding the tracker. Before creating an event, make sure you have added your website to MailChimp.

Adding your website can be done by in the Website page. You can also create your own website with MailChimp for a more seamless integration. It’s worth noting that you’ll have to connect your website first before doing this. Instructions for connecting MailChimp to your website can be found at the references section.

To start tracking, simply add the following link to make a POST call

/lists/{list_id}/members/{subscriber_hash}/events

Once done, insert the name of the event as well as properties contents of the event. Below is an example of a request

{

    "name": "registered_account",

    "properties": {

        "user_type": "Premium",

        "preferred_communication": "Email"

    }

}

Once done, simply put the name of the event after selecting “Event API” trigger when creating the workflow.

Event API

Before proceeding, make sure you have done the following:

  • Create an audience list
    • This is where the data of the users goes through when an event happens
  • Email Template
    • Template can be designed during the creation of the automation workflow. However, it is better to create them before implementing it to the workflow. 

For Simplicity, we will be focusing mainly on implanting MailChimp in WordPress using a unofficial plugin called “MC4WP”. Once done installing, paste the API key of your MailChimp account in MC4WP. API key of your MailChimp account can be found at your Accounts Settings and then selecting on API. You may create an API key if it hasn’t been created yet.

API key page
Figure 6 - API key page

Since we will be using an unofficial plugin, some functionalities offered by MailChimp might not be possible. To implement MailChimp with more access, use the MailChimp Event API. The event API can be found before this chapter.

For this demonstration, we will be implementing a MailChimp form. Once the MailChimp form has been made, copy, and paste the short code into the desired WordPress page. The form should send a welcome email to the user once they have subscribed to an email. Below is a sample screenshot of the form that we will be using:
Sample Test Email Form
Figure 7 – Sample Test Email Form

Once creating the form, we can start creating the automation workflow in MailChimp. Since we’re using an unofficial plugin, we need to create the workflow outside of WordPress. 

To start creating the workflow:

  • However on Automations and then select Emails
  • Select “Welcome New Subscribers”
  • Select the desired audience list. The automation workflow will be triggered every time a new contact has been added into the audience list.
  • Design the email content. You can also select the available email templates
  • Once done, you should be able to see a brief summary of the upcoming workflow
Automation Workflow Summary
Figure 8 – Automation Workflow Summary

You may also chance when will the email gets sent by editing the delay. Since we’re using the free tier of MailChimp, some features and functionalities is limited. Once of the features that is available in higher tiers of MailChimp is sending of multiple automated emails (Automated Email Series) in one workflow. Once done you should be able to see your automation workflow in the Campaigns page.

Automation Workflow Summary
Figure 9 – Created Automated Workflows

We can test the automation workflow itself by using the form we’ve created in WordPress. Refer to the outputs below

Sample Test Email Form
Figure 10 – Done Signing up in the form
Test Email
Figure 11 – Confirm Subscription Email
Test Email
Figure 12 – Email Received after confirming email subscription
Mailchimp Auto emails and Tracking Codes
Figure 13 – Workflow Statistics and Overview

And that’s it!

We’ve Implemented MailChimp into WordPress! While it’s currently limited because there are currently no way to implement MailChimp with an official plugin, the unofficial one can be used as an alternative in triggering the automation workflow in the Automations page.