# Sendinblue

With Sendinblue, you can send personalized email campaigns, trigger transactional messages, chase cart abandoners, and target customers based on their purchases.

## Destination Info

* Accepts [Page](https://documentation.freshpaint.io/developer-docs/freshpaint-sdk-reference#page), [Track](https://documentation.freshpaint.io/developer-docs/freshpaint-sdk-reference#track), and [Identify](https://documentation.freshpaint.io/developer-docs/freshpaint-sdk-reference#identify) calls
* Supports [HIPAA mode](https://documentation.freshpaint.io/hipaa-mode)
* Connection Modes:

<table><thead><tr><th width="100" align="right"> </th><th data-type="checkbox">Client-side</th><th data-type="checkbox">Server-side</th></tr></thead><tbody><tr><td align="right">Web</td><td>true</td><td>true</td></tr><tr><td align="right">Mobile</td><td>false</td><td>true</td></tr><tr><td align="right">Server</td><td>false</td><td>true</td></tr></tbody></table>

## Getting Started <a href="#in-iterable" id="in-iterable"></a>

### How to set up Sendinblue in Freshpaint

1. Navigate to **Destinations > Overview** and find Sendinblue in the list. Click **Details.** &#x20;

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

2. Paste your Sendinblue Client Key in the Client Key box, and click **Save**. You can find your Client Key by going to Automation > Settings. Choose the JS Tracker option and scroll down to find the client\_key value in the script.&#x20;

<figure><img src="/files/1iEiBcm5kr6Uenfb69S5" alt=""><figcaption></figcaption></figure>

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

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

3. [Enable](https://documentation.freshpaint.io/readme/setting-up-your-destinations/enabling-and-disabling-a-destination) the destination. You'll also need to enable events that you'd like to send to this destination.&#x20;

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

{% hint style="info" %}
Sendinblue does not accept anonymous events. You'll need to [identify](https://documentation.freshpaint.io/readme/setting-up-identify) your users in order to start sending events to Sendinblue.
{% endhint %}

## Identify

When you call [freshpaint.identify()](https://www.freshpaint.io/developer-docs/freshpaint-sdk-reference#identify), Freshpaint will create or update a Contact profile in Sendinblue by hitting Sendinblue's [Identify API endpoint](https://tracker-doc.sendinblue.com/reference/identifyuser-1) at: [\
https://in-automate.sendinblue.com/api/v2/identify](<&#xA;https://in-automate.sendinblue.com/api/v2/identify>). Here is an example of an identify call:

```
freshpaint.identify("userid123", {
    "email": "<email>"
});
```

{% hint style="warning" %}
You must include an `email` property in your identify call to this destination
{% endhint %}

You can find identified users from the [contact lookup page](https://app.sendinblue.com/contact/list) in Sendinblue.&#x20;

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

When Freshpaint receives new user property data, it will update the contact properties for the corresponding user profile in Sendinblue.&#x20;

{% hint style="info" %}
In order to send emails to a user in Sendinblue, you must first send an identify call with the `email` property.
{% endhint %}

## Events <a href="#using-the-iterable-freshpaint-integration" id="using-the-iterable-freshpaint-integration"></a>

When you send an event to Sendinblue from Freshpaint, Freshpaint will create an event and attach it to the matching user's profile. It does so by sending a POST request to Sendinblue's [Track Event ](https://tracker-doc.sendinblue.com/reference/trackevent-3)endpoint at:[ ](<&#xA;https://in-automate.sendinblue.com/api/v2/trackEvent>)[https://in-automate.sendinblue.com/api/v2/trackEvent](<&#xA;https://in-automate.sendinblue.com/api/v2/trackEvent>).

{% hint style="info" %}
Users need to first be identified before events can be associated with their user record, as Sendinblue doesn't support anonymous users. Freshpaint events for anonymous users will not be sent to Sendinblue.

[Learn more](https://help.sendinblue.com/hc/en-us/articles/8490441637778-About-anonymous-contacts#:~:text=Anonymous%20Push%20contacts%20are%20visitors,them%20in%20any%20Sendinblue%20feature.) about anonymous users in Sendinblue.
{% endhint %}

You can view all your events in the [events log](https://automation.sendinblue.com/log/events) under "Automation":&#x20;

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

{% hint style="warning" %}
You must include the `email` property with every event or Sendinblue will reject the request.
{% endhint %}

### Page Views

When Freshpaint receives new page views, it will update the "Visted web pages" section for the corresponding user profile in Sendinblue.&#x20;

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

## Configuration Options <a href="#using-the-iterable-freshpaint-integration" id="using-the-iterable-freshpaint-integration"></a>

### Connection Modes

Both server-side and client-side connection modes are available for this destination. You can read more about connection modes [here](https://documentation.freshpaint.io/faqs/what-is-the-difference-between-client-side-and-server-side-connection-mode).

#### Client-Side Connection Mode

Events originating from the user's web browser will be sent directly to Vero. Events from other sources, including mobile and server, will be sent first to Freshpaint's servers and then on to Vero.

#### Server-Side Connection Mode

All events will be sent to Sendinblue using Freshpaint's servers. Your website will not send data directly to Sendinblue. Instead, your website and all other sources will send data to Freshpaint, which is translated then sent to Sendinblue.  [Sources](https://app.freshpaint.io/sources) such as React Native, Android, and iOS send data server-side.

### Event Transformations

Set up transformations to modify your data before it's sent to your destination. Read more about transformations [here](https://documentation.freshpaint.io/data-management/transformations).

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


---

# 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://documentation.freshpaint.io/integrations/destinations/apps/sendinblue.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.
