Flow jump node

Updated at:

This document describes how to configure a Flow Jump node and provides an example of its use.

Overview

A Flow Jump node is a special node in a main flow. When a process reaches this node, it jumps to a specified target node in the same or a different flow to continue execution. This allows you to create reusable and modular workflows.

Core benefits:

Challenge

Without a Flow Jump

With a Flow Jump

Redundant work

The same service logic must be rebuilt in each separate flow.

Build the logic once and reuse it across multiple flows.

Complex flows

All branches are fully expanded, leading to complex flows that are difficult to maintain.

Common paths are consolidated, resulting in simpler and cleaner flows.

High maintenance cost

Changes to common logic require updates in every flow where it is used.

Update the logic in one place to apply the changes everywhere.

Instructions

1. Node placement

A Flow Jump node must be the final step in a flow. Upon execution, the flow jumps to the specified target node in the target flow. This is a one-way jump; the process does not automatically return to the original flow. To return, you must configure another Flow Jump node at the end of the target flow to jump back to the original one.

2. Flow jump node configuration

At the end of your flow, add and configure the Flow Jump node.

  • Node Name: Enter a name to identify the node's purpose.

  • Select Target Flow: Choose the flow to jump to.

  • Select Target Node: Choose the node in the target flow where the process will resume.

image

Application example

Scenario: An information query bot returns the user to the main government services menu after completing a specific inquiry, such as for a housing fund.

image

Procedure

  1. Create a new flow and open it in the Flow Canvas.

  2. Add an intent edge that triggers this flow.

Housing fund query.
  1. Add a Bot Reply node that asks the user for their housing fund account number.

See Bot Reply node for configuration instructions.
  1. Add an Invoke Plug-in node.

See Invoke Plug-in node for configuration instructions.

image

  1. After the query is complete, add a Flow Jump node to return to the main government services inquiry flow.

image

  1. After completing the configuration, click AI Check/Test to validate the flow.

Result

image