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

# Clarify: Create Workflow

> Create a workflow. Clarify Create Workflow reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Create a workflow.

> [!NOTE]
>
> Tool ID: `clarify_create_workflow`

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe clarify_create_workflow --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe clarify_create_workflow --json` for the complete live contract.

## Input reference

Creates a workflow from a trigger and a set of blocks. Create it disabled and enable it once the automation graph is complete. Returns the created workflow.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.workspace` | `string` | Yes | — | The workspace slug — the `&#123;slug&#125;` segment of your Clarify workspace URL. |
| `payload.silent` | `boolean` | No | — | When true, suppresses in-app and Slack notifications for this mutation. |
| `payload.data` | `object` | Yes | — | The resource to create. |

> [!NOTE]
>
> This input schema is too large for an inline display. Read the complete live contract with `deepline describe clarify_create_workflow --json`.

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.data` | `object` | Yes | — | The resource. |
| `result.data.data.type` | `"workflow"` | Yes | — | The resource type. matches the `object` path parameter. Allowed: `workflow`. |
| `result.data.data.id` | `string` | Yes | — | The unique ID of the resource. |
| `result.data.data.attributes` | `object` | Yes | — | Field values keyed by field name. available fields depend on the object’s schema. |
| `result.data.data.attributes._id` | `string` | Yes | — | The unique ID of the workflow. |
| `result.data.data.attributes.name` | `string` | Yes | — | The workflow’s display name. |
| `result.data.data.attributes.description` | `string` | Yes | — | A human-readable description of the workflow. |
| `result.data.data.attributes.enabled` | `boolean` | Yes | — | Whether the workflow is active and processing triggers. |
| `result.data.data.attributes.enabled_by` | `string \| null` | No | — | The ID of the user who first enabled the workflow. |
| `result.data.data.attributes.published_at` | `string \| null` | Yes | — | The time the workflow was published, or null if it has never been published. |
| `result.data.data.attributes.exits` | `record` | No | `&#123;&#125;` | Exit blocks keyed by block id, run when a record leaves the workflow. |
| `result.data.data.attributes.run_limits` | `object` | No | `&#123;&#125;` | Limits on how often a record can run through the workflow. |
| `result.data.data.attributes.run_limits.max_runs_per_record` | `number \| null` | No | — | The maximum number of runs allowed per record. Null means unlimited. |
| `result.data.data.attributes.run_limits.cooldown_period_days` | `number \| null` | No | — | The number of days a record must wait before it can re-enter the workflow. |
| `result.data.data.attributes._created_at` | `string` | Yes | — | The time the workflow was created. |
| `result.data.data.attributes._created_by` | `string` | Yes | — | The ID of the user who created the workflow. |
| `result.data.data.attributes._updated_at` | `string` | Yes | — | The time the workflow was last updated. |
| `result.data.data.attributes._updated_by` | `string` | Yes | — | The ID of the user who last updated the workflow. |
| `result.data.data.attributes.type` | `"sequence"` | Yes | — | The workflow type. `sequence` workflows are email sequences (campaigns). |
| `result.data.data.attributes.trigger` | `object` | Yes | — | The block that starts each run. |
| `result.data.data.attributes.trigger._id` | `string` | Yes | — | The block identifier, unique within the workflow. The trigger block is always `trigger`. |
| `result.data.data.attributes.trigger.plugin_id` | `"clarify:email-validation" \| "clarify:send:email" \| "clarify:linkedin:visit" \| "clarify:linkedin:connect" \| "clarify:linkedin:message" \| "clarify:linkedin:inmail" \| "general:delay:for" \| "on:clarify:add-to-list" \| "on:manual:execution"` | Yes | — | The plugin that defines what this block does, restricted to plugins valid in sequence workflows. |
| `result.data.data.attributes.trigger.filters` | `array` | Yes | — | Conditions that must all pass for the block to run. |
| `result.data.data.attributes.trigger.filters[].field` | `string` | Yes | — | The path to the value the condition is tested against (for example `state.event.object.data.person.name`). |
| `result.data.data.attributes.trigger.filters[].condition` | `record` | Yes | — | The condition the field value must satisfy for the block to run. |
| `result.data.data.attributes.trigger.input` | `record` | Yes | — | The block’s configuration, keyed by input name. |
| `result.data.data.attributes.trigger.prev` | `string \| null` | Yes | — | The `_id` of the previous block, or null for the trigger. |
| `result.data.data.attributes.trigger.next` | `string \| null` | Yes | — | The `_id` of the next block, or null for the last block. |
| `result.data.data.attributes.blocks` | `record` | Yes | — | The workflow’s blocks keyed by block id. |
| `result.data.data.relationships` | `object` | No | — | Related resources keyed by relationship name, present when requested via `include`. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

> [!NOTE]
>
> This output schema is too large for an inline display. Read the complete live contract with `deepline describe clarify_create_workflow --json`.

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.