watson-developer-cloud / node-red-labs

Node-RED labs on the use of the Watson Developer Cloud services
MIT License
209 stars 367 forks source link

Conversation - missing welcome message #201

Closed gxvigo closed 7 years ago

gxvigo commented 7 years ago

Hi There, I am testing the conversation flow (https://github.com/watson-developer-cloud/node-red-labs/tree/master/basic_examples/conversation) and I am experiencing a problem with the welcome message. When I load the bot page, the welcome message from my Conversation doesn't show up. While if i enter some text, it's picked by my Conversation and the response is shown in the tool. When I test my Conversation in the Conversation tool, I receive the welcome message.

Any clue where the problem could be?

Cheers, Giovanni

chughts commented 7 years ago

You will need to make a couple of modifications to the flow. First reconfigure the conversation node to allow it to permit an empty payload. Second modify the on load javascript in the html template to open the conversation with an empty string.

gxvigo commented 7 years ago

Thanks, I did the first, but not the second. I'll give it a try. Cheers.