Workflow Input
Expose input schema/data for sub-workflows and generic executions.
About this Node
Defines the manual and sub-workflow entry point for a workflow diagram. When triggered from the Designer, API, or a parent Sub-Workflow node, every top-level key in the input JSON object becomes part of initial workflow state (`__initial__`) and automatically powers Designer variable suggestions for downstream nodes.
Ports & Branches
outPort 0Entry execution flow carrying initial workflow inputHow this Node Reads Data
| Input | Access | Field | Example | Description |
|---|---|---|---|---|
| Initial Run Payload | Payload | test_payload |
{ "prompt": "Summarize Q3 metrics", "region": "NA" } |
JSON object passed at run start (or `test_payload` when running directly in the Designer). |
State Keys Written (Outputs)
| Key Pattern | Type | Role | Description |
|---|---|---|---|
<payload keys> |
object |
Primary | Every top-level key in the input JSON object is stored in `__initial__` state and routed to downstream nodes via automatic or explicit Data Wires. |
Tips & Best Practices
- Every workflow needs at least one entry node (`IsEntry = true`); never wire an edge into a Workflow Input node.
- Keep `test_payload` valid JSON—invalid JSON falls back to an empty initial state dictionary during compilation.
Commonly Paired With
Settings Parameters (2)
Configuration schema synchronized with the workflow catalog
| Field | Type | Default | Allowed Options | Description |
|---|---|---|---|---|
test_payload |
string |
{
"prompt": "Hello from input!"
} |
— | Sample JSON payload used as initial_input in designer run |
description |
string |
— |
— | Optional human-readable label for this input |
Prompt + Metadata Entry Point
Seed a workflow with both a user prompt and structured metadata keys referenced downstream.
Node Configuration
{
"Id": "trigger_input_1",
"Type": "trigger_input",
"Config": {
"description": "Ticket triage input",
"test_payload": "{\n \u0022prompt\u0022: \u0022Customer cannot reset MFA token\u0022,\n \u0022customer_tier\u0022: \u0022enterprise\u0022\n}"
}
}Sample Input State
{
"prompt": "Customer cannot reset MFA token",
"customer_tier": "enterprise"
}Expected Output State
{
"prompt": "Customer cannot reset MFA token",
"customer_tier": "enterprise"
}Tip: Include all expected keys in `test_payload` so downstream nodes see them in variable autocomplete and automatic wire inference.
Reusable Sub-Workflow Entry Contract
Expose clean, typed input keys when this workflow is invoked by a parent Sub-Workflow or Parallel Fan-out node.
Node Configuration
{
"Id": "trigger_input_1",
"Type": "trigger_input",
"Config": {
"description": "Child enrichment input",
"test_payload": "{\n \u0022item\u0022: { \u0022sku\u0022: \u0022SKU-99\u0022, \u0022price\u0022: 49.99 }\n}"
}
}Sample Input State
{
"item": { "sku": "SKU-99", "price": 49.99 }
}Expected Output State
{
"item": { "sku": "SKU-99", "price": 49.99 }
}