cancel
Showing results for 
Search instead for 
Did you mean: 

Send Email (V2) Preview does not add hyperlinks to email alerts

Hi All,

I haven't created a FLOW in a few weeks and I was SOOOO excited to finally see a true HTML editor in FLOW Smiley Happy  Its wonderful I do not need all HTML formating, but it lost the ability to add a hyperlink without the displaying the full path, causing me to have to bail and go back the original Send Email task and HTML Smiley Sad

 

 

I always add a link back to the list item in the alert so my users can do everything right from the email.

 

I added some text and the "Link To Item" Dynamic content, but it displayed as the actaul link nothing freindly to look at.

SendEmailV2_OOTB.jpg

Please click link to go to the item: https://Blah.sharepoint.com/Blah/_layouts/15/listform.aspx?PageType=4&ListId=d826e68c-7bf7-48ba-a585...

Your system removed the actiual HTML

 

I the tried to use the "Add a link" from the tool bar but there is no way to put the "Link To Item" in the hyperlink.  

 

I even went back to the old fashioned way and tried to add <A HREF=></A>.

 SendEmailV2_HREF.jpg

which results in :

<A HREF="https://Blah.sharepoint.com/Blah/_layouts/15/listform.aspx?PageType=4&ListId=d826e68c-7bf7-48ba-a585...">Please click here to go to the Item</A>

 

We need a way to create a nice looking Hyperlink in Send Email (V2).

It's almost there keep on working on FLOW!!

 

TIA,

Joe

Status: New
Comments
Level: Power Up

Yes, it can.

 

Type in the text you want, highlight it then click the link button. 

It will allow for a link title, and the link target. 

 

 

 

 

Level: Powered On

Hi @Danny_Price,

Yes that will work if I have a static address for all alerts that go out. 

My issue is that it does not allow for dynamic content.  I am trying to create a link back to the sharepoint item which does not work in V2 as I showed in my original post.

 

Thanks again,

Joe

 

 

Level: Powered On

As @jaylou reminds us, including dynamic URLs in outgoing emails and approval requests is essential. Modern users expect these types of emails to be clean, direct and well-formated.

 

The 'create link' UI option in the Send an Email v2 is a nice addition, but doesn't accomodate anything dynamic (regular expression, Flow variables, etc) in the URL structure.

 

Current workarounds (that I can think of):

  1. Edit the source JSON (w/ flowstudio), locate the send email action, and edit the URL composition manually
  2. Dump the entire URL into the message body, with variables (works, but ugly - especially w/ the length of typcial SharePoint URLs!)
    approvalLog2.jpg
  3. Use markdown - very cumbersome if the dynamic URL you're creating has special characters (you need to escape some types) - I cheated here and used a non-modern destination:
    markdownEmailURL.jpgusing markdown for dynamic URLs in Flow
  4. One other that I forgot while making that screenshot Smiley Tongue

Bottom line: none of those workarounds are desirable (or perfect) - expressions and Flow variables would be a very nice addition to the native UI for email link creation

 

Level: Powered On

Small footnote: the markdown method doesn't seem to be offering much hope in this case (i'm guessing it's not supported in v2 email action?)

Level: Powered On

Today I was able to validate method one as a workaround (Edit the source JSON (w/ flowstudio), locate the send email action, and edit the URL composition manually).

 

<span style=\"font-size: 11px\"><a href=\"https://yourtenant.sharepoint.com/sites/yoursite/Lists/Approval%20Log/DispForm.aspx?ID=@{body('Log_Approval_Success')?['ID']}\">Test</a></span>