Not able to send response back from instant app
Summary
Not able to send response back from instant appContent
I have created a bot with following code
metadata:
platformVersion: "1.0"
main: true
name: "AshishBots"
context:
variables:
welcomeMessage: "showWelcomeMessage"
messageResponse: "string"
iResult: "nlpresult"
states:
intent:
component: "System.Intent"
properties:
variable: "iResult"
confidenceThreshold: 0.4
transitions:
actions:
Welcome Message: "showWelcomeMessage"
Visa Tracking: "checkVisaStatus"
unresolvedIntent: "unresolved"
showWelcomeMessage:
component: "System.List"
properties:
options: "${welcomeMessage.type.enumValues}"
prompt: "Please select from following option"
variable: "welcomeMessage"
transitions: {}
checkVisaStatus:
component: "System.Interactive"
properties:
sourceVariableList: "welcomeMessage"
variable: "messageResponse"
id: "Visa_Tracking_App_1"
prompt: "Please click on the link to track your visa"
transitions: {}
instantAppOutput:
component: "System.Output"
properties:
text: "Your passport number is '${messageResponse.value.passportno}'"