You have two ways to share a URL that contains variables to your chatbot audience.
You can add a text block from where you share your link or you can use our JavaScript block to redirect automatically your users to a specific URL in a new tab.
In any case, you can pass variables into your URL to customize it.
Please check our article about how to recall information with variables to know everything about variables.
Let's say you created a variable or saved an answer under the variable name parameter.
OR
If you are using our JavaScript block
Add a Javascript block and write this code in it.
window.open("https://yourwebsite.com/{{parameter}}","_blank");
Don't forget to use the {{ }} when you recall a variable.
The "_blank" part makes your link appear in a new tab.
If you are using our block text
Add a text block and create a link using markdown (or not, as you wish).
Example: Go to this [link]("https://yourwebsite.com/{{parameter}}")
Don't forget to use the {{ }} when you recall a variable.
You can test the URL using the preview button.
You are done!
Comments
0 comments
Please sign in to leave a comment.