|Specify the triggers messages for this flow. You can type multiple messages using the ‘;’ delimiter.
Trigger Messages of the Flow help train the AI engine to recognize the intents in user input.
I. The "Greetings" Flow of a conversational instance can be defined as follows.
The Trigger messages are the following:
When the intent is detected, the Flow is executed as it has been modeled.
In this example, a Conversational Object is executed: "GreetingsProcedure". It returns a &Greeting depending on the time:
&datetime = now()
if &datetime.Hour() >= 12
&Greeting =!"Good afternoon!"
&Greeting = !"Good morning"
In order to display the greeting to the final user, the Messages property uses the &Greeting contextual parameter.
II. The Trigger messages can include the reference to an entity, which is represented as @EntityName.
That means that the trigger message may match with any value of the entity.
This property is available since GeneXus 16 (Tero).
Objects: Conversational Flows