Module: Slack::Web::Api::Endpoints::FunctionsWorkflowsStepsResponses

Included in:
Slack::Web::Api::Endpoints
Defined in:
lib/slack/web/api/endpoints/functions_workflows_steps_responses.rb

Instance Method Summary collapse

Instance Method Details

#functions_workflows_steps_responses_export(options = {}) ⇒ Object

Download form responses of a workflow

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :step_id (string)

    The ID of the OpenForm step to export.

  • :workflow (string)

    The workflow encoded ID or workflow reference.

  • :workflow_app_id (string)

    The app tied to the workflow reference.

  • :workflow_id (string)

    The workflow ID, starts with Wf*.

Raises:

  • (ArgumentError)

See Also:



22
23
24
25
# File 'lib/slack/web/api/endpoints/functions_workflows_steps_responses.rb', line 22

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