admin.workflows.permissions.lookup
method
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.
Usage info
This method looks up permissions for which users are authorized to run workflows in the org. Since workflows themselves do not have an execution policy, the rule exists on the trigger associated with the workflow. For workflows created in Workflow Builder, there is a 1:1 mapping with a trigger. For coded apps, we merge the permissions of all of a workflow’s triggers and return the most permissive set. If there are numerous triggers, we will only check a subset of them (determined by max_workflow_triggers
) and return "complete": false
in the response to denote this.