For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

defineWorkflow

API reference for defineWorkflow: parameters, properties, and return types.

Use with AI:Rippling AI ChatGPT Claude Cursor

Defines a workflow and its actions.

import { defineWorkflow } from '@rippling/rippling-sdk';

Properties​

PropertyRequiredTypeDescription
apiNameRequired`${string}__c`—
titleRequiredstring

Workflow title shown to admins.

triggerRequiredWorkflowTrigger

Trigger definition in the workflows v2 proto JSON shape.

categoriesOptionalWorkflowCategory[]—
customVariablesOptionalRecord<string, WorkflowCustomVariable>—
descriptionOptionalstring

Short workflow description shown to admins.

functionOptionalstring | FunctionReference

The function this workflow runs. Pass a live FunctionReference reference, or a raw api_name string for functions defined outside this manifest.

functionApiNamesByOldIdOptionalRecord<string, string>—
functionsInferredGraphOptionalWorkflowGraph—
graphOptionalWorkflowGraph—
recipeIdOptionalstring—
triggerStatusOptionalWorkflowTriggerStatus—
versionStatusOptionalWorkflowVersionStatus—

Complete options type

TypeScript signature
defineWorkflow(props: DefineWorkflowProps): Workflow;

Returns​

Workflow

Availability​

CapabilitySupport
Pull into a projectSupported
Runtime operationsNot available for this helper