header
Question

Displaying a timer in an engagement

  • 19 April 2020
  • 1 reply
  • 75 views

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

Userlevel 5
Badge

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

Reply