> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.syncspider.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to use WebHooks with MailChimp

In this article, we will demonstrate how to send subscriber data from an email marketing platform [Mailchimp](https://syncspider-support.freshdesk.com/en/support/solutions/articles/3000115640-how-to-integrate-mailchimp) to Google Sheets, by utilizing our WebHook Module.

_The article will focus on automating this process, so you are always up-to-date with the newest subscribers/unsubscribers._

**Webhooks** are one of the methods in which apps can send automated messages/data to other apps.

Here, we will set up the process of how Webhooks can be used to grab data from Mailchimp.

**Step 1:**

First, log in to your SyncSpider account, click on ‘**Projects**’ located at the left side, as shown below, and then click on '**create a new task'**.

![](https://storage.crisp.chat/users/helpdesk/website/-/d/7/b/4/d7b447959b20780/23f2da09-d674-4141-8a5e-1dc021_35eb7o.png)

**Step 2:**

In the add new integration, select **Webhooks,** enter the integration **name** and **description**. Click **Next**.

![](https://storage.crisp.chat/users/helpdesk/website/-/e/e/4/8/ee48e4eb1ae91800/05e9132c-57db-4430-970f-280f0c_1xssjeq.png)

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/d/8/83d80ed90a8ce000/8c60aabc-b0c3-4692-8d71-75ff81_jahqyy.png)

Now you will need the **website URL**, which you can get from Mailchimp to connect to SyncSpider.

![](https://storage.crisp.chat/users/helpdesk/website/-/3/1/c/3/31c3b0c3604a020/68986add-e883-43fb-8a69-0e93dc_1nr4qvk.png)

Log in to Mailchimp with your credentials and copy the URL. Make sure to copy only the base URL, as highlighted in the picture.

![](https://storage.crisp.chat/users/helpdesk/website/-/d/2/9/b/d29bea4c0560b000/c891622d-210b-41b8-b56a-2fd865_3btcs9.png)

To generate the **API key**, you would need to login into your MailChimp account and follow this [link](https://us19.admin.mailchimp.com/account/api/).

**Or**

**Follow these steps :**

1. Click on **Account** located on the right side of the screen as shown below.

![](https://storage.crisp.chat/users/helpdesk/website/-/9/1/7/c/917c50a6b68d4000/7e3cfbbb-f7ec-4755-857d-f541a8_zxnur5.png)

**2**. In the screen that opens, click on **Extras- API** keys as in the screenshot.

![](https://storage.crisp.chat/users/helpdesk/website/-/3/5/e/b/35ebfebf93bc7400/861f33de-5c1f-4e77-a371-b15b5b_1sdielm.png)

**3.** The API key is now visible.

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083876374/original/m2vDbC4zqPYDekb4Ll0Luuw0cYQlzosl5w.png?1658250559)

You can copy and paste this API key from Mailchimp to your SyncSpider account and click **finish**.

The next step is sending the configuration that we want to set from SyncSpider to Mailchimp. The first step is copying the **Configuration Webhook URL**:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083876375/original/EKA9SOLHfdKz1uMUrJpXIGZDKfSw9PEFBQ.png?1658250562)

Next, go to your Mailchimp account, click on **Audience> Settings> Create a new Webhook**. And copy the **Configuration URL** into the prompted field.

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083876385/original/w5oN4U9i0uk9Xuktg0y8J1j2lHrWngKlIA.png?1658250564)

The next step is to send at least one piece of information from Mailchimp to SyncSpider in order for the template source data to become available in our task. We can do that by clicking on **Audience> View Contacts> Selecting at least one Contact> Actions> Unsubscribe.**

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083876380/original/SSpPIIgbk4eioW9elBLloT3SFNgX0QwhWQ.png?1658250563)

Now, after clicking on the refresh button, next to the Configuration URL, you will be able to access select which source you want to use, from the **Source Schema** in the Webhook. More precisely, which attributes you want to be exporting.

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083876384/original/qJEurwZGixwOS53hIr2xLnIgoaur8s15GA.png?1658250564)

After selecting your attributes click on Next and copy the proper **Webhook URL** by clicking on the **button** below.

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083876376/original/Net7O1tcoKwrbL9SM8_4fG0N_bEz0HZPfg.png?1658250563)

Next, go back to your Mailchimp and click on **Settings> Webhooks> Edit.**

.

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083876382/original/ejeeT1OKjs1ehVQn7aCuU41gQD5Lueq9fQ.png?1658250563)

And change the old **URL**:

The last steps are setting the filters, [mapping](https://syncspider-support.freshdesk.com/en/support/solutions/articles/3000115964-mapping), and setting triggers for the task.

And that's it! The data is now being grabbed from the Mailchimp.

---

**Webhooks** are just one of the tools we support!

To check the list of the tools and features we support please click [here](https://syncspider.com/integrations/)!

If you don't see your favorite tool on our list, please take the time and send us the request [here](https://roadmap.syncspider.com/boards/integrations?sort=cached_votes_up) to create an integration for you or UP-vote if it's already on the list :)

We develop integrations based on the requests and up-votes :)

We hope that this covers everything. If you have any further questions or need additional clarification please reach out to us via [[email protected]](/cdn-cgi/l/email-protection#691a1c1919061b1d291a10070a1a19000d0c1b470a0604) or our chat widget!