XeniaXenia Docs

Composition

PreviousNext

The node that runs another journey inside this one.

Composition is how shared logic lives in one place, and how a stretch of a journey repeats over a window.

Sub-Journey

Runs another journey as a step inside this one, either once or looping over a window. Use it when the same sequence is needed in several journeys, or when a nurture cadence should repeat.

Start by importing from an existing journey, then set the guards that stop it running away.

Configure

SettingWhat it does
JourneyWhich journey to run inside this one
Window durationHow long the embedded flow may run: an ISO 8601 duration, or always
Fire "Window expired" whenWhether the expiry output fires always, or only when the flow did not complete
Cooldown between spawnsThe least time before the same customer can enter again, as an ISO 8601 duration
Maximum spawns per customerThe most times one customer may enter. Left empty the platform still caps it, at 365 by default

Nothing is strictly required: the embedded flow is the connection drawn from the Sub-journey trigger output.

Outputs

OutputWhat it is for
Sub-journey triggerMust point at the trigger that starts the embedded flow
Iteration completedHow the parent journey continues after a pass finishes
Window expiredHow the parent journey continues when the window runs out

Watch out

  • The three outputs are not interchangeable. Only Sub-journey trigger points into the embedded flow; the other two are the parent journey's continuation.
  • The window duration bounds how long one pass may take. The cooldown and the maximum spawns are what stop a customer re-entering forever.
  • If the flow is used once, inlining the nodes is easier to read and to change.