How to add dynamic links in response

Help me out to add links as dynamic which can click, and it’s direct to website in respons

hi @mayuresh

please check this YouTube link

this is not working for me whenever i try to click on attached link it open a google docs and i dont know how to solve it

please help me out

@shreyansh create action file and call this action in your story

class Dynamic_Link(Action):

def name(self) -> Text:

    return "action_dynamic_link"

def run(


    dispatcher: CollectingDispatcher,

    tracker: Tracker,

    domain: Dict[Text, Any],

) -> List[Dict[Text, Any]]:

    """dynamic hyperlinks are created for chatbot dispatcher"""

    Link_google = "https://"


        f"1.please check the link.{Link_google }"

hope this will help.

thanks it is working now

1 Like

@shreyansh Glad it solved your issue. please close this thread.

                  selector: "#webchat",
                  initPayload: "/greet",
                  tooltipPayload : "/chatbot_intro",
                  tooltipDelay: 50000,
                  customData: {"language": "en"},
                  socketUrl: "http://localhost:5005",

HEY i actually want to ask on more thing,my tooltip and initpayload are not coming different ,either payload or tooltip is coming both are not coming ,what to do for this