cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

put a string containing a URL link into a flow expression

Hello,

 

I am wondering what the expression format is for displaying a string containing a link to a url.

 

I would like to send an email that uses dynamic content to determine which link to display.  I have gotten this far:

 
if(equals(body('Get_item_-_New_Applicant')?['JobTitle'],'Program Manager'),'https://forms.office.com/Pages/DesignPage.aspx?xxxx')
 
It will display the link, but I'd rather have it display a string containing the link.
 
Thanks!
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: put a string containing a URL link into a flow expression

Hi @Murderbot,

 

It seems that you want to include a hyperlink in email.

You could use this format to configure If() function:

if(true,'<a href="http://www.google.com">This is a url</a>','1')

Conditions you can set yourself, mainly using the "<a></a>" tag for the part that contains the link.

Test Results:

11.PNG

 

Note: When configuring Send an email action, need to set Is html to Yes.

 

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: put a string containing a URL link into a flow expression

Hi @Murderbot,

 

It seems that you want to include a hyperlink in email.

You could use this format to configure If() function:

if(true,'<a href="http://www.google.com">This is a url</a>','1')

Conditions you can set yourself, mainly using the "<a></a>" tag for the part that contains the link.

Test Results:

11.PNG

 

Note: When configuring Send an email action, need to set Is html to Yes.

 

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (9,855)