Execute Workflow
Use this action when you want one workflow or agent action to run another workflow manually.
Best for
- Reusing a common workflow from multiple places
- Breaking a large automation into smaller reusable workflows
- Triggering a workflow only when a previous step decides it should run
Main fields
| Field | What it does |
|---|---|
| Workflow ID | Selects the workflow to run. It must have a manual or temporal trigger and be enabled |
| Args CEL Inputs Object | A CEL expression that must evaluate to an object. Each of its keys becomes a top-level CEL variable in the child workflow — reference it by bare name (e.g. title, not args.title), matching the child's input names |
What later steps can use
This action stores the child workflow execution result inside step(N).data. The most commonly used field is:
step(N).data.returnValue— the value the child workflow's Return expression evaluated to (absent if no return expression was set)
Other available fields:
step(N).data.ok—truewhen the child workflow completedstep(N).data.executed— number of steps executed in the childstep(N).data.occurrenceDate— execution timestampstep(N).data.returnError— present only when the child's return expression failed to evaluatestep(N).data.workflow— the workflow document that ran
Debug once with realistic inputs before referencing these in later steps.
Tips
- The selected workflow must have a
manualortemporaltrigger and be enabled, or this action throws at runtime ("Only workflows with trigger.type === 'manual'|'temporal' can be executed via this function" / "This workflow is disabled and cannot be executed manually"). - Name the child workflow's inputs to match the keys in the Args object so they map cleanly.