---
title: "PUT /base/{baseId}/workflow/{workflowId}"
method: PUT
path: "/base/{baseId}/workflow/{workflowId}"
tags: ["automation"]
---

# PUT /base/{baseId}/workflow/{workflowId}

`PUT /base/{baseId}/workflow/{workflowId}`

update a automation workflow

## Path parameters

- `baseId` string, required
- `workflowId` string, required

## Request body

- object
  - `name` string
  - `description` string
  - `trigger` object
    - `name` string — name of the node
    - `description` string — description of the node
    - `config` unknown
    - `type` 'recordCreated' | 'recordUpdated' | 'recordCreatedOrUpdated' | 'recordMatchesConditions' | 'buttonClick' | 'formSubmitted' | 'scheduledTime' | 'webhook', required — type of trigger

## Response `200`

Successful updated

---

[API](https://skmtc.net/teable/apis/teable-app.md) · [All operations](https://skmtc.net/teable/apis/teable-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teable/teable-app/versions/7515f3b33d79/schema)
