> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflow Web Apps

> Turn your workflows into powerful web applications with batch processing, result management, and streamlined user experiences

Workflow web apps transform your Dify workflows into production-ready applications that handle everything from single runs to large-scale batch operations. Users get a clean interface for input, real-time processing feedback, and comprehensive result management.

## How Workflow Apps Work

When you publish a workflow, Dify automatically creates a web interface that:

* **Collects input parameters** through forms based on your workflow's start variables
* **Processes requests** using your complete workflow logic
* **Handles results** with built-in saving, copying, and management features
* **Scales automatically** from single runs to batch processing hundreds of items

<Info>
  Unlike chat apps that maintain conversation context, workflow apps are designed for discrete tasks that produce specific outputs.
</Info>

<CardGroup cols={2}>
  <Card title="Single Execution" icon="play">
    Run workflows one at a time with immediate results and feedback
  </Card>

  <Card title="Batch Processing" icon="layer-group">
    Process hundreds of inputs simultaneously with CSV upload/download
  </Card>

  <Card title="Result Management" icon="bookmark">
    Save, organize, and export outputs with built-in storage
  </Card>

  <Card title="More Like This" icon="copy">
    Generate variations of successful outputs automatically
  </Card>
</CardGroup>

## Single Execution

The default mode for workflow apps handles individual requests with real-time processing:

<Frame>
  ![Single Workflow Execution Interface](https://assets-docs.dify.ai/dify-enterprise-mintlify/en/guides/application-publishing/launch-your-webapp-quickly/4c5380cf71066d933082f7c30deacb01.png)
</Frame>

**User Experience**:

1. **Fill input form** - Users provide parameters based on your workflow's start variables
2. **Click run** - The workflow executes with real-time progress indication
3. **View results** - Output appears with immediate access to copy, save, and feedback options
4. **Take actions** - Users can save important results, provide feedback, or generate similar outputs

Each result includes built-in actions:

* **Copy** - One-click copying to clipboard for easy sharing
* **Save** - Store results in the app's saved items for later access
* **Feedback** - Like/dislike ratings to help improve your workflow
* **More like this** - Generate variations based on the current result (if enabled)

## Batch Processing

When you need to run the same workflow on multiple inputs, batch processing handles hundreds of executions simultaneously:

<Tip>
  Perfect for tasks like generating content for multiple topics, processing customer data, or analyzing large datasets.
</Tip>

### Set Up Batch Runs

<Steps>
  <Step title="Switch to batch mode">
    Click the "Run Batch" tab to access batch processing features.

    <Frame>
      ![Batch Run Tab Interface](https://assets-docs.dify.ai/dify-enterprise-mintlify/en/guides/application-publishing/launch-your-webapp-quickly/c8381ab7fad14a54c86835dc4b1b6b5d.png)
    </Frame>
  </Step>

  <Step title="Get the CSV template">
    Download the template file to see the required column structure for your workflow's input variables.

    <Frame>
      ![CSV Template Download](https://assets-docs.dify.ai/dify-enterprise-mintlify/en/guides/application-publishing/launch-your-webapp-quickly/bae4859c5cb7404ce901b7979237bb93.png)
    </Frame>
  </Step>

  <Step title="Prepare your data">
    Fill the template with your input data. Each row becomes one workflow execution.
  </Step>

  <Step title="Upload and run">
    Upload your completed CSV file and start batch processing.

    <Frame>
      ![Batch Processing Execution](https://assets-docs.dify.ai/dify-enterprise-mintlify/en/guides/application-publishing/launch-your-webapp-quickly/fc84f62f41c12e14ff85b29e6bf43d27.png)
    </Frame>
  </Step>
</Steps>

### Batch Processing Benefits

* **Parallel execution** - Multiple workflow runs happen simultaneously
* **Progress tracking** - Real-time updates on completion status
* **Bulk export** - Download all results as a CSV file when finished
* **Error handling** - Failed items are clearly marked with error details

<Warning>
  CSV files must use Unicode encoding to prevent import failures. When saving from Excel or similar tools, explicitly select "Unicode (UTF-8)" encoding.
</Warning>

## Result Management

Workflow apps include comprehensive result management to help users organize and reuse outputs:

### Save Results

<Frame>
  ![Saved Results Interface](https://assets-docs.dify.ai/dify-enterprise-mintlify/en/guides/application-publishing/launch-your-webapp-quickly/3cdd15e87aa1f1aae9f6abadb0f16d1f.png)
</Frame>

**How saving works**:

* Users click "Save" on any result they want to keep
* Saved items appear in the dedicated "Saved" tab
* Each saved result includes the original inputs and full outputs
* Users can organize saved results and access them anytime

<Info>
  Saved results persist across user sessions, making workflow apps useful for building personal libraries of outputs.
</Info>

### Generate Variations

When you enable "More like this" in your workflow settings, users can generate variations of successful results:

<Frame>
  ![More Like This Feature](https://assets-docs.dify.ai/dify-enterprise-mintlify/en/guides/application-publishing/launch-your-webapp-quickly/65fb111d8e89a8f7b761859265e42f0a.png)
</Frame>

**How it works**:

1. User gets a result they like
2. They click "More like this" to generate similar outputs
3. The workflow runs again with slight variations to produce different but related results
4. Users can iterate until they find the perfect output

<Tip>
  "More like this" works especially well for creative workflows like content generation, where users want to explore different approaches to the same topic.
</Tip>
