Skip to content

Knowledge Base

Business Process Automation Platform

How to synchronize MailChimp unsubscribes with a CRM system by making use of the TaskCentre Web Service Connector


MailChimp ( ) is an email marketing solution which helps you create and monitor email marketing campaigns.

When a user decides they no longer wish to receive campaign emails they can unsubscribe from the mailing list by clicking a link marked “unsubscribe” at the bottom of an email. MailChimp then sets a flag to change their status from “subscribed” to “unsubscribed”.

Using TaskCentre you can query users with the “unsubscribed” status and update a CRM system to flag these contacts as no longer requiring inclusion in an email marketing campaign.



  • TaskCentre v4.5 (build 1171) or above
  • TaskCentre Web Service connector tool v1.0 (build 482) or above
  • MailChimp API version 1.3 or above
Note: A newer version of the MailChimp API exists, the download supplied in this article is for instructional purposes only.


  • Sign up for a MailChimp account by visiting the MailChimp website and following the sign up instructions:
  • Within the MailChimp dashboard under Account > API Keys & Authorized Apps create an API key.
  • Create a list for example, “Newsletter” and add some subscribers to the list. MailChimp automatically generates a unique id for the list. You will find the list id under Lists > Settings > List settings and unique id.
  • Create a new campaign for example “Introducing our new product”
  • Send the campaign.
Note: Record the API Key and ListID you received from the steps above. They will be required when creating a web service configuration within TaskCentre.

Web Service Configuration

  1. Download the MailChimp API v1.3 web service configuration file: MailChimp API
  2. From the main menu within TaskCentre select Manage > Tools > Execute > Web Service Connector to open the Web Service Configurations screen.WebServiceConfigurations
  3. Click Import and browse to the MailChimp API v1.3 web service configuration file you downloaded earlier.
  4. During import of the web service configuration file you will be prompted to enter the MailChimp URL, API Key and the List ID parameter values. See the Prerequisites section above for how to get your API Key and the List ID. The correct URL is dependent upon the last 3 digits of your API key to take the example below the trailing digits us4 identifies the region through which a user signed-up. In this case their URL would be
  5. Click OK to save the changes and then close the Web Service Configurations screen.

You have now successfully created a web service that connects to the MailChimp web service API.

The next section shows how this can be used within the Web Service Connector Tool in TaskCentre to query users who have unsubscribed from a MailChimp mailing list.

Web Service Connector Tool

  1. Create a new task
  2. Under the Design tab, right click anywhere in the designer and select New > Execute > Web Service Connector
  3. Under the Web service tab, select MailChimpAPI from the Web service drop down and select ListUnsubscribedMembers from the Operation drop down.WebServiceConnector_WebService
  4. Under the Mapping tab, from the Functions pane drag two Fixed/Dynamic functions onto the Transformation mapping pane.
  5. From the Tool Input pane drag from ApiKey onto one of the Fixed/Dynamic functions and the ListId onto the other. If successful you will see a green dotted line between the tool inputs and the functions.
  6. Double-click the function that is linked to the ApiKey input and select the Value tab.
  7. Within the task Browser under the Constants section drag MailchimpAPI_API_KEY onto the Output Text of the function and click OK.WebServiceConnector_Mapping_Transformation
  8. Repeat the above steps for the ListId input.

At this stage the output of the Web Service Connector tool is now available for use within other task steps to update your CRM system with unsubscribed users.