box-node-sdk

AutomateWorkflowsManager

List Automate workflows defined as callable actions

Returns workflow actions from Automate for a folder, using the WORKFLOW action category.

This operation is performed by calling function getAutomateWorkflowsV2026R0.

See the endpoint docs at API Reference.

await adminClient.automateWorkflows.getAutomateWorkflowsV2026R0({
  folderId: workflowFolderId,
} satisfies GetAutomateWorkflowsV2026R0QueryParams);

Arguments

Returns

This function returns a value of type AutomateWorkflowsV2026R0.

Returns workflow actions that can be manually started.

Start Automate workflow

Starts an Automate workflow manually by using a workflow action ID and file IDs.

This operation is performed by calling function createAutomateWorkflowStartV2026R0.

See the endpoint docs at API Reference.

await adminClient.automateWorkflows.createAutomateWorkflowStartV2026R0(
  workflowAction.workflow.id,
  {
    workflowActionId: workflowAction.id,
    fileIds: [workflowFileId],
  } satisfies AutomateWorkflowStartRequestV2026R0,
);

Arguments

Returns

This function returns a value of type undefined.

Starts the workflow.