# Mailchimp integration

## Step 1. Get the API key

Visit Mailchimp to obtain your API key. Please check out this detailed guide: <https://mailchimp.com/help/about-api-keys/>

After creating the API key, copy the key and go back to BLOOP app

<figure><img src="/files/Uf0x701vvmVmNK0aWzAB" alt=""><figcaption></figcaption></figure>

## Step 2. Get the Audience ID

To find your Audience ID, please visit Mailchimp -> Audience -> Audience Settings -> Audience ID to obtain it

After copying, go back to BLOOP app

<figure><img src="/files/dV5nlIPSY0ESVrARkAmK" alt=""><figcaption></figcaption></figure>

## Step 3. Connect to Mailchimp

From the BLOOP app, go to **Integration** > **Mailchimp**. After enabling the feature, please enter your API key and Audience ID in the Connect to Mailchimp section, then click **Connect**.

<figure><img src="/files/j3Se4TuqPnMyJUzeLFwm" alt=""><figcaption></figcaption></figure>

If the button says Connected, it means BLOOP has successfully connected to Mailchimp.

## How the integration works?

The integration performs two key functions:

1. **Synchronize Audiences**: Contact profile of referrers (customers who refer their friends) and referee (who get referred) are automatically synced with Mailchimp audience

<figure><img src="/files/S4rXvvl9pkM96OahncKM" alt=""><figcaption></figcaption></figure>

2. **Trigger Events**:

a. When a customer joins the referral program and becomes a referrer.

b. When a referrer sends email invitations to their friends.

c. When a referee receives referral discount

d. When a successful referral is completed (i.e., the referee, or referred person, checks out using the gift they received).

#### By using BLOOP tags, you can manage your audience for the referral program

Mailchimp allows the creation of segments, such as the 'BLOOP Referrer' segment shown below

<figure><img src="/files/am0Nf0WB1HbeEhUGhxVj" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/tdzpOgtaBIpRU3zi0i7K" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/UyfmcUES1HoM4U674ks2" alt=""><figcaption></figcaption></figure>

#### Furthermore, BLOOP properties allow you to create automatic flows in Mailchimp

Go to Automations → Build from Scratch → enter the Flow name → Choose starting points

<figure><img src="/files/Wkfoc6t3uGA8RfdLfIvZ" alt=""><figcaption></figcaption></figure>

***Use case 1: Creating an automated flow with Tag***

Select Tag added as the starting point

<figure><img src="/files/XaXagY3HEHMXPRxj59Q5" alt=""><figcaption></figcaption></figure>

Choose the appropriate tag you want to use for this flow, then add a step

<figure><img src="/files/E7ZhnLJUzklz08OCv9e9" alt=""><figcaption></figcaption></figure>

***Use case 2: Creating an automated flow with Trigger***

Go to API & Intergrantion -> Select Event API as the starting point

<figure><img src="/files/raSN9hG4ofukn9ni3t1r" alt=""><figcaption></figcaption></figure>

Choose the appropriate trigger you want to use for this flow, then add a step

<figure><img src="/files/VSR75Xy2Ynpv6wDOhfgy" alt=""><figcaption></figcaption></figure>

***

That's how you can utilize the Mailchimp integration feature. If you need assistance, feel free to reach out to us via in-app Live Chat or at <support-sbc-tc@bsscommerce.com>.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bloop.plus/integration/mailchimp-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
