Quick Start
API List
- record
- space
- base
- view
- API Reference
- dashboard
- plugin
- attachments
- admin
- trash
- field
- aggregation
- table
- selection
- plan
- user
- auth
- db-connection
- invitation
- share
- notification
- access-token
- import
- export
- pin
- billing
- usage
- oauth
- comment
- organization
- ai
- integrity
- plugin-panel
- plugin-context-menu
- template
- automation
- GETGet base workflow action
- PUTPut base workflow action
- DELDelete base workflow action
- POSTPost base workflow action
- POSTPost base workflow action duplicate
- GETGet base workflow logic
- PUTPut base workflow logic
- DELDelete base workflow logic
- POSTPost base workflow logic
- GETGet base workflow trigger
- PUTPut base workflow trigger
- POSTPost base workflow trigger
- GETGet base workflow
- PUTPut base workflow
- DELDelete base workflow
- GETGet base workflow 1
- POSTPost base workflow
- PUTPut base workflow active
- GETGet base workflow run
- GETGet base workflow run 1
- PUTPut base workflow test
- PUTPut base workflow order
- POSTPost base workflow filter link records
- POSTPost base workflow duplicate
- GET
- authority-matrix
- enterprise
- space-manage
automation
Post base workflow logic
automation
Post base workflow logic
Create a automation workflow logic
POST
/
base
/
{baseId}
/
workflow
/
{workflowId}
/
logic
curl --request POST \
--url https://app.teable.cn/api/base/%7BbaseId%7D/workflow/%7BworkflowId%7D/logic \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"name":"string","description":"string","config":null,"parentNodeId":"string","type":"condition"}'
{
"logic": {
"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"
},
"controls": [
{
"name": "<string>",
"config": {
"sourceNodeId": "<string>"
},
"id": "<string>",
"category": "control",
"createdTime": "<string>",
"lastModifiedTime": "<string>",
"type": "conditionEnd"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
201 - application/json
Successful created
The response is of type object
.
curl --request POST \
--url https://app.teable.cn/api/base/%7BbaseId%7D/workflow/%7BworkflowId%7D/logic \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"name":"string","description":"string","config":null,"parentNodeId":"string","type":"condition"}'
{
"logic": {
"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"
},
"controls": [
{
"name": "<string>",
"config": {
"sourceNodeId": "<string>"
},
"id": "<string>",
"category": "control",
"createdTime": "<string>",
"lastModifiedTime": "<string>",
"type": "conditionEnd"
}
]
}