In this tutorial, you will learn how to create and configure a connection between CopeCart and Mailchimp via Zapier. In this example, every time the buyer purchases a product at CopeCart, a new data record appears at the Mailchimp Audience contact list.

Mailchimp dashboard

First, make Zapier know it should "listen" to your product sale process. To do that, you need to create a Webhook. In other words, you need to establish a mechanism of notifying the system that something had happened.

Zapier dashboard

Then, go to your Zapier account and follow the next steps:

  1. Go to the Zaps menu.

  2. Click on Make a New Zap button.

  3. Scroll down to Built-In Apps and select Webhooks by Zapier.

  4. Choose Catch Hook as a trigger event and press Continue.

You have created a Webhook Endpoint. It is a unique address where the specific messages will be sent to when some action happens.

Next, you need to configure an IPN connection between Zapier and CopeCart so that every time when the purchase happens, CopeCart sends a notification to the Webhook Endpoint.

To do that, open the CopeCart member area in a new tab, click on your username in the upper-right corner, and proceed to IPN connections:

Create and name a new generic IPN integration:

Now you need to tell CopeCart to send notifications to the Webhook Endpoint that you have created at Zapier. To do that, simply copy the Webhook URL from Zapier to Notification URL field at CopeCart, enter a secret key, and press Save changes:

Go to the Product edit page and enable an IPN integration with Zapier:

Then, go to the product Checkout page and proceed to the Test order. Fill in the fields with whatever user information you want, select a payment plan and Test payment option, and click on Order now:

This is how you complete a test order.

Now, switch to Zapier and proceed to the next step by clicking on the Continue button. We strongly recommend you to proceed to test by pressing Test & Continue. If integration between CopeCart and Zapier works, you will be redirected to the next step:

Next, you should configure the interface between Zapier and Mailchimp:

  1. Select the Mailchimp App.

  2. Choose an action event from a drop-down list and press Continue.
    This example uses an Add/Update a Subscriber option as an event. It means that every time when the product is purchased, a new contact with corresponding parameters will be created in a Mailchimp contact list. You can use any other option, naturally.

  3. Select a Mailchimp account (your personal or your business account) and press Continue.

  4. Customize the configurations: tell Zapier, what parameters received from the CopeCart customers should be sent to Mailchimp.

MailChimp configuration example at Zapier

Next, test your connection between Zapier and Mailchimp:

MailChimp successful test

At Mailchimp, you can check that everything works fine:

MailChimp result

If you'd like to integrate CopeCart and Mailchimp via Zapier for other your products, enable the Zapier IPN interface for every product at a Product Edit page.

Did this answer your question?