Start by navigating to your Shopify dashboard > Apps > Personal Discount > Add automation. Select Omnisend as your Email Service Provider and the Campaign Type is Follow up on purchases.

How to add Shopify Personal Discount post-purchase automation for Omnisend annotated animated

In this step, you can set up details of your automation like a discount value, usage limit, or expiration date. If you want to learn more, here is a useful article on configuring a discount.

Save the automation when you finish and copy the code snippet to the clipboard.

Copy Personal Discount code snippet for Omnisend post-purchase automation animated annotated

Now switch over to the Omnisend dashboard. Navigate to the Automation section > New workflow > Create custom workflow.

How to create custom workflow in Omnisend annotated animated

Let's set the automation trigger. Select trigger Order placed. Then hit Update.

How to set post-purchase automation trigger in Omnisend animated

In the next step, add an action that is performed when someone will enter the automation. We want to send an Email.

How to add sending message to an Omnisend automation

It's time for preparing an email template. In this step, you need to add the Personal Discount code snippet. To do this, click on Quick add from the left-hand sidebar, then drag and drop an HTML element into your template. Delete the existing example code snippet and paste the one from Personal Discount.

How to add Personal Discount code snippet into Omnisend email template animated

When your email template is ready, hit Finish editing. When the entire automation is ready, click on Start workflow.

How to activate Omnisend post-purchase workflow animated

From now on, when someone buys something in your store, they will get a discount code for their next purchase.

Omnisend post-purchase message with a Personal Discount code annotated