---
title: workflow/next
description: Next.js integration for automatic bundling and runtime configuration.
type: overview
summary: Explore the Next.js integration for automatic workflow bundling and runtime support.
related:
  - /docs/getting-started/next
---

# workflow/next



Next.js integration for Workflow SDK that automatically configures bundling and runtime support.

## Functions

<Cards>
  <Card title="withWorkflow" href="/docs/api-reference/workflow-next/with-workflow">
    Configures webpack/turbopack loaders to transform workflow code (`"use step"`/`"use workflow"` directives)
  </Card>
</Cards>


---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)