Dynamic href links for dynamic pages

I all I am trying to create a email trigger that is sent when a form is submitted. I asked similar question earlier, but that was mainly for the site users when they get an email. In this case, I am sending a message to an admin. The email body must include a link to the dynamic page with the content that was submitted.

I am having trouble figuring out how to add this href to the message I am passing through code. I’m guessing it is fairly simple, but I’m having issues.

How can I reference the specific dynamic page url that is created, and than what method can I use to automatically show that url in the text of the email?

The best way to dynamically handle your hrefs is using template literals:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals