Signal, query, or update a running workflow
workflow_interactInteract with running workflow executions by sending signals, running queries, or applying updates to manage workflow state.
Instructions
Send a signal to or run a query against a running workflow execution.
action=signal: fire-and-forget event; the workflow reacts asynchronously.
name: signal name defined in the workflow.input: optional payload matching the signal's schema.
action=query: synchronous read of internal workflow state.
name: query handler name defined in the workflow.input: optional parameters for the query.Returns
query_name+resultinline.
action=update: synchronous request to modify workflow state mid-execution.
name: update handler name defined in the workflow.input: optional payload for the update.Returns
update_name+resultinline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Interaction type. | |
| executionId | Yes | Target execution ID. | |
| name | Yes | Signal or query handler name. | |
| input | No | Optional payload for the signal or query. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| execution_id | Yes | ||
| message | No | Confirmation message for signal actions. | |
| query_name | No | ||
| update_name | No | ||
| result | No | Query or update result payload. |