Is there a way to dynamically pull in the coupon expiration date into a email in a Flow. I am generating the coupons at time of send and using {% coupon_code 'NAME_OF_YOUR_COUPON' %} in the initial email and also the reminders. I would like to put a date in the email showing the expiration date.
I have tried {% expiration_date 'NAME_OF_YOUR_COUPON' %} with no luck.
Thanks
Flow Coupon Expiration Date Dynamic Tag
Best answer by David To
Hello
Thanks for sharing your question with the Klaviyo Community!
Although it is not possible to dynamically pull in the coupon’s expiration date, you can get around this by dynamically calculate and display the expiration date of the coupon in your email! You can do so by using the {% today '%Y-%m-%d' as today %} {{ today|days_later:7 }} variables as
I would also suggest taking a look at the How to Format Date Variables in Templates Help Center article to learn more about formatting dates within a template.
Thanks for being a part of the Klaviyo Community!
David
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

