Contents

Input

input · Nodes · Input Output · Trigger

Defines the workflow input surface.

Input#

The start node of a workflow that another caller runs and hands a value to. It outputs exactly the value the invocation supplies.

When to Use#

  • Subworkflow child — the parameter half of the Subworkflow contract: the Subworkflow step's input arrives here
  • Panel calls — a panel's verdalia.api.executeWorkflow({ input }) arrives here; with several Input nodes, the call names one with startNode
  • API and agent runs — the input of an execute_workflow run arrives here

Use Test Node for a fixed sample value while building a workflow, and Tool Input for a workflow called as a tool.

How It Works#

  1. A caller starts the workflow at this node and supplies a value
  2. The node emits that value on output, unchanged
  3. An invocation that supplies no value, such as a run started from the editor, emits {}

Configuration#

  • description — what this input represents, for readers of the workflow

Inputs#

None. The value is delivered by the invocation, not by an edge.

Outputs#

  • output — the value the invocation supplied, or {} when it supplied none

Wiring Pattern#

[Input] → [Do the work] → [Set Workflow Output]

Usage Example#

{
  "id": "input",
  "node": {
    "input": {
      "description": "The lamp to toggle: { id }"
    }
  }
}

Called from a panel with input: { "id": "lamp-4" }, this node emits {"id": "lamp-4"} on output. Run from the editor, it emits {}.

  • Subworkflow — runs this workflow as a step and passes its input here
  • Set Workflow Output — what the caller receives back
  • Test Node — a start node that emits a fixed JSON value
  • Tool Input — the start node for a workflow called as a tool

Inputs

None.

Outputs

  • output

Configuration

FieldTypeRequiredDescription
descriptionstringYesOptional description for documentation
base_configrecordNoShared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow).