Order of operations for journey starting events

When a journey starts, what action tree runs to completion first, the journey started action tree or the journey starting event (app api, inbound sms, weblink, or inbound phone)?

2 Likes

Hi @Drew, when a journey starts, the Journey started event will start first and after the journey started event, will the App API event run. This is the case for all apps, where the action tree on the journey started event will be the first event to run.

In the screenshots below I show the state viewer when you open up App preview, and it will show the sequence of events and states that your app progresses through. In the simple app I have of making a request to an API, I see that session.bar (a test variable I set) will actually get set before any of my actions get run on my app api.

Does that answer your question?

Yes, that address the question. Thanks!