MailChimp Pro - Unsubscribe from list when membership expires

Using MailChimp's automations, you can automatically unsubscribe users from your MailChimp list when their Restrict Content Pro membership expires. Follow these steps to set up an unsubscribe automation:

In MailChimp navigate to the "Campaigns" interface and click the button to "Create Campaign".

A window will pop up asking what you want to create. Select "Create an Email", change the email type to "Automated", select "Subscriber Activity", then click "Respond to subscriber updates".

On the next screen, change the trigger to "List field change" on the top right. You'll also be able to choose a "Campaign Name" and choose which list you'd like to apply this automation to. Click "Begin" to proceed to the next page.

By default, MailChimp will automatically configure three triggers for you. You probably only need one, so you can delete two of them by clicking the downward pointing caret on the right and select "Delete Email".

Once you have the email you'd like to keep, you'll need to click "Edit Trigger" so you can specify which field you want MailChimp to watch for changes. Click the dropdown to "Select List Field" and choose "RCP Status". Then in the box, you can enter the status you want to act on, in this case, "expired", as we'll be unsubscribing users when their Restrict Content Pro membership expires. Then click "Update Trigger" to save your changes.

Next, you'll want to configure the action for MailChimp to take. Click the link to "Edit actions" and select "Unsubscribe from list". Click "Update Action" to save your changes.

Finally, click "Design Email" to configure the email to be sent to the subscriber. This email can contain anything you like, but it might be a good idea to notify them that they've been unsubscribed, and/or that their membership has expired.

Here's what the final automation looks like:

Click "Next" in the bottom of the right to confirm your settings and activate the automation.