Designing a Watson Assistant chatbot for a website and Facebook Messenger raises some issues due to the different way these channels format the Watson response. I am trying to understand how to deal with this.
Currently, a Watson Assistant dialog node allows responses that include text, image, pause, and an option. So far so good. The problem is that in text response I need:
- add some empty line. In HTML I can use
<br/>
and it works fine on Website but not on Facebook. - add a link. In HTML I use
<a href="">link</a>
while Facebook Messenger render directly the single URL - I need to list an unordered or ordered list. In HTML I can use
ol/li
orul/li
tags in Facebook messenger no. - carriage return. In HTML I can use
<br/>
in Facebook see 1.
How do I deal with these incompatibilities?
I expect to have somewhere best practices documented to write a multi-channel chatbot but I haven't found them.