How do you present a hyperlink to the user in a web chat? I want to be able to show a hyperlink and move on in the flow. I can add a URL in a button but that stops the flow.
Completed
Presenting a URL in a Webchat

Didn't find what you were looking for?
New post-
Official commentAlexander Teusz (Cognigy)
Hi Mike,
thanks for your request. Displaying links in the webchat is a pretty common use-case, so here is the answer:
The webchat is a website as well, so that all of the contained components, such as the message bubbles, are website elements. Thus, one can use HTML inside a Say Node to display a link in the webchat. This could be done like the following:
HTML Link = <a href="https://www.cognigy.com" target="_blank" style="color: white;">Click me</a>
An example Say Node could look like this:
This will be displayed in the webchat like:
Please let me know if that works for you.
Best
Alex
-
Michael Hollaus
Hi Alex, just tried your solution and it doesn't seem to work - any ideas why? Regards Mike
0 -
Alexander Teusz (Cognigy)
Hey Michael,
Can you please send your Say Node configuration here so that I can check this ?
Best
Alex
0 -
Kiko Claudio R
Hello,
I was looking for this. thanks.
Interaction Panel/simulator shows pure html text output.
However, in order to see the rendered html output, (tested on 4.7.1) the execution needs to be on the actual production / "deployment" (Deploy/Endpoint/Webchat) .
thanks.
Kiko
0 -
Michiel
Hi @Alex,
I am having the same issue, i.e. I used your code but the output of the Say node is just the code with the link embedded in it.
What should I do?
0 -
Alexander Teusz (Cognigy)
Hey Michiel,
Did you follow the instructions from Kiko above? The HTML is only available in our Webchat endpoint.
Best
Alex
0 -
Michiel
Hey Alex,
Yes, now it works. I missed Kiko's comment.
Thanks.
Kind regards,
Michiel
0
Please sign in to leave a comment.
Comments
7 comments