---
title: "Create Workflow"
method: POST
path: "/api/v1/workflows/"
tags: ["workflows"]
---

# Create Workflow

`POST /api/v1/workflows/`

Create a new workflow, either custom or auto, and configure its settings.

## Headers

- `unstructured-api-key` string, nullable

## Request body

- CreateWorkflow
  - `name` string, required
  - `source_id` union
    - string, uuid
    - string
  - `destination_id` union
    - string, uuid
    - string
  - `workflow_type` 'basic' | 'advanced' | 'platinum' | 'custom', required
  - `workflow_nodes` WorkflowNode[], nullable
    - `id` string, uuid, nullable
    - `name` string, required
    - `type` string, required
    - `subtype` string, required
    - `settings` object, nullable
  - `template_id` string, nullable
  - `schedule` 'every 15 minutes' | 'every hour' | 'every 2 hours' | 'every 4 hours' | 'every 6 hours' | 'every 8 hours' | 'every 10 hours' | 'every 12 hours' | 'daily' | 'weekly' | 'monthly', nullable
  - `reprocess_all` boolean, nullable
  - `key` string, nullable — Stable workspace level identifier for the workflow. If omitted, derived from `name`. Immutable once set. 1-63 characters, lowercase alphanumeric and hyphens, no consecutive/leading/trailing hyphens.

## Response `200`

Successful Response

- WorkflowInformation
  - `id` string, uuid, required
  - `name` string, required
  - `key` string, nullable
  - `sources` string[], required
  - `destinations` string[], required
  - `workflow_type` 'basic' | 'advanced' | 'platinum' | 'custom'
  - `workflow_nodes` WorkflowNode[], required
    - `id` string, uuid, nullable
    - `name` string, required
    - `type` string, required
    - `subtype` string, required
    - `settings` object, nullable
  - `schedule` WorkflowSchedule
    - `crontab_entries` CronTabEntry[], required
      - `cron_expression` string, required
  - `status` 'active' | 'inactive', required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable
  - `reprocess_all` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/unstructuredapp/apis/platform-api.md) · [All operations](https://skmtc.net/unstructuredapp/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unstructuredapp/platform-api/revisions/41676641a27c/schema)
