# workflow (/docs/api/functions/workflow)



```ts
function workflow(ctx): Workflow;
```

Defined in: [packages/core/src/ir.ts:78](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/ir.ts#L78)

Typed view of the workflow model passes transform.

## Parameters [#parameters]

### ctx [#ctx]

[`ParseContext`](../interfaces/ParseContext.mdx)

## Returns [#returns]

[`Workflow`](../interfaces/Workflow.mdx)


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)