This module provides functions for retrieving workflow Slack action resources in the Humaans API. Workflow Slack actions are retrieve-only via the API.
Summary
Functions
Retrieves a specific workflow_slack_action by ID.
Types
Functions
@spec retrieve(client :: map(), id :: String.t()) :: {:ok, Humaans.Resources.WorkflowSlackAction.t()} | {:error, Humaans.Error.t()}
Retrieves a specific workflow_slack_action by ID.
Parameters
client- Client created withHumaans.new/1id- String ID of the workflow_slack_action to retrieve
Examples
client = Humaans.new(access_token: "your_access_token")
{:ok, workflow_slack_action} = Humaans.WorkflowSlackActions.retrieve(client, "workflow_slack_action_id")