How to send a unique discount code to customers who create an account?

Add a new automation in Personal Discount.

Select Shopify as your email provider.


Select Welcome new accounts as your campaign type.



Set up discount options and copy the code snippet.


Nagivate to Settings in your Shopify admin panel and the to Notifications:

Scroll down to Customer section and open Customer account welcome.

Find the following line:

<p>{{ email_body }}</p>

and paste the code snippet below:


Preview the email to check if the discount code appears in the right place.

Save the email template.

From now on, customers who create an account in your shop will receive a discount code for their next purchase.

Did this solve your problem?