---
title: workflow/next
description: Next.js integration for automatic bundling and runtime configuration.
docs_index: /llms.txt
lastUpdated: 2026-10-13
type: overview
summary: Explore the Next.js integration for automatic workflow bundling and runtime support.
related:
  - /docs/getting-started/next
---

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

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

## Functions

#### [withWorkflow](/docs/api-reference/workflow-next/with-workflow)

Configures webpack/turbopack loaders to transform workflow code (`"use step"`/`"use workflow"` directives)

---

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)