Sequences
Create sequence node
Creates a node from the current Sequence allowlist. nodeId and alias are assigned by the server.
post/public/v1/sequences/{sequenceId}/nodes
Path parameters
sequenceIdinteger required
Example:1
Request body
Example request
{
"node": {
"name": "example",
"position": {
"positionX": 1,
"positionY": 1
},
"type": "WAIT",
"data": {
"type": "SEQUENCE_START",
"mode": "IMMEDIATELY",
"waitAmount": 1,
"waitUnit": "DAYS"
}
}
}Response
Sequence node created
Example response
{
"alias": "example",
"workflowId": "example",
"name": "example",
"position": {
"positionX": 1,
"positionY": 1
},
"type": "SEQUENCE_START",
"handles": [
{
"handleId": "example",
"sourceEdge": {
"from": "example",
"fromHandleId": "example",
"to": "example",
"toHandleId": "example"
},
"text": "example"
}
],
"targetEdges": [
{
"from": "example",
"fromHandleId": "example",
"to": "example",
"toHandleId": "example"
}
],
"data": {
"type": "RESPONSE_AI",
"assistantId": "example",
"aiModelId": 1,
"model": "example",
"aiVendor": "OPENAI",
"instructions": "example",
"temperature": 1,
"exitNodeWhen": "ALL_VARIABLES",
"knowledgeBaseMode": "DEFAULT",
"knowledgeBaseIds": [
1
]
},
"createdAt": "example",
"updatedAt": "example",
"warnings": [
"example"
]
}Changes
Changed in 1 of the 2 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○