# Workflows.Update

```go
func (workflowClient) Update(
    ctx context.Context,
    slug string,
    options ...workflow.UpdateOption,
) (*workflows.Workflow, error)
```

Update a workflow.

## Parameters

**slug**

`string`

required: true

The workflow slug.

**workflow\.WithName(name string)**

`workflow.UpdateOption`

Optional new display name for the workflow.

**workflow\.WithDescription(description string)**

`workflow.UpdateOption`

Optional new workflow description. Pass an empty string to clear the description.

## Returns

The updated workflow object.

```go title="Go"
updatedWorkflow, err := client.Workflows.Update(ctx,
    "scene-processing",
    workflow.WithName("Scene processing"),
    workflow.WithDescription("Process new scenes into analysis-ready outputs."),
)
```

## Errors

**not\_found**

`workflow not found`

The specified workflow does not exist.
