Update a conversational pathway’s fields - including name, description, nodes and edges.
Node Data Object Parameters
name
— name of the nodeisStart
— whether the node is the start node. There can only be 1 start node in a pathway. Either true
or false
.isGlobal
— whether the node is a global node. Global nodes are nodes that can be used in multiple pathways. Either true
or false
.globalLabel
— the label of the global node. Should be present if isGlobal
is true.type
— Type of the node. Can be Default
, End Call
, Transfer Node
, Knowledge Base
, or Webhook
.text
— If static text is chosen, this is the text that will be said to the user.prompt
— If dynamic text is chosen, this is the prompt that will be shown to the user.condition
— The condition that needs to be met to proceed from this node.transferNumber
kb
pathwayExamples
conditionExamples
dialogueExamples
modelOptions
modelName
— The name of the model to be used for this node.interruptionThreshold
— The sensitivity to interruptions at this nodetemperature
— The temperature of the model.extractVars
varName
, varType
, varDescription
]] e.g [["name", "string", "The name of the user"], ["age", "integer", "The age of the user"]]
Edge Object Parameters
id
— unique id of the edgesource
— id of the source nodetarget
— id of the target nodelabel
— Label for this edge. This is what the agent will use to decide which path to take.success
or error
.success
).