Skip to content

Defines the workflow a workflow button starts.

Used in Workflow button element

Set it as the workflow field of a workflow button.

Field Type Description Required?
trigger Trigger object A trigger object that holds the workflow’s trigger URL and input parameters. Required
{
"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"
}
}
}
]
}
]
}