Working with Nodes
- GUI
- API
You can create and delete Nodes in the Flow editor. To edit a Node, open the Node editor by clicking the Node in the Flow editor. Node editors include settings specific to each Node type. In the Flow editor, you can also right-click a Node to copy, cut, and paste the Node as well as add comments to it.
JSON Data Fields in the Node Editor
Some Nodes, such as the Say Node or Question Node, include JSON fields to send adata object with the output.
The JSON fields enforce JSON formatting at the root level. If you directly enter an array into a JSON field, for example,
["name", "surname", "email"], the Node unpacks the array into an object. The result is an object at the root level, for example, {"0": "name", "1": "surname", "2": "email"}.Set Nodes as Entrypoints
If your AI Agent has, for example, a Go To Node or an Execute Flow Node to switch between Flows, you can set a Node as an Entrypoint. An Entrypoint is the Node at which the Flow starts. The Start Node is the default Entrypoint. To set a Node as an Entrypoint:- right-click the Node in the Flow editor and select Set Entrypoint.
- select
> Set Entrypoint in the Node editor.
Naming Entrypoints
Naming Entrypoints
Define unique names for each Entrypoint Node using the Label field in the Node editor’s Settings section. This approach is helpful to easily differentiate a Node with an Entrypoint from other Nodes of the same type.
Create Flows from Node Branches
You can split complex Flows and create new ones from a child Node. To do so, right-click the child Node and select the Create Flow from Branch option in the context menu. When you create a Flow from a child Node, you move the Nodes following the child Node to the new Flow. In the original Flow, these Nodes are replaced with an Execute Flow Node. The Execute Flow Node triggers the new Flow.Dynamic Content in Nodes
Most Nodes support CognigyScript and Tokens for dynamic content use.Fallback Value in Node Fields
A fallback value is a default value automatically applied when required fields are empty due to updates in a Node. Fallback values keep existing Nodes working when new fields are added or existing ones are changed, so you don’t need to reconfigure them immediately. Fallback values are typically applied in the following cases:- When a Node field is updated in a new release version.
- When a new Node field is added to the Node.
- When you upload a new version of the Node Extension.