﻿---
title: stack kb workflows post-workflows cli command
description: Bulk create workflows 
url: https://www.elastic.co/elastic/docs-builder/docs/4075/reference/elastic-cli/cli/stack/kb/workflows/post-workflows
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack kb workflows post-workflows cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb workflows post-workflows --workflows <workflows> [options]
```

Bulk create workflows

## Options

<definitions>
  <definition term="--workflows string[] required">
    **Repeatable:** pass `--workflows` multiple times to supply more than one value
  </definition>
  <definition term="--overwrite">
    Whether to overwrite existing workflows.
  </definition>
  <definition term="--dry-run">
    When true, performs a preflight conflict check only. Returns the subset of the supplied workflow IDs that already exist (including soft-deleted tombstones and cross-space documents) without writing anything. The response body is `{ existingIds: string[] }` instead of the normal `{ created, failed }` shape.
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>