LogicΒΆ
Logic Nodes allow you to customize your Flow's behavior. You can use them to control which parts of the Flow should run based on conditions or integrate with other Flows.
-
Use the Add To Context Node to store information in the Context object and use this information throughout the session.
-
Use the Execute Flow Node to execute another Flow and return to the initial Flow afterward.
-
Use the Go To Node to switch between Flows or between Nodes.
-
The If Node evaluates a condition statement and triggers either the Then or Else child Nodes.
-
Use the Interval Node to add a minimal interval before other Nodes are executed.
-
The Lookup Node acts as a switch between different options. Based on the input value, the Node executes one of the options.
-
Once Nodes limit the Flow execution after them to once per session, for example, for greetings or database requests.
-
The Remove From Context Node removes information from the Context object.
-
The Set State Node changes the Flow's State.
-
The Reset State Node resets the Flow's State.
-
The Sleep Node pauses the Flow execution for a period you define.
-
The Stop and Return Node stops the Flow execution and returns to the Start Node.
-
The Switch Locale Node changes Locales during a conversation, for example, based on language detection or user region.
-
Use the Think Node to inject a text into the Start Node, for example, to restart the Flow, with specific data, text, or Intent.
-
The Wait for Input Node halts the Flow execution until the user input is received.