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

defineRecordTriggeredFlow

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

Use with AI:Rippling AI ChatGPT Claude Cursor

Defines a flow triggered by changes to a custom object’s records.

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

Properties​

PropertyRequiredTypeDescription
apiNameRequired`${string}__c`—
descriptionRequirednull | string

Internal description of this rule (for developer reference only).

flowNameRequiredstring

Display name of this automation rule shown in the UI.

triggerTypeRequiredTriggerType

When this rule fires. One of 'CREATE' | 'UPDATE' | 'CREATE_OR_UPDATE'.

The constructor throws if an invalid value is passed.

actionsOptionalreadonly DefinedRuleAction<NoInfer<TObject>>[]—
conditionsTreeOptionalnull | { [x: string]: JsonValue; }—
entityApiNameOptionalnull | string—
rqlConditionOptionalstring

RQL formula guard — the rule fires only when this expression is truthy.

Documented default: null

updateTriggerTypeOptionalUpdateTriggerType

Controls when an UPDATE trigger fires relative to the condition. One of 'MEETS_CONDITION_AFTER_ONLY' | 'MEETS_CONDITION_BEFORE_OR_AFTER'.

Conditional. Required when triggerType is 'UPDATE' or 'CREATE_OR_UPDATE'. Must be omitted when triggerType is 'CREATE'.

Complete options type

Parameters​

ParameterRequiredTypeDescription
objectRequiredTObject—
TypeScript signature
defineRecordTriggeredFlow<TObject extends ObjectReference>(object: TObject, props: DefineRecordTriggeredFlowProps<TObject>): Rule;

Returns​

Rule

Availability​

CapabilitySupport
Pull into a projectSupported
Runtime operationsNot available for this helper