Use your KBAI source URL in a button
Learn how to display the source of your KBAI answer inside a URL button.
Last updated
Learn how to display the source of your KBAI answer inside a URL button.
Last updated
When your bot retrieves an answer from your knowledge base, this answer exists within a variable that also contains a link to the source of this answer. This source is either a PDF name or link to an URL.
In the case of an URL source, this URL link can typically be used as a button within the bot conversation.
To use the KBAI URL within an answer:
Create your Text message.
Add a button that displays the following variable: {knowledgebase.contentUrl}
. Your bot message should look similar to this one:
Your final result should be similar to this: