Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Send Campaigns from MailChimp

Video loading...

  • 0:02
    Using MailChimp with Drupal 7
  • 0:04
    Send Campaigns from MailChimp Series Sponsored by MailChimp
  • 0:09
    There are two ways you can send an email
  • 0:11
    to a MailChimp list; either through the MailChimp UI, or via Drupal.
  • 0:15
    In this tutorial, we'll look at using the MailChimp UI to send an email campaign to our mailing list.
  • 0:21
    We'll choose a template, draft a newsletter, send a test email,
  • 0:24
    and then finally send the real thing.
  • 0:28
    Then, we'll look at how we can use the values of the merge fields on our list to segment the list
  • 0:32
    and send a campaign to just the people in a specific location. By the end of this tutorial,
  • 0:37
    you should be able to send a new email campaign from within MailChimp to your list of subscribers
  • 0:42
    or a subset of that list. Let's go ahead and get started. We're sending an email
  • 0:47
    from the MailChimp user interface in this case. So the first thing you'll need to do
  • 0:52
    is log into your MailChimp account at Once you've done that,
  • 0:57
    you should be on this dashboard here. We'll start by creating a new campaign,
  • 1:01
    so you click "Create Campaign" over here on the top right. And then you've got a few options.
  • 1:06
    What type of campaign are you trying to create? We're going to create a regular campaign
  • 1:11
    so it'll be an HTML email. A plain-text campaign operates pretty much the same way
  • 1:18
    as a regular campaign. The big difference is that you're just sending plain text
  • 1:21
    instead of sending a nicely formatted HTML email. You could also do an A/B split campaign
  • 1:26
    where you've got basically two different campaigns. You send one to half of your list
  • 1:31
    and the other to the other half of your list. MailChimp takes care of that sort of automatically for you.
  • 1:35
    You can then look at the metrics from that to try to get a sense of which one performed better.
  • 1:41
    And finally, you could also create an RSS-driven campaign, which we'll look at doing
  • 1:45
    in another tutorial. So go ahead and select the Regular Campaign option.
  • 1:51
    Once you've done that, you need to choose which of your lists you're going to send this email to.
  • 1:57
    We're going to send this one to our Weekly Newsletter list, which currently has three recipients.
  • 2:01
    And then we're going go say "Send to the entire list." There's also some additional options there
  • 2:07
    but for now we'll just choose "Send to entire list." Click next in the bottom right down here.
  • 2:12
    There's sort of a wizard of sorts that walks you through creating and sending this campaign.
  • 2:17
    So now we need to name our campaign. We'll call this "Weekly Newsletter - June #1"
  • 2:23
    since it's the first week of June, and we might as well just give it the same subject.
  • 2:27
    That seems fine here. Name of your campaign is what's going to show up
  • 2:31
    in the MailChimp administration interface when people are navigating through that
  • 2:35
    and maybe coming back later and finding drafts of the campaign and so forth.
  • 2:38
    Email subject is what's going to appear in the subject field of the email that your subscribers receive.
  • 2:44
    You can set the from name and the from email address. It defaults to whatever you configured
  • 2:50
    when you first created the mailing list, and I'll leave those as they are.
  • 2:54
    But I could, on a per-campaign basis, change those. And then there's a bunch of other options
  • 2:58
    that we can look at. Some of them are for paid accounts only, which my account is not currently.
  • 3:05
    But you can see that there some options that enable additional tracking-type stuff
  • 3:09
    if you have a paid account. You can personalize the "To" field. In a previous tutorial,
  • 3:15
    we looked at collecting information about our members or about our subscribers
  • 3:19
    using merge fields. We collected their first name and their last name and a few other things.
  • 3:23
    As you're creating a campaign, you often end up in scenarios where you can substitute
  • 3:28
    these merge tags, kind of like a token in Drupal, into a text field.
  • 3:32
    And in this case when MailChimp goes to send out a campaign,
  • 3:36
    it will replace the to field with the name of the person that you are sending each individual email to,
  • 3:42
    if MailChimp has that information. It's a nice way to personalize things a bit.
  • 3:47
    So you can enter merge tags there. We'll just leave it as first name. That seems fine to me.
  • 3:51
    Do you want to enable tracking for this? In some cases that's required especially for the free accounts.
  • 3:56
    And you can turn off certain features or turn on other features of tracking, should you want to use them.
  • 4:03
    I'm also going to leave these as is. I don't have Google Analytics set up for my site currently,
  • 4:08
    but if I did I might want to integrate it with MailChimp for some additional tracking information.
  • 4:13
    I do want to track how many people actually open the campaign.
  • 4:16
    It's not an eCommerce site so there's not much for me to do with 360 tracking.
  • 4:21
    You get the idea. It also has the ability to automatically update your social media accounts,
  • 4:28
    both for Twitter and Facebook, if you connect those to MailChimp.
  • 4:32
    Whenever a campaign goes out, MailChimp can tweet on your behalf and say
  • 4:36
    "A new campaign went out. Here's a link to view the newsletter in an HTML format online."
  • 4:41
    Kind of cool. And a couple of other options. I'm going to go ahead and just click Next here.
  • 4:45
    The next thing you need to do is choose what your email is going to look like.
  • 4:50
    MailChimp provides you a lot of options here. You can start with one of these basic templates,
  • 4:54
    which is what we're actually going to do since this is really just about demonstrating the sending.
  • 4:58
    There's a whole bunch of different themes. You can start with one of those and customize it
  • 5:04
    to fit your needs. If you had created your own template, you would find those under Saved Templates.
  • 5:10
    And we will go through creating our own template in another tutorial.
  • 5:14
    So for now let's stick with the basic template, but we're really going to stick with the most basic one.
  • 5:19
    We'll use this one-column option. One of the things that is interesting here is that if you click on the option,
  • 5:25
    like so, you'll get a preview of what that template looks like. So if you want to get a larger preview
  • 5:32
    of what these templates look like other than just the little thumbnail,
  • 5:35
    click on the thumbnail and it will show you a preview. This is kind of what it's going to look like
  • 5:38
    in your standard mail client like Gmail or Outlook, and this is trying to give you an example
  • 5:43
    of what it might look like on a mobile email client. Close that preview.
  • 5:47
    Once you've found the template that you want to use, you actually need to click this Select button.
  • 5:51
    So I'm going to click the Select button for the 1-column template,
  • 5:54
    and now I get a user interface that allows me to customize the content of this email.
  • 6:00
    So we'll go ahead and do that. You can customize your email by selecting any of the elements
  • 6:05
    in the template on the left over here and then clicking the edit link. So I'm going to edit this header.
  • 6:11
    So a short preview—we'll just say this is our Weekly Newsletter update for June 1.
  • 6:16
    That's fine. We'll leave the "View this email in your browser" link. I can add an image
  • 6:21
    so I'll go ahead and upload an image. The image gets inserted into the email there.
  • 6:28
    I can change the text here. We'll say maybe a welcome. I'm not going to spend a ton of time here.
  • 6:34
    This is really just to demonstrate that you can send these. This is the text of our email campaign.
  • 6:41
    Like so. MailChimp has automatically populated this footer down here
  • 6:46
    with a bunch of merge tags. And you can see it's inserting things like the company name
  • 6:51
    that you've associated with this list, a link to view the archive, and so forth.
  • 6:55
    Go ahead and customize these things as necessary, but I do recommend that you keep
  • 7:01
    your company name in there. The more information that you can provide in your campaign
  • 7:06
    that identifies who you are, the more likely people are to trust the email that you are sending to them.
  • 7:11
    Anyways, once I've composed the content of my email to my satisfaction,
  • 7:16
    I can do some tests with it. I can go up here and under Preview and Tests, I've got a few options.
  • 7:21
    One, I can enter preview mode, and this opens up similar to the browser
  • 7:25
    where we are looking at a preview of the template, except for now it's using my actual content.
  • 7:29
    So you can see our image here and a rough idea of what it would look like.
  • 7:32
    It's also started to substitute in some values for these merged tags, so I can see what that's going to look like
  • 7:38
    in the campaign. Looks great to me. You can close that. Another thing that you can do
  • 7:43
    is send yourself a test email. I highly recommend doing this as well.
  • 7:48
    The in-browser preview is nice, but it's not always an accurate representation
  • 7:53
    of what it's going to look like in your inbox. So send a test email
  • 7:57
    by entering in an address that you'd like to send that test email to.
  • 8:00
    So maybe I'll send the test email to myself. It goes ahead and sends it off.
  • 8:06
    It does give me a warning here about sending an email to myself from myself
  • 8:11
    and sometimes that can get caught in the spam filter, but it shouldn't be a problem in this case.
  • 8:15
    So it's already sent the test email. I could have sent that to any number of people.
  • 8:19
    Let's take a look. It should have arrived in my inbox by now, and there we go.
  • 8:24
    Sure enough, I've got the email in my inbox. I can click "Display images below"
  • 8:28
    so it loads the full image and get a preview of what's going to be sent in this campaign.
  • 8:33
    Looks good to me, so I'm going to switch back to MailChimp. Now back in the MailChimp UI,
  • 8:38
    I've got a few more options. One of the things I can do is save and exit.
  • 8:43
    A save and exit here will allow me to save a draft of this campaign. So maybe I've got it all put together
  • 8:49
    but I'm not quite ready to send it yet. Or maybe I need someone else on my team
  • 8:53
    to proofread it to make sure that I didn't mistype anything or make any mistakes in the email.
  • 8:58
    Or I can save this campaign as a draft, and anyone can come back and edit it
  • 9:02
    or actually come back to any of these steps listed here along the bottom and make changes at any time
  • 9:08
    until I'm ready to send it. So I'm going to go ahead and say "Next" because I'm content with this.
  • 9:14
    Let's say I've had my team verify that everything looks good. MailChimp does some extra filtering here.
  • 9:20
    It parses the email, and it just checks to make sure that things check out, that they look OK.
  • 9:25
    Do you have a good subject line? Is the list ready to be sent to you?
  • 9:28
    Kind of just making sure that nothing looks out of place. One of the things that will alert you here
  • 9:34
    is poor structure of the HTML or things that might be considered spammy.
  • 9:39
    So pay attention when it says you might want to consider this.
  • 9:43
    This all looks great to me, so now I'm ready to either schedule the email.
  • 9:48
    I can click "schedule" to send it out at some time in the future by choosing a date and time
  • 9:55
    that I would like to send it, or I can just send it right away. One of the things to be aware of
  • 10:01
    when you send this is that it's going to send it for the time zone that's configured for your list.
  • 10:06
    For my list that's Eastern time, so if I set it to 1pm Eastern, it's going to send it to everyone on the list
  • 10:11
    at that time, regardless of what their time zone is. Or, I can cancel that and just say "send it immediately."
  • 10:18
    Say, yep, let's go ahead and send this. Send now. MailChimp gives us a nice high five.
  • 10:26
    It says your campaign is in the queue and will go out shortly. Our list is really small,
  • 10:32
    so it'll deliver all of those very quickly. If you've got a much larger list, it can take a little bit of time
  • 10:37
    for everyone on the list to receive the email as MailChimp parses through the queue,
  • 10:40
    but it will eventually get through all of them. Another thing to note is that once you've sent
  • 10:46
    a campaign, you can't go back and send the same campaign again or really make changes to it.
  • 10:51
    Once an email is out in the wild, there's no retracting it and editing and making changes.
  • 10:57
    So again, it's really important to make sure that you proof these things before you send them.
  • 11:02
    All right. So that's sending a basic campaign. Let's look at creating a segment of our list
  • 11:07
    and sending a campaign to that. So I'm going to go through this real quick.
  • 11:11
    If I go to Lists, I choose my existing weekly newsletter list. Under the Segments button, here,
  • 11:18
    I don't have any segments but it gives me the option to create a new segment.
  • 11:22
    So I'm going to do that. And then I have to set up some conditions or filters for the list,
  • 11:26
    so I'm going to say if the location merge field contains Aspen,
  • 11:33
    like so—that's my segment—I can add additional conditions if I want to too.
  • 11:38
    It's kind of like building a view in Drupal. You set up some filters and then it filters down the list
  • 11:44
    to whatever is the result of applying those filters. I can preview my segment.
  • 11:49
    I expect there to be one person in the list. Yep, so I've got one person who has Aspen in their location's merge field,
  • 11:54
    and I'll go ahead and save that segment. And I'll give it a meaningful name.
  • 11:59
    Auto-update meaning as new people subscribe to the list, if they match the filter for this segment,
  • 12:05
    also automatically add them to the list or to this segment. So there we go.
  • 12:10
    I've now got a segment that allows me to send email to only people in my subscription list
  • 12:16
    that match that filter. And now I can go to Campaigns, create a campaign,
  • 12:22
    create a regular campaign, send it to the weekly newsletter, send it to a saved segment—
  • 12:28
    so this is different than what we did last time—and then choose your segment.
  • 12:31
    I won't go through the whole process, because other than this it's exactly what we just did.
  • 12:36
    But I did want to demonstrate the power of MailChimp to be able to segment one giant list
  • 12:40
    into smaller pieces. And that's how you send campaigns through the MailChimp UI.
  • 12:44
    In this tutorial, we went through the steps necessary
  • 12:47
    to log into MailChimp and send a new campaign, an HTML email,
  • 12:52
    through their UI, and talked about some of the other options as well.
  • 12:55
    We also looked at how you can create a list segment
  • 12:59
    by filtering your existing list down to a subset of the subscribers based on a merge field
  • 13:05
    or any of the other data that MailChimp knows about those subscribers,
  • 13:09
    so you can send an email to just that subset of the list.

