Skip to main content

Mixpanel integration - Sync your contacts to Sendinblue

mixpanel_500x1891.png

The Sendinblue integration with Mixpanel allows you to sync users within a cohort to a custom webhook URL. When a sync is established, Mixpanel will sync the users within the cohort to the URL and subsequently sync diffs (i.e. the users who entered or exited the cohort since the last sync).

Create a service account in Mixpanel

To integrate Mixpanel with Sendinblue, you will first need to create a new service account and save its username and secret:

  1. In your Mixpanel account, click on the Settings menu.
  2. Under Organization Settings, select your organization.
    mceclip2.png
  3. In the sidebar menu, click on Service Accounts.
  4. Click on + Add Service Account to create your service account.
    mceclip3.png
  5. Fill in your service account information. To learn more about how to create a service account, check Mixpanel's documentation.
  6. Click on Create.
    mceclip1.png
  7. Save the following information in a safe place:
    • Username
    • Secret
  8. Click on Done.
    mceclip0.png

Set up the Mixpanel integration

Now that you have retrieved your service account's username and secret, you are ready to start integrating Mixpanel with Sendinblue:

  1. In your Sendinblue account, click the + sign in the top bar.
  2. Go to the Integrations tab.
    2022-01-27_09-34-53.png
  3. Click on the Mixpanel integration.
  4. Give a name to the integration.
  5. Click on Create integration.
    mceclip4.png

Connect account

Connect the integration to the service account you previously created:

  1. Click on Add an account.
  2. Fill in the account information:
    • Authentication name: the name you want to give to the account
    • URL:
      • Standard Server: https://mixpanel.com
      • EU Server: https://eu.mixpanel.com
    • Username: the service account's username (that you previously saved)
    • Password: the service account's secret (that you previously saved)
  3. Click on Proceed. Your account is now active.
    mceclip6.png
  4. Click on Continue.

Configure Mixpanel

Retrieve your project ID and add it to the integration:

  1. In your Mixpanel account, click on the Settings menu.
  2. Under Organization Settings, select your organization.
    mceclip2.png
  3. In the sidebar menu, click on Projects.
  4. Click on your project to find all its details.
    mceclip1.png
  5. Save your project ID.
    mceclip3.png
  6. In your Sendinblue account, enter your project ID.
    mceclip7.png
  7. Click on Continue.

Mapping Data

💡 Good to know
Date type attributes are not supported.

Indicate how Sendinblue should match the data from your Mixpanel project:

  1. Click on a drop-down menu in the Mixpanel attribute column.
    ❗️ Important
    Make sure your Mixpanel cohorts contain users. Otherwise, the Mixpanel attribute dropdown fields will appear as empty. To learn more about how to create a cohort, check out Mixpanel’s documentation.
  2. Select the desired attribute to map to the contact attribute.
    mceclip8.png
  3. Once you are done, click on Continue.

Select your list

Select in which list you want to synchronize your Mixpanel contacts:

  1. From here, you have two options to synchronize your Mixpanel contacts:
    • In the Select a list tab, select the list in which you want to synchronize your Mixpanel contacts.
    • In the Create a list tab, create a new list in which you want to synchronize your Mixpanel contacts.
      mceclip9.png
  2. Click on Continue.

Confirmation

To enable the integration, click on Save and activate.

Create a new webhook connection

To create a new webhook connection:

  1. Copy the webhook URL that appears on your screen.
  2. Click on Finish.
    mceclip4.png

    💡 Good to know
    When editing the Mixpanel integration, the webhook URL will appear again. However, in that case, you won't need to copy it and will just need to click on Finish.
  3. On your Mixpanel account, click on the Data Management menu.
  4. Select Integrations.
    2022-01-27_09-40-23.png
  5. Scroll down and select Custom Webhook.
  6. Click on + Add Connection to add a new webhook connection.
    mceclip2.png
  7. Give a name to your webhook connection and paste the webhook URL copied earlier.
  8. Click on Continue to activate your new webhook connection.
    mceclip3.png

Sync users within a cohort to your new webhook connection

To sync the users within a cohort to your new webhook connection:

  1. On your Mixpanel account, click on the Data Management menu.
  2. Select Cohorts.
    mceclip5.png
  3. Click the three dots menu next to the cohort you want to sync and select Export to > Custom Webhook (Name of your new webhook connection).
    mceclip6.png
  4. Select Recurring sync.
  5. Click on Begin Sync.
    mceclip7.png

Your custom webhook will be updated. Then, every hour, it will be updated again with the most current set of users exported from the cohort.

FAQs: API limitations

How many contacts can be initially imported?

20,000 contacts can be initially imported.

How long does it take to import 1,000 contacts?

1,000 can be imported as soon as the integration is created and Mixpanel sends the first webhook payload.

How long does it take to import 10,000 contacts?

10,000 contacts can be imported in the first hour after creating the integration.

How many contacts can be synced within 1 hour?

If the syncs are 30 minutes apart, then 2,000 contacts can be synced in 1 hour.

How many contacts can be synced within 1 hour through bulk creation?

2,000 contacts can be synced within 1 hour through bulk creation.

How many contacts can be synced within 1 hour through single creation?

47 contacts can be synced within 1 hour through single creation.

🤔 Have a question?

If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.