Use your KBAI source URL in a button
Learn how to display the source of your KBAI answer inside a URL button.
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:

Last updated
Was this helpful?
