@SyedBilalHasan Hi, The below suggested code are best fit for rasa webchat (rasa open source) as I personally not implement in rasa x.
For URL:
utter_product:
- text: |
We have various products please visit this link [Product] (https://rasa.com/product/features/)
Note: The above code will open the URL in the new browser window.
For Buttons:
As suggested by Chris, buttons are used for sending intent but using intents you can payload the URL, this is an alternative solution. Do check again this code; I have only provided you an basic idea.
In domain.yml
intent:
- rasa
utter_enquire:
- text: For specific enquiries please select the option
buttons:
- title: rasa
payload: /rasa
- title: rasa-x
payload: /rasa_x
utter_rasa:
- text: "[Rasa](http://forum.rasa.com)"
In stories.yml
- story: rasa enquire path
steps:
- intent: rasa
- action: utter_rasa
If you have any doubts regarding code or idea; do let us know. Hope this will give you better idea and solve your issue. Good Luck!