Skip to main content

Notifications

Community site session details

Community site session details

Session Id : UAVTAxjHzVwS7MeQdW9IWy
Power Automate - Building Flows
Answered

Constructing an Email Hyperlink

Like (1) ShareShare
ReportReport
Posted on 2 Nov 2023 17:21:06 by 29

I've tried a few solutions from similar topics in the past, no joy.

 

I am building a simple power automate flow that monitors an inbox, and if it sees a specific Subject trigger phrase, it sends out an email to the "From" of the previous email. In the body of the email, I am trying to create a hyperlink that goes to a brief Google Form through a "pre-filled" url link.

 

I want to manipulate the pre-generated link to pre-fill in the customers email address and the technician they worked with ("From" and "CC" on the parent email)

 

But I can't get the final email to have an actual clickable URL. It constructs everything fine, but its just plain text.

 

When I try to roll it into an actual "hyperlink" using the little Link button, it creates a clickable URL, but it breaks the dynamically constructed content.

 

Thoughts?

NADamewood_0-1698945701525.png

 

  • NADamewood Profile Picture
    29 on 06 Nov 2023 at 13:46:04
    Re: Constructing an Email Hyperlink

    I am struggling to snip out the last line of my source emails, do you have tip on the command I should use to grab the name at the end of the following email? They are always formatted the same;

    NADamewood_0-1699278333157.png

     

  • trice602 Profile Picture
    13,768 Super User 2025 Season 1 on 02 Nov 2023 at 20:11:19
    Re: Constructing an Email Hyperlink

    Hi @NADamewood 

     

    Nice!  I am happy we worked this out together! 😀

     

     

  • NADamewood Profile Picture
    29 on 02 Nov 2023 at 20:06:19
    Re: Constructing an Email Hyperlink

    I just forwarded the generated emails to my Gmail as well, and boom, there are the clickable URLs. My company has some funky protections in place preventing URLs from being URLs. Looks like you were in fact the solution, thanks for the help today!

  • trice602 Profile Picture
    13,768 Super User 2025 Season 1 on 02 Nov 2023 at 19:27:05
    Re: Constructing an Email Hyperlink

    Hi @NADamewood ,

     

    I don't have an answer for that.  This does work for me in Outlook 365 and also just tested through Gmail and works there too.  Please consider marking my compose and concat() expressions as a solution if you found this helpful so others can find this too!  This is a frequently asked question.

     

     

  • NADamewood Profile Picture
    29 on 02 Nov 2023 at 19:16:08
    Re: Constructing an Email Hyperlink

    That also just generates regular text for me... Hrm. Maybe its a setting in my Outlook 365? I don't see anything in there about displaying HTML or plain text.

     

    If I physically press a link button and insert a link, it does show up as a link though.

  • Verified answer
    trice602 Profile Picture
    13,768 Super User 2025 Season 1 on 02 Nov 2023 at 18:04:45
    Re: Constructing an Email Hyperlink

    Hi @NADamewood ,

     

    Here's mine:

     

    trice602_0-1698948131057.png

     

    trice602_1-1698948156009.png

     

    trice602_2-1698948189335.png

     

    concat('https://',outputs('Compose'),'.',outputs('Compose_2'))
     
    trice602_3-1698948226179.png

     

     

    trice602_4-1698948262231.png

     

     

     

  • NADamewood Profile Picture
    29 on 02 Nov 2023 at 17:37:04
    Re: Constructing an Email Hyperlink

    Could you provide a quick example? I tried using the Compose and it's output, but I didn't see any change.

     

    It built the link just fine, but it didn't create a "clickable" link, it was still just text.

  • trice602 Profile Picture
    13,768 Super User 2025 Season 1 on 02 Nov 2023 at 17:28:38
    Re: Constructing an Email Hyperlink

    Hi @NADamewood ,

     

    What I typically do in this situation is create the entire dynamic link in one or more compose actions above the Send Email (V2) action and in the email body, I reference the output of the final compose output that contains the entire dynamic link.  Please let me know if this helps you keep going!

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 79

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 70 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 48 Super User 2025 Season 1

Overall leaderboard