Sample - Slack Web API
GET/workflows.updateStep

Update a workflow extension step

Updates the configuration for a workflow extension step. Use workflow_step_edit_id to identify the configuration context, then provide JSON-encoded inputs and outputs or override the displayed step_name and step_image_url. Embedded variables in inputs are defined and replaced by the workflow system, so you cannot create custom runtime variables.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

6 parameters
workflow_step_edit_idstringrequired
The context identifier from a `view_submission` payload that identifies the workflow step configuration to update.
inputsstringoptional
A JSON-encoded key-value map of inputs that the app expects when the workflow step starts; embedded variables are defined and replaced by the workflow system.
outputsstringoptional
A JSON-encoded array of output objects that the app agrees to provide when the workflow step executes.
step_namestringoptional
An optional replacement name displayed for the step in Workflow Builder.
step_image_urlstringoptional
An optional replacement image URL displayed for the app in Workflow Builder.
tokenstringrequired
The authentication token used to authorize the request; this operation requires the `workflow.steps:execute` scope.

2 status codes
200Returns a success response containing `ok: true`.
okbooleanrequired
Allowed:true
defaultReturned when the request cannot be processed and the response contains `ok: false`.
okbooleanrequired
Allowed:false

Error handling

workflow_step_edit_id must be the context identifier supplied in the view_submission payload for this configuration. If supplied, inputs must be a JSON key-value map and outputs must be a JSON array of output objects; embedded variables must use the workflow system's supported format, and token must use the workflow.steps:execute scope.