I have defined a flow with the nlu_trigger and intent, and I have added also the NLUCommandAdapter. However, when I use the HTTP API to trigger the intent, the flow does not get activated, but I just receive the proper response for code 200. Am I doing it wrong or can we not use the trigger intent to start a flow?
Here is my flow definition:
guest_introduction:
description: This flow is called by something else. you can ignore this flow.
always_include_in_prompt: false
nlu_trigger:
- intent: guest_introduction_intent
steps:
- action: utter_I_am_robot
next:
- if: slots.guest_name
then:
- action: utter_guide_guest
- set_slots:
- guest_name: null
- location_in_kb: False
- source_location: null
next: END
- else:
- collect: guest_name
- action: utter_guide_guest
- set_slots:
- guest_name: null
- location_in_kb: False
- source_location: null
next: END
and this is how I am triggering the intent:
curl -X POST http://localhost:5005/conversations/default/trigger_intent -H "Content-Type: application/json" -d '{"name":"guest_introduction_intent"}'