Send Campaigns from MailChimp


There are two ways you can send an email to a MailChimp list: through the MailChimp UI, or via Drupal. In this tutorial we'll look at using the MailChimp UI to send an email campaign to our mailing list. We'll also use MailChimp to segment an existing mailing list into smaller, more targeted, groups to send a campaign to, allowing us to be more effective with targeting those users on our list that we know will care about a specific announcement.

The MailChimp UI for composing and sending an email campaign is awesome, and has some great tools for content creators. In this tutorial we'll choose a a template, draft a newsletter, send a test email, and then finally send the real thing.

After that, we'll look at how we can use the values of the merge fields associated with subscribers in our list to segment the list and send a campaign to just the people in a specific location. Or example use case is that our hypothetical ice cream store has physical locations in Aspen, Carbondale, and Glenwood Springs. When a user signs up for our mailing list they can optionally let us know which store, or stores, they frequent. Then, when our Aspen store has its two year anniversary, and we're going to offer specials at just that store for the weekend, we can email our list and let them know. Rather than spam the entire list, we can target just those people who have identified that they frequent the Aspen location. Pretty cool.

By the end of this tutorial you should be able to send a new email campaign from within MailChimp to your list of subscribers, as well as know how to leverage list segmentation.

Further your learning

  • Can you give two example use cases for list segmentation?
  • What are the different ways that you can preview an email campaign in the MailChimp?
  • What are merge tags in MailChimp?
  • Further exploration: Explore the various templates and themes provided by MailChimp. Are there any that would serve as a good starting point for your email campaigns?

Series Sponsored by MailChimp

Log in or sign up to download companion files.