Skip to main content
Question

Displaying a timer in an engagement

  • April 19, 2020
  • 1 reply
  • 110 views

Forum|alt.badge.img

Hi,

We are looking to add a timed-trial to our product (e.g. 30 days). Our idea was to display a daily(?) engagement to the user saying - “You have X days left on your trial account”. The question is - is there a way to display that (as a token?) in a dialog engagement based on the data in gainsight PX? Something which can calculate how long since the user logged in?

 

Thanks,

 

Yariv

 

1 reply

suryanarayana
Forum|alt.badge.img+2
  • Helper ⭐️
  • August 12, 2020

Hi,

Yes we can do this by following below steps:
1) we need to create a custom attribute of number data type "Trail Days Left" and populate data into this custom attribute via Rest API / Identify call.

2) we can use this field in Dialog Engagement as a token.

Please let me know if you are looking for something else