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

# workflow_state_create

> Create a workflow state for a team. `name`, `team_id`, `type` and `color` are all required.

<div className="tool-route"><span className="tool-row-method" data-method="POST">POST</span><code>{"https://api.linear.app/graphql"}</code></div>

```python linear_workflow_state_create.py theme={null}
from charter.packs import linear

result = await linear.workflow_state_create.ainvoke({"variables": ...})
```

<Note>
  Posts a GraphQL document to `POST /graphql`, as every tool in this pack does.
</Note>

## Body

<div className="reference-table">
  | Field                                                             | Type                                                                                                 | Description          |
  | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -------------------- |
  | `variables` <span className="required" title="required">\*</span> | [WorkflowStateCreateVariables](/charter/charter/packs/linear/workspace/objects#workflowstatecreatevariables) | The state to create. |
</div>
