lib/slack/web/api/endpoints/functions_workflows_steps_responses.rb
# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake
module Slack
module Web
module Api
module Endpoints
module FunctionsWorkflowsStepsResponses
#
# Download form responses of a workflow
#
# @option options [string] :step_id
# The ID of the OpenForm step to export.
# @option options [string] :workflow
# The workflow encoded ID or workflow reference.
# @option options [string] :workflow_app_id
# The app tied to the workflow reference.
# @option options [string] :workflow_id
# The workflow ID, starts with Wf*.
# @see https://api.slack.com/methods/functions.workflows.steps.responses.export
# @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/functions.workflows.steps.responses/functions.workflows.steps.responses.export.json
def functions_workflows_steps_responses_export(options = {})
raise ArgumentError, 'Required arguments :step_id missing' if options[:step_id].nil?
post('functions.workflows.steps.responses.export', options)
end
end
end
end
end
end