cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ea1409
Helper I
Helper I

How can I add a hyperlink and send it with in the approval connector in Teams? Link back to the SharePoint item.

hello, does anyone know how it is possible to send from the connector to approve a hyperlink as a "click here" and that this redirects to an item of a sharepoint list

something like this:

asi debe quedar.PNG
Currently I make a table with the name of the file and with the absolute path of the file using the following formula
join(split(item()?['AbsoluteUri'],' '),'%20')

muestra de flujo y vinculos.PNG

 

The problem is that it obviously brings me the complete link.

aprobaciones links.PNG

 

I wish it was shorter but I haven't achieved it yet, I'm putting it in a table so that it can be better visualized in the approval in teams, that's what they ask me, someone knows how it is possible, thank you very much for any information

1 ACCEPTED SOLUTION

Accepted Solutions
ekarim2020
Super User
Super User

You can try using Markdown which is a syntax to add rich formatting to your approval requests.

See: Use Markdown in Power Automate approval requests

 

You can add links using the following syntax:

 

[Link Text](Link URL)

[Power Automate](https://flow.microsoft.com)

 

However, you will need to replace any space characters in the URL with %20 or the link will not work:

Snag_438825.png

Also, add an extra blank line at the end of the link syntax

 

The expression for replacing space characters with %20:

 

replace(item()?['AbsoluteUri'],' ','%20')

 

 

The string variable can then be added to the Details section of the Approval action as shown below:

Snag_452366.png

Here is an example runtime output:

Snag_4a8e1e.png

Hope this helps.

Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
ekarim2020
Super User
Super User

You can try using Markdown which is a syntax to add rich formatting to your approval requests.

See: Use Markdown in Power Automate approval requests

 

You can add links using the following syntax:

 

[Link Text](Link URL)

[Power Automate](https://flow.microsoft.com)

 

However, you will need to replace any space characters in the URL with %20 or the link will not work:

Snag_438825.png

Also, add an extra blank line at the end of the link syntax

 

The expression for replacing space characters with %20:

 

replace(item()?['AbsoluteUri'],' ','%20')

 

 

The string variable can then be added to the Details section of the Approval action as shown below:

Snag_452366.png

Here is an example runtime output:

Snag_4a8e1e.png

Hope this helps.

Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.

Ea1409
Helper I
Helper I

Thank you very much this is what I was looking for 😀

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,760)