# RuleProps

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

Initialization properties for Rule.

## Type definition

```
export interface RuleProps {
    flowName: string;
    triggerType: TriggerType;
    flowId?: string;
    rqlCondition?: string;
    conditionsTree?: Config['layered_conditions_tree'];
    entityApiName?: string | null;
    updateTriggerType?: UpdateTriggerType;
    description: string | null;
    actions?: RuleAction[];
}
```

## Related types

-   [TriggerType](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/TriggerType-b32adcdb)
-   [UpdateTriggerType](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/UpdateTriggerType-0699b53d)
-   [RuleAction](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/RuleAction-8955a2e9)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/RuleProps-4af98d01

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
