# Sendinblue

Follow the steps below to include unique discount codes in emails sent from Sendinblue.&#x20;

1\. Add a new automation in Personal Discount

2\. Select Sendinblue as email service provider

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FfyDJyMPB3R0wp98J0wcc%2Fshopify-sendinblue-campaign-personal-discount-code-animated.gif?alt=media&#x26;token=a0ef02fa-ddce-4b96-ae75-9a711ff63ed1" alt="Add Personal Discout Sendinblue automation animated"><figcaption><p>Add Personal Discout Sendinblue automation</p></figcaption></figure>

3\. Select the campaign type that you want to enhance with unique discount codes

* Welcome new subscribers
* Recover abandoned carts
* Follow up on purchases
* Happy Birthday
* Other

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FCWtcXY4HqtNSSjulx9Po%2Fpersonal-discount-sendinblue-campaign-type.png?alt=media&#x26;token=b8e49ef9-a01b-46e9-8d77-558b3ebe2812" alt=""><figcaption></figcaption></figure>

4\. Specify and save the discount settings

5\. Copy the code snippet at the bottom of the settings page

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FBNhkjLoVhxzZrZlEYs98%2Fpersonal-discount-for-shopify-code-snippet-solvenium.png?alt=media&#x26;token=c7436212-5cb6-4ed6-a5a6-82e839c65ef6" alt=""><figcaption></figcaption></figure>

6\. Switch over to Sendinblue, and navigate to Campaigns > Templates

7\. Open an existing template or create a new one

8\. Drag and drop an HTML element

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FTDY2RPaIFwic9FJasEA7%2Fpersonal-discount-shopify-sendinblue-html-element-solvenium.png?alt=media&#x26;token=b88b0ecf-7ecd-4133-9cc2-99afc62990bb" alt=""><figcaption></figcaption></figure>

9\. Remove the existing source code and paste code snippet copied from Personal Discount settings in point 5

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FwosQEPTSXqRQfNE9OGot%2Fpersonal-discount-for-shopify-sendinblue-code-snippet-solvenium.png?alt=media&#x26;token=d9c2ab2a-3d08-427a-aff0-55ed692c0f48" alt=""><figcaption></figcaption></figure>

10\. Click on any location highlighted in blue to confirm changes

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2F2WaB6gKOEtJG7DVS8T3j%2Fpersonal-discount-app-for-shopify-code-snippet-solvenium.png?alt=media&#x26;token=1c045715-e9da-4871-9b54-f1f81bd0429d" alt=""><figcaption></figcaption></figure>

Well done! Your email template includes now a unique discount code.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FcqZI9hh6OGzQhaZH5grG%2Fpersonal-discount-shopify-unique-discount-code-solvenium.png?alt=media&#x26;token=ea5f469b-728d-45a4-ad52-8027dc20b930" alt=""><figcaption></figcaption></figure>

The discount will be created individually for each recipient at the moment when they open the email. When a recipient clicks on the discount code then it will redirect them to your shop, and the discount will be automatically applied at checkout.
