Skip to main content

Execution Merger Node

The Execution Merger node combines multiple execution paths from different branches back into a single flow path. This node is essential for scenarios where multiple parallel branches need to converge before continuing to the next step, ensuring all branch executions are complete before proceeding.

Execution Merger node


Basic Usage

Use the Branch Start Node, Execution Merger, and other processing nodes for managing parallel execution paths that need to converge.


Inputs

The Execution Merger node accepts multiple inputs:

  • Multiple Input connections (left side, red dots): Each input represents a different execution path or branch that needs to be merged. The node waits for all connected branches to complete before continuing.

Outputs

  • Output (right side, red dot): A single unified execution path that continues after all input branches have completed.

Configuration

The Execution Merger node typically requires no configuration. It automatically detects and waits for all connected input branches to complete their execution before passing control to the next node.


Example Workflows

Vocabulary Practice with Dynamic Content

Scenario: Create an interactive vocabulary learning flow where learners select a topic, receive a personalized prompt with their chosen word, and see the final result after all processing is complete.

Execution Merger Example

Steps to Create the Flow:

  1. Start with the Start Node.

  2. Add and connect a Display Text node with welcome content:

    WELCOME TO VOCABULARY PRACTICE : Explore key space science words! From the bright Sun to the twinkling stars, learn about sky objects, their movements, and how they create day and night. In this lesson you will learn the following words.
    • Connect: Start Node output (red dot) → Display Text input (red dot)
  3. Add and connect a Show Button node with topic choices:

    i. Button 1: "Sun"

    ii. Button 2: "Moon"

    iii. Button 3: "Star"

    iv. Connect: Display Text output (red dot) → Show Button input (red dot)

  4. Add Branch Start Nodes for each button choice:

    Branch Start Node 1 (Sun path):

    • Connect: Show Button "Sun" output (blue dot) → Branch Start Node input (blue dot)

    Branch Start Node 2 (Moon path):

    • Connect: Show Button "Moon" output (blue dot) → Branch Start Node input (blue dot)

    Branch Start Node 3 (Star path):

    • Connect: Show Button "Star" output (blue dot) → Branch Start Node input (blue dot)
  5. Add Create Text Label nodes after each Branch Start Node:

    For Sun branch:

    i. Add a Create Text Label node with Label Name: "WORD"

    ii. Add a Text node with content: "Sun"

    iii. Connect: Text output (green dot) → Create Text Label input (green dot)

    iv. Connect: Branch Start Node output (red dot) → Create Text Label input (red dot)

    Repeat for Moon and Star branches with their respective words.

  6. Add an Execution Merger node:

    i. Connect: Create Text Label (Sun) output (red dot) → Execution Merger input (red dot)

    ii. Connect: Create Text Label (Moon) output (red dot) → Execution Merger input (red dot)

    iii. Connect: Create Text Label (Star) output (red dot) → Execution Merger input (red dot)

  7. Add a Text node with the essay prompt template:

    Create an essay using the word “{{{WORD}}}” for grade one students.
    • Connect: Text output (green dot) → Simple AI General Prompt Knowledge Reference input (green dot)
  8. Add a Simple AI General Prompt node:

    i. Process Type: GPT-4o-mini

    ii. Connect: Execution Merger output (red dot) → Simple AI General Prompt input (red dot)

    iii. Connect: Text prompt output (green dot) → Simple AI General Prompt Input (green dot)

  9. Add Display Text to show the AI-generated content:

    • Connect: Simple AI General Prompt output (red dot) → Display Text input (red dot)

Result: Learners select a vocabulary word (Sun, Moon, or Star), all branches are processed and merged, then an AI generates a personalized essay using their chosen word. The Execution Merger ensures that regardless of which button was clicked, the flow continues properly to the AI prompt generation and final display.