Expand my Community achievements bar.

SOLVED

Most recent event as segment rule

Avatar

Level 5

Hi there,

 

We have an event that tracks if Two-Factor-Authentication status is toggled on/off. Given this is an event, an example of the data for a profile could look something like this:

 

event_1 = On , timestamp 10:01AM

event_1 = Off, timestamp 10:02AM

event_1 = On, timestamp 10:03AM

 

Is there a way in segment builder, where we can tell the segment to only look for the latest event data and the profile would fall under Two-Factor-Authentication = On?

Thank you

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi @akwankl 

It's not possible out of the box.

You could create a journey or use Real-time Customer Data Platform (RTCDP) capabilities to update a profile attribute based on the Two-Factor-Authentication event. Essentially, every time the Two-Factor-Authentication event is triggered, it updates a field on the user's profile to indicate their current Two-Factor-Authentication status (either "On" or "Off").

This way, even though the event itself is being triggered multiple times, the user's profile will always reflect the most recent status. Then you can create a segment based on this updated profile attribute.

Here's a high-level outline of how you might set this up:

1. Create a new attribute in your XDM schema to hold the Two-Factor-Authentication status.

2. Set up a journey or RTCDP process that updates this attribute each time a Two-Factor-Authentication event is triggered. The new attribute should reflect whether Two-Factor-Authentication is currently "On" or "Off".

3. Use this new attribute as the basis for your segment in Segment Builder.

It's a workaround and you can try it your way as well - just like a pointer on how you can approach it - hope this solves your problem.

Thanks

Madhan

View solution in original post

3 Replies

Avatar

Community Advisor

Hello @akwankl 

 

I don't see a way to sort the events.

 

But you can create a journey with this event and update the profile attribute to flag if the 2 factor is on or off.

Then use this attribute to create a segment.


     Manoj
     Find me on LinkedIn

Avatar

Correct answer by
Level 5

Hi @akwankl 

It's not possible out of the box.

You could create a journey or use Real-time Customer Data Platform (RTCDP) capabilities to update a profile attribute based on the Two-Factor-Authentication event. Essentially, every time the Two-Factor-Authentication event is triggered, it updates a field on the user's profile to indicate their current Two-Factor-Authentication status (either "On" or "Off").

This way, even though the event itself is being triggered multiple times, the user's profile will always reflect the most recent status. Then you can create a segment based on this updated profile attribute.

Here's a high-level outline of how you might set this up:

1. Create a new attribute in your XDM schema to hold the Two-Factor-Authentication status.

2. Set up a journey or RTCDP process that updates this attribute each time a Two-Factor-Authentication event is triggered. The new attribute should reflect whether Two-Factor-Authentication is currently "On" or "Off".

3. Use this new attribute as the basis for your segment in Segment Builder.

It's a workaround and you can try it your way as well - just like a pointer on how you can approach it - hope this solves your problem.

Thanks

Madhan