Manual / Ad-Hoc Trigger
Allows a workflow to be started manually by a user or administrator.
Entry node for workflows started by hand or by an execution request. It merges payload_template with the input, and outputs the result both under manual_payload and at the root, with triggered_by and timestamp.
This trigger defines the "Start Button" for a workflow. It is commonly used for testing, debugging, or workflows that require explicit human initiation (e.g., "Run End of Month Report").
Features:
- Form Input: Can define a schema for the input payload the user must provide when clicking "Run".
- Testing: Ideal for validating logic with disparate test datasets.
Use Cases:
- Launching a one-off database migration script.
- Testing a new workflow with mock customer data.
How it works
- What starts it: a run from the editor or an execution request with an input. A run of the draft is a test run; a run of a published version is a production run.
- Resolves the node config and merges
{ ...payload_template, ...input }: input keys win over the template. - Outputs
{ triggered_by, timestamp, manual_payload, ...merged }onout.
In a workflow
The node as it appears in a workflow file (draft_nodes[]), and the envelope of a successful run.
{
"node_id": "node-start",
"label": "Run report",
"operator_slug": "manual.trigger",
"operator_version": "1.0.0",
"config": {
"payload_template": {
"region": "north"
}
}
}{
"ok": true,
"data": {
"triggered_by": "manual",
"timestamp": "2026-11-26T09:15:42.008-05:00",
"manual_payload": {
"region": "north",
"period": "2026-10"
},
"region": "north",
"period": "2026-10"
},
"port": "out"
}Configuration
-
payload_templateobject Optional -
Auto-fills the manual input form for convenience.
Its configuration shows the shared execution settings, but this node does not apply retries (retryOnFail, maxTries) yet. continueOnFail is not applied by any node.
Behaviour in the code
What the implementation does with these keys beyond what the schema says.
-
payload_template - Default values merged under the input. If a key collides with
triggered_by,timestampormanual_payload, the merged value overwrites them at the root.
Output ports
out default Always, unless an unexpected exception occurs.
{
"triggered_by": "manual",
"timestamp": "2026-11-26T09:15:42.008-05:00",
"manual_payload": {
"period": "2026-10",
"region": "north"
},
"period": "2026-10",
"region": "north"
}error Only on an unexpected exception; the output is { error, response }. Not reachable in normal use.
{
"error": "<exception message>",
"response": null
}In expressions
What a later node can read from this node's output with $("Manual / Ad-Hoc Trigger").item.json.<path> (write your node's label instead of Manual / Ad-Hoc Trigger). Editor marks the paths the workflow editor suggests under Previous Nodes (the output contract); Worker marks the paths the worker really returns through out, from the output shown in Ports.
| Expression | Editor | Worker |
|---|---|---|
$("Manual / Ad-Hoc Trigger").item.json.triggered_byUser who clicked Run. | ||
$("Manual / Ad-Hoc Trigger").item.json.timestamp | ||
$("Manual / Ad-Hoc Trigger").item.json.manual_payloadData entered by user. | ||
$("Manual / Ad-Hoc Trigger").item.json.manual_payload.period | — | |
$("Manual / Ad-Hoc Trigger").item.json.manual_payload.region | — | |
$("Manual / Ad-Hoc Trigger").item.json.period | — | |
$("Manual / Ad-Hoc Trigger").item.json.region | — |
— Worker: The worker returns it but the editor does not suggest it: write it by hand. Keys inside objects can depend on your data or configuration (for example one key per label).
Output contract
-
triggered_bystring Optional -
User who clicked Run.
-
timestampstring Optional -
manual_payloadobject Optional -
Data entered by user.
Contracts (JSON Schema)
The definition exactly as the orchestrator declares it. All is the whole *.definition.js; compare it with the sections above to spot differences between the documentation and the schema. Use it to validate a node before you publish.
{
"slug": "manual.trigger",
"name": "Manual / Ad-Hoc Trigger",
"category": "triggers",
"version": "1.0.0",
"description": "Allows a workflow to be started manually by a user or administrator.\n\n This trigger defines the \"Start Button\" for a workflow. It is commonly used for testing, debugging, or workflows that require explicit human initiation (e.g., \"Run End of Month Report\").\n\n **Features:**\n - **Form Input:** Can define a schema for the input payload the user must provide when clicking \"Run\".\n - **Testing:** Ideal for validating logic with disparate test datasets.\n\n **Use Cases:**\n - Launching a one-off database migration script.\n - Testing a new workflow with mock customer data.",
"capabilities": [
"testing",
"ad-hoc",
"manual",
"ui"
],
"config_schema": {
"type": "object",
"properties": {
"payload_template": {
"type": "object",
"title": "Default/Sample Payload",
"description": "Auto-fills the manual input form for convenience."
},
"execution": {
"type": "object",
"title": "Execution Settings",
"properties": {
"alwaysOutputData": {
"type": "boolean",
"title": "Always Output Data",
"description": "Always output data, even on error (if configured).",
"default": false
},
"retryOnFail": {
"type": "boolean",
"title": "Retry On Fail",
"description": "Retry the execution if it fails.",
"default": false
},
"maxTries": {
"type": "integer",
"title": "Max Retries",
"description": "Number of retries.",
"default": 3,
"displayOptions": {
"show": {
"retryOnFail": [
true
]
}
}
},
"waitBetweenTries": {
"type": "integer",
"title": "Wait Between Retries (ms)",
"default": 1000,
"displayOptions": {
"show": {
"retryOnFail": [
true
]
}
}
},
"continueOnFail": {
"type": "boolean",
"title": "Continue On Fail",
"description": "Do not crash workflow on error.",
"default": false
},
"timeout_ms": {
"type": "integer",
"title": "Timeout (ms)",
"description": "Max execution time for this node before it is killed, in milliseconds. Honored by long-running operators (e.g. OCR/extraction, inline code). Default 300000 (5 min).",
"default": 300000
}
}
}
}
},
"input_contract_schema": null,
"output_contract_schema": {
"type": "object",
"properties": {
"triggered_by": {
"type": "string",
"description": "User who clicked Run."
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"manual_payload": {
"type": "object",
"description": "Data entered by user."
}
}
},
"ports": [
{
"port_id": "out",
"label": "Started",
"is_default": true
},
{
"port_id": "error",
"label": "Error"
}
],
"execution_mode": "sync",
"tags": [
"test",
"manual",
"debug",
"start"
],
"is_stateful": false,
"publisher": {
"identity": "org_sommatic_ai",
"profile": {
"name": "Sommatic AI",
"verified": true,
"url": "https://me.veripass.com/sommatic",
"logo_url": null
}
}
}{
"type": "object",
"properties": {
"payload_template": {
"type": "object",
"title": "Default/Sample Payload",
"description": "Auto-fills the manual input form for convenience."
},
"execution": {
"type": "object",
"title": "Execution Settings",
"properties": {
"alwaysOutputData": {
"type": "boolean",
"title": "Always Output Data",
"description": "Always output data, even on error (if configured).",
"default": false
},
"retryOnFail": {
"type": "boolean",
"title": "Retry On Fail",
"description": "Retry the execution if it fails.",
"default": false
},
"maxTries": {
"type": "integer",
"title": "Max Retries",
"description": "Number of retries.",
"default": 3,
"displayOptions": {
"show": {
"retryOnFail": [
true
]
}
}
},
"waitBetweenTries": {
"type": "integer",
"title": "Wait Between Retries (ms)",
"default": 1000,
"displayOptions": {
"show": {
"retryOnFail": [
true
]
}
}
},
"continueOnFail": {
"type": "boolean",
"title": "Continue On Fail",
"description": "Do not crash workflow on error.",
"default": false
},
"timeout_ms": {
"type": "integer",
"title": "Timeout (ms)",
"description": "Max execution time for this node before it is killed, in milliseconds. Honored by long-running operators (e.g. OCR/extraction, inline code). Default 300000 (5 min).",
"default": 300000
}
}
}
}
}{
"type": "object",
"properties": {
"triggered_by": {
"type": "string",
"description": "User who clicked Run."
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"manual_payload": {
"type": "object",
"description": "Data entered by user."
}
}
}[
{
"port_id": "out",
"label": "Started",
"is_default": true
},
{
"port_id": "error",
"label": "Error"
}
]Execution
- Execution
sync- Stateful
- No
- Retries (
retryOnFail) - No
- Capabilities
testingad-hocmanualui- Tags
testmanualdebugstart
Notes and limits
triggered_byis alwaysmanual: the user who started the run is not passed to the node.timestampis the orchestrator's local time in ISO format.- When the workflow has stored trigger or key-value state, the backend adds
$trigger_state/$kv_stateto the input, so they also appear in the output. - With sample data the engine skips the node and passes the sample input on
outas is, withouttriggered_by,timestampormanual_payload.
Reviewed against the orchestrator code · 31e874b · 2026-11-26