How to send welcome discount with SendGrid?

SendGrid has a Marketing module which you can use to send an automated welcome email to your new subscribers.

Make sure that your signup form or popup is adding subscribers to your contact list in SendGrid.

Create a discount automation in Personal Discount selecting "Other" as email marketing provider and "Welcome new subscribers" as campaign type.

Copy the code snippet that you can find at the bottom of the settings page in Personal Discount.

Edit your email template in SendGrid and add a Code block.

Paste the code snippet you copied from Personal Discount.

Click on Update, and as a result you should see a discount code in your email template.

Save the email template, navigate back to your automation settings and click on Set Live to activate the flow.

You can test if it works by manually adding a contact to your list.

Some email clients don't show images by default. A recipient has to enable images to see the discount code.

After enabling images in the received welcome email you can see the discount code:

Last updated