---
title: "Workflows.Update"
description: "Update a workflow."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

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

# Workflows.Update

import { Fragment } from "astro/jsx-runtime";

import ApiReference from "@docs/components/ApiReference.astro";

import ParamField from "@docs/components/ParamField.astro";

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

Update a workflow.

## Parameters

**slug**

type: string

required: true

The workflow slug.
**workflow.WithName(name string)**

type: workflow.UpdateOption

Optional new display name for the workflow.
**workflow.WithDescription(description string)**

type: workflow.UpdateOption

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

## Returns

The updated workflow object.

## Errors

**not_found**

type: workflow not found

The specified workflow does not exist.

<h2 id="request-example">Usage example</h2>

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

Source: https://tilebox.com/docs/api-reference/go/workflows/Workflows.Update/index.mdx
