Skip to main content

Notifications FAQs

Q. Can I create different emails based on variables present in the Loop emails?

Yes. You can use conditional logic in email templates to show different content based on the value of a variable.

For example, you can use if, else if, and else conditions to create different email content based on {{subscription_total_price}}:

For example:

{{#if (gt subscription_total_price 100)}}

Your subscription total is more than $100.

{{else if (lt subscription_total_price 50)}}

Your subscription total is less than $50.

{{else}}

Your subscription total is between $50 and $100.

{{/if}}

In this example:

  • If subscription_total_price is greater than 100, the first message is shown.

  • If subscription_total_price is less than 50, the second message is shown.

  • For all other values, the message in the else condition is shown.

You can use this approach to customize your email content based on the value of supported variables.
​
​
​Q. If I change my Upcoming Order notification from 2 days to 5 days before billing, what happens to subscriptions that are currently 3 or 4 days away from billing?
Notifications for these subscriptions are not skipped. Even though their 5-day mark has already passed, Loop still sends them the Upcoming Order notification. A scheduled background job picks up these subscriptions and sends the notification, so your subscribers still get their heads-up before billing. Subscriptions more than 5 days away will receive their notification as normal, 5 days before billing.

Did this answer your question?