Trigger object
Welcome to the new home of Slack developer docs!
We're still building and not all features are available quite yet. Enjoy this peek into the future!
Not ready for the future? Return to the past at api.slack.com.
Defines an object containing trigger information.
Fields
Field | Type | Description | Required? |
---|---|---|---|
url | String | A link trigger URL. Must be associated with a valid trigger. | Required |
customizable_input_parameters | Object[] | An array of input parameter objects. Each specified name must match an input parameter defined on the workflow of the provided trigger (url), and the input parameter mapping on the trigger must be set as customizable: true . Each specified value must match the type defined by the workflow input parameter of the matching name. | Optional |
The values used for these
customizable_input_parameters
may be visible client-side to end users. You should not share sensitive information or secrets via these input parameters.Example
{
"url": "https://slack.com/shortcuts/Ft0123ABC456/123...xyz",
"customizable_input_parameters": [
{
"name": "input_parameter_a",
"value": "Value for input param A"
},
{
"name": "input_parameter_b",
"value": "Value for input param B"
}
]
}