Sample - Slack Web API
GET/workflows.stepCompleted

Submit workflow step completion

Submits the successful completion of an app's workflow step execution. Provide workflow_step_execute_id to identify the execution and include outputs when the step produces configured output values.

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

3 parameters
workflow_step_execute_idstringrequired
The context identifier that maps the request to the workflow step execution being completed.
outputsstringoptional
A JSON-encoded key-value object containing the outputs produced by the step; its keys must match the workflow step's configured output keys.
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_execute_id must identify the workflow step execution being completed. If supplied, outputs must be a JSON key-value object whose keys match the configured output keys for the workflow step, and token must use the workflow.steps:execute scope.