Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Unless

The unless block helper conditionally renders content based on the value of the expression. When the expression contains a false, null, undefined, or empty value (such as {} or []), the block helper renders the specified content. You can include an optional else tag as needed:

This example renders "Your order is ready" in applicable email messages and "Your order is not ready" for all email messages.