The MailChimp Lists module provides integration with the Views Bulk Operations module. This integration allows site administrators to create a view, and then use the contents of that view to create a new segment for a list in MailChimp. This is pretty cool because there are a lot of things that Drupal knows about your users that MailChimp doesn't. So we can begin to use the powerful Views module to create list segments that might otherwise be impossible to generate.
In this tutorial we'll install the Views Bulk Operations module (VBO) and it's dependencies. Then, we'll create a view of users on our site that can be filtered based on the user's role. Finally, with the VBO integration, we can use this to create a new segment in our mailing list for just users on our site with a specific role.
By the end of this tutorial you should be able to create a new list segment in MailChimp based on the content of a view in Drupal.
Further your learning
- What does the Views Bulk Operations module do?
- Can you list three examples of list segments you could create with the information in Drupal that you couldn't create directly in MailChimp?
- Further exploration: Can you create a view that allows administrators to create a new MailChimp segment that contains only users who logged in to your site in the last month?