Sending a discount code to newsletter subscribers is an effective way to encourage customers to make their first purchase.
You can find the message under > Marketing > Messages > Add message > Automatic messages
Click Newsletter subscription and give the message a name (this won't be visible to customers). Finally, click the Create message button.
Alternatively, you can choose HTML code and add the message template using code.
Message subject
Add a clear and compelling subject line for the message. The subject should clearly indicate what the message is about.
You can also use tags to personalize the subject, for example by including the recipient’s first name.
Buiding the message
Build the message by clicking the Edit button.
In edit mode, you can add new columns and choose content within them, such as text, images, and buttons. You’ll also find options for colors, fonts, and other design settings.
Include the discount code you've created in the message content. In the discount code settings, you can choose "1 use per customer" so the code is valid for only one order per customer.
Click the Preview button to see what the message will look like for the customer.
Selecting recipients
By default, it’s recommended to select all customers without targeting.
However, you can also target the message to customers in specific customer groups or use audiences for targeting. When using audiences, the customer must belong to all selected audiences to be included as a recipient.
Delay
It may not be ideal to send the message immediately. You can schedule the sending delay to suit your store and target group.
Publishing
Activate the automated message by clicking the Publish button and confirming the publication one more time.
Related guides
About messages [LINK]