Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
excludeRelated

Function node

Place the following code in the function node as shown in the previous image.

Code Block
if(msg.payload.originalDetectIntentRequest && msg.payload.originalDetectIntentRequest.payload && msg.payload.originalDetectIntentRequest.payload.orbitaFreeText) {
 msg.payload.request.intent.slots = {freeText: {value: msg.payload.originalDetectIntentRequest.payload && msg.payload.originalDetectIntentRequest.payload.orbitaFreeText}};
}
return msg;

Textbox Directive

The Free Text input option is available in the Single Input control of Flow studio.

...

Warning

The Free Text input will not work in voice-based bots. It only works in Chatbots. The same is displayed in the warning text.

...

Changes in Dialogflow

The following event should be present in the OrbitaFlowMessages intent in Dialogflow.

FlowMessageFreeTextEvent

...

Changes in Orbita Intent

OrbitaFlowMessages intent in Orbita should also contain the same event.

...

The Free Text Input box will not appear in the chatbot. You can type your free text directly in the text input area.

...

Related Articles

Filter by label (Content by label)
showLabelsfalse
max5
sorttitle
showSpacefalsesorttitle
cqllabel = "flow-studio"