Skip to main content
Start a Flow
Updated over 6 months ago

In Journeys, you can trigger one flow from another, using Start a Flow block.

When the primary flow gets triggered , it in turns triggers the secondary flow added under the Start a Flow block.


Starting another Flow Inside a Flow:

To start a flow within another flow, follow these steps:

1. Open the Primary Flow:

  • Navigate to the flow where you want to start another flow.

2. Locate the 'Start Flow' Block:

  • Look for the 'Start Flow' option in the flow editor.

3. Add the Start Flow Block:

  • Click on the 'Start Flow' block to select any flow.

4. Select a Flow to Start:

  • Click on 'Start a Flow' and choose the flow you want to trigger from the list.

  • Once selected, click 'Done'.


Adding a Payload:

When you need to pass variables from the current flow to the triggered flow via start a flow block, you can use a payload. This allows for a seamless transfer of data between flows.

  1. Add a Payload to the 'Start Flow' Block:

    • Click on the 'Payload' field to add variables that should be transferred to the triggered flow.

    • Variables should be formatted as key-value pairs inside curly brackets ({}). The key represents the variable name, and the value represents the corresponding data.

    • Use a comma to separate multiple key-value pairs.

2. Using Variables in the Payload:

  • Variables added to the payload will appear under the 'Payload Variables' section in the triggered flow's variable list, allowing you to use them as needed.

  • You can add variable references to the values by clicking 'Add Variable'.

  • This is useful when you want to reference dynamic data from the primary flow.


FAQs

1 Can I start multiple flows within one flow?

Yes, you can design the flow such that multiple 'Start Flow' blocks gets added. But one block can accommodate only one flow.

2 What happens to the variables in the payload after the new flow is started?

Variables in the payload are transferred to the triggered flow and can be accessed through the 'Payload Variables' section.

3 Can I use dynamic variables in my payload?

Yes, you can reference dynamic variables in your payload. When setting up the payload, use the 'Add Variable' button to select from available variables within your current flow.

4 What is a payload, and why do I need it?

A payload allows you to transfer data from one flow to another when you use the 'Start Flow' block. This can be useful when you need to pass specific information, like variable values, from the current flow to the new one.


For further assistance or to raise feature requests related to Start a Flow, please contact [email protected].

Did this answer your question?