0
Completed

Re-generating countdown timers for triggered/automated emails

Jim Maddock 10 years ago updated by MotionMail Team 9 years ago 5
Is it possible or on the road map to create a re-generating countdown timer, in the case of an automated win-back email campaign.

For example:
Every day your freshly lapsed customers receive a win-back email with a 72 hour countdown to use their 10% discount code

At the moment it's not possible without generating a new timer manually each time, and inserting it into the email.
Under review
Hi Jim,

With our API you can add an end date time token to your embed code, which allows you to reuse the same timer with a personalized count down. It depends on the flexibility of the system you're using to send out these emails if it can be integrated with the MotionMail API. For more info on the API and an example check out the last question on our FAQ: https://motionmailapp.com/dashboard#/faq

Feel free to contact me if you have additional questions on how to get this set up!
Hi team,

From the example API call, I don't understand how it will produce a new date 'x' time in future each time, because in the example you have to set a date and time. So if I want a 24 hour count time to be produced from the moment a token is produced, what would the datetime variable I pass through to the API be?

Thanks very much.
Hi Jim,

Currently the API only works with specific end date times as inputs. This can be added to the timer URL as a token (as shown in the example) or as plain text date. This option only works if you have a way to pass an end date time specific to a customer into your email template.

In the future, we'd like to add a way to insert a duration. So for example, you'd be able to indicate a certain date (today's date) + 24 hours as the end date. The embed code would look something like this: <img src="...?endDateTimeToken=cjyCXDJBz73MDKo%2b6vGYlNLrBDfu9miZmshGelMycRs%3d?hours=24" /> Most email marketing services, such as MailChimp, provide a way to insert today's date into your template.

Would such a solution fit your requirements?
Hi Paul,

Many thanks for your response, and great news! I will discuss with our ESP if we can make this happen.

Cheers,
Jim