Solved

Creating a timestamp

  • 6 April 2022
  • 1 reply
  • 90 views

  • Anonymous
  • 0 replies

Hello!

I am trying to create a new attribute or event that records a timestamp of when a person enters a segment.

I want to be able to calculate/display dates based off an action.

i.g. When a user is mailed, I would like to timestamp that date as DATE0 (either with a new attribute or event). Then in another campaign, I would like to be able to target DATE0 and say, if DATE0 is more than/less than X days from now/ago.

Is this possible to set up? If needed, I can set up a call as well.

Thank you!

icon

Best answer by Anonymous 6 April 2022, 09:37

View original

1 reply

Hey Elena,

Thank you for your email and I hope my response finds you well today. 

Diving straight into your questions here, it's absolutely possible to set up what you're looking for and I am happy to walk you through the steps. 

To create a new attribute or event that records a timestamp of when a person enters a segment:

1) Create a campaign that uses this segment as a trigger

2) Use the "Create or Update Person" action to create/update the timestamp attribute using Liquid

Screen-Shot-2022-03-03-at-11-04-10-AM.png

Screen-Shot-2022-03-03-at-11-08-42-AM.png

In my example above, I used the "now" Liquid tag with a date formatter so that the timestamp of when a person enters the segment can be stored as an attribute in the UNIX format. 

3) You can also update this attribute after a person has been sent an email (or at any point) in the campaign workflow, absolutely! 

In your separate campaign, to target this group of people who has the timestamp (DATE0) and the condition of 5 days ago, there are two options:
 

  • Create a data-driven segment of people with this condition to use as the new campaign trigger. The conditions to build this segment might look something like this:

Screen-Shot-2022-03-03-at-11-27-22-AM.png

OR

  • Within the campaign workflow, you can also target a specific segment of people and use a true/false or multi-split branch action to determine the next action for the people who match the DATE0+conditions you specify:

Screen-Shot-2022-03-03-at-11-30-25-AM.png

Hope this helps to start you off in building out your segments and campaigns. If any further questions come up along the way, please feel free to reach out and we'd be happy to help. :)

Reply