Workflow object
Defines the workflow a workflow button starts.
| Used in | Workflow button element |
Set it as the workflow field of a workflow button.
Fields
Section titled “Fields”| Field | Type | Description | Required? |
|---|---|---|---|
trigger |
Trigger object | A trigger object that holds the workflow’s trigger URL and input parameters. | Required |
Examples
Section titled “Examples”A workflow button in an actions block
Section titled “A workflow button in an actions block”{ "blocks": [ { "type": "section", "text": { "type": "mrkdwn", "text": "New lead from the website: *Orchid Dental Clinics* (12 branches)." } }, { "type": "actions", "elements": [ { "type": "workflow_button", "text": { "type": "plain_text", "text": "Qualify lead" }, "style": "primary", "action_id": "qualify_lead", "workflow": { "trigger": { "url": "https://example.com/triggers/qualify-lead" } } } ] } ]}