We are trying to enable our customers to book a meeting with our bot, bot should then automatically send mail with date time and meeting link to them. The problem is that when bot is taking entites and coded correctly task is getting discarded. This is how it is coded
And this is how it look in chat
@novakdzamic
The body is defined as JSON but the content is not in JSON format. Can you please try and use a JSON format?
Also, you may not use import, etc. in a service node body. It is not supposed to be a nodeJS code.
You will need to use something like the below in the body -
{
"client_name" : {{context.entities.ClientName}},
"client_email" : {{context.entities.ClientEmail}}
}
etc.
I dont think this is working
@novakdzamic
Please ensure complete payload is configured and the right values are passed for the test to work.
You were right, code works just fine but there is an real issue
This is what I constantly get when I test bot