Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Email linked to particular Journey

Avatar

Level 2

Hi,

 

I would like to create a segment for users who have received the email linked to particular journey.

What attributes are needed? What dataset are they in?

 

thank you very much.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@user36079 

The below query gives the number of distinct profiles that entered the given journey in the given time frame.

SELECT count(distinct _experience.journeyOrchestration.stepEvents.profileID)
FROM journey_step_events WHERE _experience.journeyOrchestration.stepEvents.journeyVersionID = '<journeyVersionID>'
AND _experience.journeyOrchestration.stepEvents.nodeType='start'
AND _experience.journeyOrchestration.stepEvents.instanceType = 'unitary'
AND DATE(timestamp) > (now() - interval '<last x hours>' hour);

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@user36079 

The below query gives the number of distinct profiles that entered the given journey in the given time frame.

SELECT count(distinct _experience.journeyOrchestration.stepEvents.profileID)
FROM journey_step_events WHERE _experience.journeyOrchestration.stepEvents.journeyVersionID = '<journeyVersionID>'
AND _experience.journeyOrchestration.stepEvents.nodeType='start'
AND _experience.journeyOrchestration.stepEvents.instanceType = 'unitary'
AND DATE(timestamp) > (now() - interval '<last x hours>' hour);