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

DefinedRuleAction

Type reference for DefinedRuleAction in the Rippling SDK, including its public shape and related types.

Use with AI:Rippling AI ChatGPT Claude Cursor

Flow actions accept shared writable field definitions as well as existing manifest fields.

Type definition​

export type DefinedRuleAction<TObject extends ObjectReference> = (Omit<RuleAction, 'targetField'> & {
    targetField: ObjectScoped<TObject, Field>;
}) | (TObject extends AnyCustomObjectDefinition ? {
    [K in keyof TObject['fields']]: TypedRuleAction<TObject['fields'][K]>;
}[keyof TObject['fields']] : never);