1 Sep 2025: More modular Journeys

Ricardo Updated by Ricardo

When building complex conversational experiences, it's common to break complex flows into smaller, reusable pieces. We're introducing a helpful new feature that makes this modular approach more practical: Parent/Child Context Passing.

How Parent/Child Context Passing Works

Now when a journey launches another journey, it shares its variables with that child journey. When the child journey completes, it passes its variables back to the parent. This enables you to build modular and reusable journeys, without having to resort to hacks like storing temporary information in profile fields.

Here's an example:

  • Journey A had 2 variables: name and birthday.
  • When it starts Journey B, both variables get automatically passed and can be accessed by Journey B by adding parent. before their name, like parent.name and parent.birthday respectively.
  • Now, during Journey B's process, it created 2 variables: consult_date and consult_time.
  • When it ends the user is back in Journey A, both of those can be accessed by adding child. before their name, like child.consult_date and child.consult_time.

You don't have to worry about any of this, we automatically do all of this in the background for you. It just magically works.

Practical Applications

This feature helps you structure journeys in several useful ways:

  • Reusable Components: Build components that can be used across multiple journeys. For example, create a payment processing journey once, then call it from any parent journey that needs payment functionality. The parent provides the amount and customer details; the child returns the transaction status and receipt.
  • Cleaner, smaller journeys: instead of one big journey with everything, that's hard to navigate and maintain, you can break your journeys down into smaller, reusable pieces easily that are easier to manage.
  • Easier Testing: Isolate complex logic in child journeys that can be tested independently, then integrate them into parent flows. When you update a child journey, all parent journeys using it benefit from the changes.

Moving Forward

Parent/child context passing helps you build journey systems that are both capable and maintainable. Complex flows become combinations of simpler, testable parts.

This feature opens up new patterns for journey design. We're looking forward to seeing how you use it to create more modular conversational experiences.

You can learn more about this feature in our developer docs.

Was this article helpful?

5 Sep 2025: Interrupting triggers

29 Aug 2025: Wait for it...

Contact