Custom Template
- Log into your SendGrid account
- Navigate to Email API > Dynamic Templates
- Click “Create a Dynamic Template” and name your template “Annual Renewal Notice” > Create
- Select your newly created Dynamic Template in the list and click “Add Version” > select the “Blank Template” and then “Design Editor”
- You can now build your email in the Editor.
- Add a Subject and a Preheader to your email.
- You will likely want to add your logo as the header and write up a custom message to your users.
- The default template below is a helpful reference for key information to include for your subscribers (renewal date along with how users can modify their subscription).
- There are a few variables you can insert into your email template to dynamically load information for the specific user as well as to include custom messaging for users who subscribe to certain products. (see “Variables & Conditionals” below for more information)
- Add a Subject and a Preheader to your email.
- You will likely want to add your logo as the header and write up a custom message to your users.
- The default template below is a helpful reference for key information to include for your subscribers (renewal date along with how users can modify their subscription).
- There are a few variables you can insert into your email template to dynamically load information for the specific user as well as to include custom messaging for users who subscribe to certain products. (see “Variables & Conditionals” below for more information)
- Once you have created your template, contact the Lede team by filing a support ticket for the final setup step.
- If you need to make changes to your template, you can do so at any time and no further intervention from the Lede team is required as long as you do not create a brand new template in SendGrid.
- If you want to create a completely new version of the template while preserving the existing version for future use, you can add a new version to the existing template. Only one version can be active at a time.
- Select your Annual Renewal Notice template from the Dynamic Templates list in SendGrid > Add Version > select the “Blank Template” and then “Design Editor”.
- Add a Version Name and build your email as described above.
- Once your new email is ready, select the Annual Renewal Notice template from the Dynamic Templates list in SendGrid again > click the three vertical dots next to the new version and select “Make Active”.
- If you need to make changes to your template, you can do so at any time and no further intervention from the Lede team is required as long as you do not create a brand new template in SendGrid.
- If you want to create a completely new version of the template while preserving the existing version for future use, you can add a new version to the existing template. Only one version can be active at a time.
- Select your Annual Renewal Notice template from the Dynamic Templates list in SendGrid > Add Version > select the “Blank Template” and then “Design Editor”.
- Add a Version Name and build your email as described above.
- Once your new email is ready, select the Annual Renewal Notice template from the Dynamic Templates list in SendGrid again > click the three vertical dots next to the new version and select “Make Active”.
- Select your Annual Renewal Notice template from the Dynamic Templates list in SendGrid > Add Version > select the “Blank Template” and then “Design Editor”.
- Add a Version Name and build your email as described above.
- Once your new email is ready, select the Annual Renewal Notice template from the Dynamic Templates list in SendGrid again > click the three vertical dots next to the new version and select “Make Active”.
Variables & Conditionals
In addition to being able to customize the renewal email to better represent your site’s offerings, you can further personalize the emails for your users, including their renewal date and what product they are subscribed to. These variables (besides URL) can also be added to the subject of the email.
| Value | Variable to use |
| Renewal/Expiration Date of Current Subscription | {{{expiration}}} |
| My Account Page URL on your site | {{{accountUrl}}} |
| Product Name | {{{productDisplayName}}} |
| Product Group Name (Note: not all publishers have Product Groups) | {{{productGroupDisplayName}}} |
Furthermore, you can add conditional text for all users subscribed to a particular product. For example,
- {{#equals productDisplayName “ABC Product”}}This is special copy just for users who are subscribed to ABC Product.{{/equals}}
- {{#notEquals productGroupDisplayName “Product Group XYZ”}}This is special copy for all users who are not subscribed to any products in Product Group XYZ.{{/notEquals}}
You can also add conditional images for all users subscribed to a particular product. To do this:
- Insert a Text Module with “{{#equals productDisplayName “ABC Product”}}”, followed by an Image module with your desired image, followed by another text module with “{{/equals}}”
In the examples above, replace "ABC Product" or "Product Group YYZ" with the exact name of your product or product group. If you are unsure, please contact the Lede team.
Subscribers Without a Payment Method
If an annual subscriber has no payment method on file, their subscription can’t renew automatically, so Lede sends them a different renewal email asking them to add one from their account page. You can customize this email too: create a second Dynamic Template in SendGrid (for example, “Annual Renewal Notice — No Payment Method”) following the same steps as above, then file a support ticket so the Lede team can connect it.
This template receives the same variables and supports the same conditionals as the regular renewal email. Make sure it links readers to {{{accountUrl}}} so they can add a payment method.
If you don’t create a custom template for this email, these subscribers receive the default template below with its second paragraph replaced by: Your annual subscription to {publisherName} will renew on {expirationDate}. We don’t have a payment method on file for your subscription. To renew, please add one to your account before then here: {url}.
Complimentary subscriptions and subscriptions billed by invoice always receive the regular renewal email.
Default Template
If you do not create a custom email for this, a default template is sent to your subscribers. The text of that email can be seen below.