Workflows

Workflows Update Step

GET
/workflows.updateStep

Update the configuration for a workflow extension step.

Authorization

slackAuth workflow.steps:execute
AuthorizationBearer <token>

In: header

Scope: workflow.steps:execute

Query Parameters

workflow_step_edit_id*string

A context identifier provided with view_submission payloads used to call back to workflows.updateStep.

inputs?string

A JSON key-value map of inputs required from a user during configuration. This is the data your app expects to receive when the workflow step starts. Please note: the embedded variable format is set and replaced by the workflow system. You cannot create custom variables that will be replaced at runtime. Read more about variables in workflow steps here.

outputs?string

An JSON array of output objects used during step execution. This is the data your app agrees to provide when your workflow step was executed.

step_name?string

An optional field that can be used to override the step name that is shown in the Workflow Builder.

step_image_url?string

An optional field that can be used to override app image that is shown in the Workflow Builder.

Header Parameters

token*string

Authentication token. Requires scope: workflow.steps:execute

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Response Body

application/json

application/json

curl -X GET "https://example.com/workflows.updateStep?workflow_step_edit_id=string" \  -H "token: string" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "ok": "True"}