I'm going through the Botpress Basic video tutorials, number 17 Capture Multiple Variables, and the code is displaying within the chat reply on some, but not all, even though they follow the same settings. All within one Standard Node:
Raw input: Can I have your name, email and favorite color?
Person name card: store result in workflow.Name, extract from history 1
Email card: store result in workflow.email, extract from history 1
Color card: store result in workflow.color, extract from history 1
Text card:
Your name is {{workflow.Name}}
Your email is {{workflow.email}}
Your fave color is {{workflow.color}}
In the emulator, raw input card asks the question, I answer "Mable, mable@gmail.com, green", Log indicates captured variable for all three variables. Chat replies:
Your name is {
"first": "Mable",
"last": null
}
Your email is mable@gmail.com
Your fave color is {
"colorName": "Green",
"hexCode": null,
"rgb": null
}
What have I done wrong? I also tried "@workflow.Name" and "{{workflow.Name.first}}" but that flags red.