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

View Source

Summary

Functions

Download form responses of a workflow

Functions

export(step_id, optional_params \\ %{})

Download form responses of a workflow

API reference

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

View on docs.slack.dev ↗

Required Params

  • step_id - The ID of the OpenForm step to export.

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:

  • unknown_app_id - The passed in workflow_app_id is invalid.
  • unknown_method - This method does not exist.
  • unknown_step_id - The passed in step_id is invalid.
  • unknown_workflow_id - The passed in workflow_id is invalid.
  • workflows_export_csv_not_enabled - Downloading form responses is not allowed. Admin pref needs to be enabled.

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