Slack.Web.Functions.Workflows.Steps (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

List the steps of a specific function of a workflow's versions

Functions

list(function_id, optional_params \\ %{})

List the steps of a specific function of a workflow's versions

API reference

Rate limit: Tier 3: 50+ per minute
Scopes: No scopes required

View on docs.slack.dev ↗

Required Params

  • function_id - The ID of the function to query

Optional Params

  • workflow - The workflow encoded ID or workflow reference ex: #/workflows/my-workflow
  • workflow_app_id - The app tied to the workflow reference.
  • workflow_id - The workflow ID, starts with Wf*

Errors the API can return:

  • cannot_fetch_versions - Encountered unexpected error while trying to fetch versions
  • missing_step_ids - The passed in workflow is missing step IDs
  • unknown_app_id - The passed in workflow_app_id is invalid.
  • unknown_function_id - The passed in function_id is invalid.
  • unknown_method - This method does not exist.
  • unknown_workflow_id - The passed in workflow_id is invalid.

See the Common Errors guide for errors returned by every Web API method.