# WorkflowSwitch

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

## Type definition

```
export interface WorkflowSwitch {
    branches: WorkflowConditionalBranch[];
    default_node?: string;
}
```

## Related types

-   [WorkflowConditionalBranch](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/WorkflowConditionalBranch-206f8ec9)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/WorkflowSwitch-5506a041

> 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.
