slackline/api/admin/workflows/search

This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.

Setters for the optional arguments of admin.workflows.search. Each setter takes the call that workflows.search returns and sets one argument:

workflows.search()
|> search.query("Time off")

Values

pub fn app_id(
  call: slackline.Call(workflows.Search, r),
  app_id: String,
) -> slackline.Call(workflows.Search, r)

The parent app ID for which to return workflows

pub fn collaborator_ids(
  call: slackline.Call(workflows.Search, r),
  collaborator_ids: List(String),
) -> slackline.Call(workflows.Search, r)

Only include workflows where all of the provided user IDs are a manager/collaborator of that workflow

pub fn cursor(
  call: slackline.Call(workflows.Search, r),
  cursor: String,
) -> slackline.Call(workflows.Search, r)

Set cursor to next_cursor returned by the previous call to list items in the next page

pub fn is_sales_elevate(
  call: slackline.Call(workflows.Search, r),
  is_sales_elevate: Bool,
) -> slackline.Call(workflows.Search, r)

Filter workflows by their Sales Elevate status

pub fn limit(
  call: slackline.Call(workflows.Search, r),
  limit: Int,
) -> slackline.Call(workflows.Search, r)

The number of results that will be returned by the API on each invocation Defaults to 20.

pub fn no_collaborators(
  call: slackline.Call(workflows.Search, r),
  no_collaborators: Bool,
) -> slackline.Call(workflows.Search, r)

Only include workflows with no collaborators in the result; default is false

pub fn num_trigger_ids(
  call: slackline.Call(workflows.Search, r),
  num_trigger_ids: Int,
) -> slackline.Call(workflows.Search, r)

Number of trigger IDs to fetch for each workflow; default is 10 Defaults to 10.

pub fn publish_status(
  call: slackline.Call(workflows.Search, r),
  publish_status: workflows.WorkflowPublishStatus,
) -> slackline.Call(workflows.Search, r)

Filter workflows by their published status Acceptable values: all published unpublished Defaults to published.

pub fn query(
  call: slackline.Call(workflows.Search, r),
  query: String,
) -> slackline.Call(workflows.Search, r)

A search query to filter for workflow name or description

pub fn sort(
  call: slackline.Call(workflows.Search, r),
  sort: workflows.WorkflowSort,
) -> slackline.Call(workflows.Search, r)

The field used to sort the returned workflows Acceptable values: name Defaults to name.

pub fn sort_dir(
  call: slackline.Call(workflows.Search, r),
  sort_dir: common.SortDirection,
) -> slackline.Call(workflows.Search, r)

Sort direction. Possible values are asc for ascending order like (1, 2, 3) or (a, b, c), and desc for descending order like (3, 2, 1) or (c, b, a) Acceptable values: asc desc Defaults to desc.

pub fn source(
  call: slackline.Call(workflows.Search, r),
  source: workflows.WorkflowSource,
) -> slackline.Call(workflows.Search, r)

Source of workflow creation, either from code or workflow builder Acceptable values: code workflow_builder sales_home agent

pub fn step_function_ids(
  call: slackline.Call(workflows.Search, r),
  step_function_ids: List(String),
) -> slackline.Call(workflows.Search, r)

Only include workflows that use all of the provided step function ids

pub fn trigger_type_id(
  call: slackline.Call(workflows.Search, r),
  trigger_type_id: String,
) -> slackline.Call(workflows.Search, r)

Only include workflows with this trigger type

✨ Search Document