# Workflow

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

Defines a workflow using a trigger, function shorthand, or raw graph.

## Type definition

```
export declare class Workflow {
    constructor(props: WorkflowProps & {
        apiName: Config['api_name'];
    });
    getDefinitionId(): string;
    getApiName(): Config['api_name'];
    toDict(): Config;
}
```

## Related types

-   [WorkflowProps](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/WorkflowProps-b40234a9)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/Workflow-0bfc2b2e

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