Workflow

Execute a child workflow and map parent variables into its input schema

The Workflow block executes another (child) workflow from within the current (parent) workflow. It reads the child workflow's Input Form Trigger schema and presents a mapping UI so you can pass parent variables into the child's expected inputs. This is the primary mechanism for modularizing complex automations into reusable sub-workflows.

Overview

Select a child workflow: Pick any workflow in your workspace (except the current one)

Map inputs: The block reads the child's Input Form Trigger and shows each expected field. Map parent variables or hardcode values for each one.

Execute: The child workflow runs to completion with the mapped inputs

Return results: The child's final output is returned to the parent as the block's result output

How It Works

The child workflow must use an Input Form Trigger as its start block. That trigger defines the input schema (field names, types, and descriptions). When you select the child workflow in this block, the Input Mapping UI dynamically renders those fields so you can wire them up.

At runtime the block:

  1. Resolves all mapped values from the parent workflow's current state.
  2. Invokes the child workflow's executor, passing the resolved inputs.
  3. Waits for the child to finish.
  4. Returns success, childWorkflowName, and the full result from the child execution.

The dropdown only shows workflows in your workspace that are different from the current one. You cannot call a workflow recursively.

Configuration

Select Workflow*
Select...
Input Mapping
Input Mapping
Map fields defined in the child workflow's Input Trigger to variables/values in this workflow.

Fields

FieldRequiredDescription
Select WorkflowYesThe child workflow to execute. Must have an Input Form Trigger.
Input Mapping--Dynamic mapping of parent values to the child's trigger schema. Appears after you select a workflow.

Outputs

OutputTypeDescription
successbooleanWhether the child workflow completed successfully
childWorkflowNamestringName of the executed child workflow
resultjsonThe full execution result from the child workflow
errorstringError message if the child workflow failed

Best Practices

  • Design child workflows with clear Input Form Triggers -- name fields descriptively so the mapping UI is easy to use in the parent.
  • Keep child workflows focused -- a child workflow should do one thing well, making it reusable across multiple parents.
  • Check the success output -- use a Condition block after the Workflow block to handle failures gracefully.