how to make a button url dynamic based on instance url in virtual agnet

bala_1312
Tera Contributor

In Bot response a button i need and on click of it it will open a catalog item and it is  based on instance url that link should be dynamic . How to achieve this ?  

5 REPLIES 5

jhonleo
Mega Contributor

To make a button URL dynamic in a virtual agent, you can use variables within the bot's response to capture the instance URL. Set the instance URL dynamically by referencing the user's session or environment details. When configuring the button, insert the variable holding the instance URL into the URL field, allowing the bot to generate the appropriate link for each session.