You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/reference.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5157,7 +5157,7 @@ sim workflows run <workflowId> [options]
5157
5157
|`--input <json\|@file>`| No | Trigger input as JSON (JSON, or @path / @- to read a file or stdin). |
5158
5158
|`--async`| No | Queue the run and return immediately. |
5159
5159
|`--execution-timeout-seconds <value>`| No | Requested server-side timeout for an asynchronous run, in seconds. An upper bound, not the effective timeout: the run uses the smaller of this value and the plan's execution timeout, so requesting more than the plan allows silently yields the plan timeout. Rejected with `400` unless `async` is true. |
5160
-
|`--select-output <value...>`| No | Return blockName.field values from the streamed result (e.g. agent_1.content), requires --follow; missing fields are omitted (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
5160
+
|`--select-output <value...>`| No | Return streamed outputs as blockName.path or childWorkflowId.blockName.path; selecting a child workflow applies to every invocation, requires --follow (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
5161
5161
|`--include-file-base64`| No | Inline eligible output files as base64 content. Rejected when `async` is true. |
5162
5162
|`--no-include-file-base64`| No | Send --include-file-base64 as false. |
5163
5163
|`--base64-max-bytes <value>`| No | Maximum total bytes of file content to inline as base64, lowering but never raising the server limit of 16 MiB. Rejected when `async` is true. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/cli/workflows.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -532,7 +532,7 @@ sim workflows run <workflowId> [options]
532
532
|`--input <json\|@file>`| No | Trigger input as JSON (JSON, or @path / @- to read a file or stdin). |
533
533
|`--async`| No | Queue the run and return immediately. |
534
534
|`--execution-timeout-seconds <value>`| No | Requested server-side timeout for an asynchronous run, in seconds. An upper bound, not the effective timeout: the run uses the smaller of this value and the plan's execution timeout, so requesting more than the plan allows silently yields the plan timeout. Rejected with `400` unless `async` is true. |
535
-
|`--select-output <value...>`| No | Return blockName.field values from the streamed result (e.g. agent_1.content), requires --follow; missing fields are omitted (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
535
+
|`--select-output <value...>`| No | Return streamed outputs as blockName.path or childWorkflowId.blockName.path; selecting a child workflow applies to every invocation, requires --follow (space-separated, or @path / @- with one value per line; @@value for a literal leading @). |
536
536
|`--include-file-base64`| No | Inline eligible output files as base64 content. Rejected when `async` is true. |
537
537
|`--no-include-file-base64`| No | Send --include-file-base64 as false. |
538
538
|`--base64-max-bytes <value>`| No | Maximum total bytes of file content to inline as base64, lowering but never raising the server limit of 16 MiB. Rejected when `async` is true. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/slack.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1971,7 +1971,7 @@ Trigger from Slack events, interactions, and slash commands
1971
1971
|`manualChannelFilter`| string | No | Comma-separated channel IDs to restrict to. Set IDs directly here. |
1972
1972
|`threads`| string | No | Include thread replies, exclude them \(top-level only\), or fire only on thread replies. |
1973
1973
|`streamResponse`| boolean | No | Create a Slack agent session and stream selected workflow outputs into the conversation that started this run. Custom bots only. |
1974
-
|`streamOutputs`| workflow-output-selector | No |Each selected block invocation creates its own Slack response. Agent outputs stream live; other outputs are sent when the block completes. |
1974
+
|`streamOutputs`| workflow-output-selector | No |Use `<blockName>.<outputPath>` for this workflow or `<childWorkflowId>.<blockName>.<outputPath>` for a child workflow. Selecting a child workflow applies to every invocation of it. Agent outputs stream live; other outputs are sent when the block completes. |
1975
1975
|`streamTaskTitle`| string | No | Optional status Slack shows while each selected response is being produced. Leave empty to use Running. |
1976
1976
|`streamTaskDisplayMode`| string | No | Choose how Slack displays thinking and tool progress. |
1977
1977
|`streamIncludeThinking`| boolean | No | Show agent thinking as Slack task updates while the response is generated. |
Copy file name to clipboardExpand all lines: apps/docs/openapi-v2-workflows.json
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8593,6 +8593,10 @@
8593
8593
"StoredChatDeploymentOutputConfig": {
8594
8594
"type": "object",
8595
8595
"properties": {
8596
+
"workflowId": {
8597
+
"description": "Child workflow containing the selected block. Omitted for the deployed workflow.",
8598
+
"type": "string"
8599
+
},
8596
8600
"blockId": {
8597
8601
"type": "string",
8598
8602
"description": "Block whose output the chat streams."
@@ -8902,6 +8906,11 @@
8902
8906
"ChatDeploymentOutputConfig": {
8903
8907
"type": "object",
8904
8908
"properties": {
8909
+
"workflowId": {
8910
+
"description": "Child workflow containing the selected block. Omit for the deployed workflow.",
8911
+
"type": "string",
8912
+
"minLength": 1
8913
+
},
8905
8914
"blockId": {
8906
8915
"type": "string",
8907
8916
"minLength": 1,
@@ -9305,7 +9314,7 @@
9305
9314
"type": "boolean"
9306
9315
},
9307
9316
"selectedOutputs": {
9308
-
"description": "Block output references to include in a streamed response, as `blockId`, `blockId.path`, or `BlockName.path` (resolved against the live workflow). Requires `stream: true` — it shapes the streamed envelope only, so it is rejected on a sync request and when `async` is true. To narrow a finished run, pass `selectedOutputs` to the run resource instead.",
9317
+
"description": "Block output references to include in a streamed response. Use `<blockName>.<outputPath>` for the executed workflow or `<childWorkflowId>.<blockName>.<outputPath>` for a child workflow; block names are normalized workflow reference names. Selecting a child workflow applies to every invocation of it. Requires `stream: true` — it shapes the streamed envelope only, so it is rejected on a sync request and when `async` is true. To narrow a finished run, pass `selectedOutputs` to the run resource instead.",
0 commit comments