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

Approval Respond Link - Convert it into Hyperlink in mail

Hello to all,

 

I have developed a flow to send an approval and wait for it. In parallel there is a reminder mail every day redirecting to submit the approval in case missed.

The respond link redirecting back to the original flow which you add in the mail becomes a string and not a clickable hyperlink,

need help to convert the Respond Link string into a Hyperlink.

 

For reference - Need to convert below https string into hyperlink. 

aakif_aslam_0-1656914212001.png

 

 

Thank you.

 

 

 

 

@Pstork1 

@eliotcole 

@takolota 

@chrisingh42188 

1 ACCEPTED SOLUTION

Accepted Solutions
shoog
Dual Super User
Dual Super User

You could use the following expression in the send email action:

concat('<a href="',outputs('Create_an_approval')?['body/respondLink'],'">Click here</a>')

and use that in stead of the Respond link dynamic content.

View solution in original post

4 REPLIES 4
shoog
Dual Super User
Dual Super User

Within the Send an email action, you can click the Code view icon </> to include html code.

To create a hyperlink you would use

<a href="https://flow.microsoft.com...">Click here</a>
aakif_aslam
Helper I
Helper I

Hi @shoog,

Thank you for the response. 

I have tried that approach earlier.

aakif_aslam_0-1656918938017.jpeg

aakif_aslam_1-1656919172139.jpeg

If you can see in the snapshot above Respond link is a dynamic response, I do not have the https link with me to embed in <a> tag.

If the link is generated in the real time how do I store it in a variable and convert it into a hyperlink ?

 

shoog
Dual Super User
Dual Super User

You could use the following expression in the send email action:

concat('<a href="',outputs('Create_an_approval')?['body/respondLink'],'">Click here</a>')

and use that in stead of the Respond link dynamic content.

aakif_aslam
Helper I
Helper I

Hi @shoog ,

 

Thank you for your quick support, problem is resolved.

Now there is one issue  - Is it possible to remove Reassign from the options ?  It is already assigned to a user, he/she cannot assign this to anybody.

aakif_aslam_0-1656921978362.png

 

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
Top Kudoed Authors
Users online (4,472)