> For the complete documentation index, see [llms.txt](https://docs.personaldiscount.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.personaldiscount.io/discounteo-for-shopify/integrate-discounteo-with-your-email-service-provider/orderlyemails.md).

# OrderlyEmails

How to integrate Discounteo with OrderlyEmails?

The [OrderlyEmails](https://apps.shopify.com/email-templates) app from [FORSBERG+two](https://www.forsbergplustwo.com/) is a great way to create beautiful email templates for your store notifications. You can easily design email templates that match your brand and improve conversion.

To include a unique discount in your OrderlyEmails designs, follow the below steps:

**1-** Login to the Discounteo app (Shopify admin -> Apps -> Discounteo)

**2-** In the **Email Service Provider** menu, click on **OrderlyEmails**

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FeJ1Mt5bQdDhDdhwxxqnW%2Forderlyemails-email-service-provider.png?alt=media&amp;token=a1b6a5bf-3dcb-4075-a0b2-d67c3b82788a" alt=""><figcaption></figcaption></figure>

**3-** In the Campaign Type menu, click on the email type you would like to add the discount to. The available options are:

* Welcome new accounts -> Include in the Customer welcome email in OrderlyEmails
* Recover abandoned carts -> Include in the Abandoned checkout email in OrderlyEmails
* Follow up on purchases -> Include in the Order confirmation email in OrderlyEmails

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FnOGRpcqYDEbjsUYtGHuO%2Forderlyemails-campaign-type.png?alt=media&amp;token=1781bff4-f242-420a-b594-beabc20a02b8" alt=""><figcaption></figcaption></figure>

**4-** Fill out the discount details, save your changes, then copy the Discount link at the bottom of the page.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2F14prPokdrOjtddfu4k0c%2Forderlyemails-discount-settings.png?alt=media&amp;token=037ce7d0-80ab-488c-ac9d-50fb41198137" alt=""><figcaption></figcaption></figure>

**5-** If you have not done it already, install the OrderlyEmails app from the Shopify App Store: <https://apps.shopify.com/email-templates>

**6-** Login to the OrderlyEmails app (Shopify admin -> Apps -> OrderlyEmails)

**7-** Click the **Customize** button on your email design

**8-** Select the email type that you would like to add the Discounteo to, that matches the Campaign Type you chose earlier:

* Welcome new accounts -> Include in the Customer welcome email in OrderlyEmails
* Recover abandoned carts -> Include in the Abandoned checkout email in OrderlyEmails
* Follow up on purchases -> Include in the Order confirmation email in OrderlyEmails

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FIPIgZ5gDnIluXeAEIxKl%2Forderlyemails-email-type.png?alt=media&amp;token=535a8613-e349-419f-93e1-e9b90d622922" alt=""><figcaption></figcaption></figure>

**9-** Click the Add section button, then select the Personal discount section and click Add

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2Fx9XzUKDTyOhliDs98ot7%2Forderlyemails-add-section.png?alt=media&amp;token=178982b7-1d0a-40a5-b2c8-2bc3a3e2f590" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FP8zMfwH1JzbFtvJ2cyvs%2Forderlyemails-add-personal-discount-section.png?alt=media&amp;token=23675cdc-7660-4be9-a401-fe9ad9ab0652" alt=""><figcaption></figcaption></figure>

**10-** In the Personal discount sections settings, paste the discount link you copied earlier, into the **Discount link code** field

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FhZuetkq692UP9FADr68k%2Forderlyemails-discount-link-code.png?alt=media&amp;token=660cb8c3-af67-4914-a331-4e11721f64a9" alt=""><figcaption></figcaption></figure>

**11-** You can also customize the wording and button text to match the offer you setup in the Discounteo app.

Note: You can also move the position of the section in your email, by dragging the section in the list of sections of the email.

**12-** If you have already purchased your email theme, make sure to click the **Export to Shopify** button and follow the instructions to update the email in Shopify.

Done! Your email design will now automatically include the correct link and image based on the Discounteo app.

&#x20;

Written by Bjorn Forsberg, edited by Lukasz Wiktor
