cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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.

Anonymous
Not applicable

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

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,907)