Using a NLP Engine Callback
The Back to NLP Engine element provides a way for your Intent Flow to return a conversation to the NLP Engine with a predefined text message.
This callback method is designed to be used in close coordination with the design of NLP engine components. You use the callback text message to pass information to the NLP engine, which it in turn uses in accordance with the current conversation status.
You can also use variables in the message to provide values to the NLP Engine from the Flow, enabling real time passage of values from another conversation or from an external data source session.
You can add multiple Back to NLP Engine elements to any Intent Flow.
Adding a Back to NLP Engine Element
You add a Back to NLP Engine action when building or editing an Intent Flow, using the Back to NLP Engine navigation logic step.
At the top left of the Flow Map, click the round Add Steps Toolbox icon. The Add Steps Toolbox opens.
From the Intelligent Assistant Elements group, select and drag the Back to NLP Engine to the desired location on the Flow Map. The Back to NLP Engine element editor is displayed:
In the Name field, enter a unique name for this element.
In the Send Text field, enter the text that should be sent to the NLP Engine at the current point in the Intent Flow.
The entry can also contain one or more variables whose real-time value provides information that is needed by the NLP Engine. For example: an account number, a specific user choice, or an account-related preference stored in a Flow.
Always send a phrase that contains information which can be recognized by the NLP Engine, in accordance with its design and the current conversation.
Click Create. The editor closes and the new element is added to the Flow Map.
Specifying the Intent Name in a Back to NLP Engine Element
Using the Back to NLP Engine element, you can directly call a specific Intent that you want to trigger during the current Intent Flow.
From the Intelligent Assistant Elements group, select and drag the Back to NLP Engine to the desired location on the Flow Map. The Back to NLP Engine element editor is displayed.
In the Name field, enter a unique name for this element.
In the Send Text field, enter: SetIntentTo: followed by the name of the Intent you want to trigger at that point in the Intent Flow.
Click Create. The editor closes and the new element is added to the Flow Map.
For example:
To directly trigger an Intent named Account_Balance, create the following Back to NLP Engine element at the desired location in your Intent Flow, as shown below:
![]() |
Editing a Back to NLP Engine Element
Open the Intent Flow containing the Back to NLP Engine element that you wish to change.
From the Flow Map, either:
double-click the element, or
right-click the element and click the Edit
icon from the menu that appears.
The Back to NLP Engine Element editor opens.
Make the desired changes using the editor.
To save your changes, click Update. The Back to NLP Engine element is updated on the Flow Map.
Deleting a Back to NLP Engine Element
Open the Intent Flow containing the Back to NLP Engine element that you wish to delete.
From the Flow Map, select or hover over the element and then right-click.
Click the Trash
icon from the menu that appears. A warning message will be displayed asking you to confirm the deletion.
Click Yes to confirm deletion.