Hi, I use a webhook to GET an online JSON sucessfully (I know). Then I ask a user a question. Then I am running the following code.
Inputs:
a = {{webhook result}}
b = {{question result}}
And my code is:
var a = inputs.a;
var b = inputs.b;
var result = a.b;
resolve(result);
then I have a message with content {{code result}}, I have a very simple JSON of the form
{
“X”:“x”,
“Y”:“y”,
“Z”:“z”
}
and the answer to the question is “X”, so the bot should say “x”, however I get no such message from the bot.
Any ideas? I’ve been stuck on this for a while