Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
This Node re-executes the Flow within a single iteration. The Node is useful when you want to restart the Flow, either with changed text or data or by explicitly triggering an Intent.When the Think Node is reached, the Flow stops and restarts at the Start Node.
This behavior can be changed if you use an Execute Flow Node in the parent Flow to access a child Flow with a Think Node. When the Think Node is reached, the child Flow stops,
and execution resumes from the beginning of the parent Flow at its Start Node.
Think Text (default) — lets you rerun the Flow with input text and/or input data, which will then be treated as a simulated message from the end user. This input will be sent through the NLU engine again, identifying Slots and matching Intents. This option is selected by default.
Trigger Intent — lets you rerun the Flow, ensuring a specific Intent is found instead of relying on the NLU engine. This approach is similar to the process outlined in Trigger Intent, where using an input like cIntent:orderFood triggers the orderFood Intent. You can achieve the same result by selection this option and entering orderFood in the Intent to trigger field.
Text to think
CognigyScript
This field appears if the Think Text (default) action is selected.
The provided text serves as a message to emulate user input. This custom data will be available in the input.text object.
Data to think
JSON
This field appears if the Think Text (default) action is selected.
The provided data serves as a message to emulate user input. This custom data will be available in the input.data object and can include any additional information that are relevant to the Flow.
Intent to trigger
CognigyScript
This field appears if the Trigger Intent action is selected.
Cognigy will trigger the Intent using the cIntent method.
Logs errors to the system logs. They can be viewed on the Logs page of your Project. This parameter is inactive by default.
Select Error Handling Approach
List
Sets how Flow execution behaves if the AI Agent throws an error. You can select one of the following options:
Stop Flow Execution — terminates the current Flow execution.
Continue Flow Execution — allows the Flow to continue executing, bypassing the error and proceeding to the next steps.
Go to Node — redirects Flow execution to a specific Node, which can be useful for error recovery or customized error handling.
Error Message (optional)
Text
This parameter appears when you select Continue Flow Execution in Select Error Handling Approach. Add a message to output if the AI Agent fails.
Select Flow
List
This parameter appears when you select Go to Node in Select Error Handling Approach. Sets the Flow that includes the Node to which you want to redirect Flow execution.
Select Node
List
This parameter appears when Go to Node in Select Error Handling Approach is selected. Sets the Node to which you want to redirect Flow execution.
When you need to process user input or other text in the middle of a Flow to retrieve an NLU result, and you do not want to restart the Flow from the Start Node, use the Execute Cognigy NLU Node.