PUT
/
base
/
{baseId}
/
workflow
/
{workflowId}
/
logic
/
{logicId}
curl --request PUT \
  --url https://app.teable.cn/api/base/%7BbaseId%7D/workflow/%7BworkflowId%7D/logic/%7BlogicId%7D \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"name":"string","description":"string","config":null}'
{
  "name": "<string>",
  "description": "<string>",
  "config": {
    "conditions": {}
  },
  "id": "<string>",
  "category": "logic",
  "testResult": {
    "spent": 123,
    "inputRaw": "<any>",
    "outputRaw": "<any>",
    "inputVariables": {},
    "outputVariables": {},
    "errorMsg": "<string>",
    "createdTime": "<string>"
  },
  "outputVariables": {},
  "inputVariables": {},
  "createdTime": "<string>",
  "lastModifiedTime": "<string>",
  "type": "condition"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string

name of the node

description
string

description of the node

config
any | null

node configuration

Response

200 - application/json
Successful updated
config
object
required
id
string
required

node id

category
enum<string>
required
Available options:
logic
type
enum<string>
required

Condition logic

Available options:
condition
name
string

name of the node

description
string

description of the node

testResult
object

action test result

outputVariables
object

output variables

inputVariables
object

input variables

createdTime
string | null

created time

lastModifiedTime
string | null

last modified time