web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow does not generate...
Power Automate
Unanswered

Flow does not generate clickable links for dynamic paths

(0) ShareShare
ReportReport
Posted on by 32

I cannot get Power Automate Flow to post a message with clickable links in Teams messages when the path is a Dynamic path. I tried all these methods described in this post:

A. <a href = "https://blahblah:"> text of link </a>
B. [text of link](https://blahblah)
C. When editing the message card, click the </> icon to switch to "code view" to get HTML to work as HTML.

D. Add Link in message with expression as destination: concat('<a href="',triggerOutputs()?['body/{Link}'],'">',triggerOutputs()?['body/Title'],'</a>')


The first method works fine if you hard-code in a static path, but I need the path to be dynamic. I want to choose one of the options such as "Item Url" or "Link to item". Is there a way to get messages from Flow to post an HTML formatted, clickable link to Teams? I really need this to make the solution usable. Thanks!

Result of flow: un-clickable linkResult of flow: un-clickable linkFlow Message cardFlow Message card

Categories:
  • Gopala_Krishna Profile Picture
    1,495 on at

    @Allie_B 

     

    I have tested the scenario that you have shared and that is working super fine for me as expected.

    Below are the steps that I have followed.

     

    --> Created a flow with manual trigger and added an input action to the flow so that I can specify the URL

    --> Added the teams POST MESSAGE action and clicked on the </>(html view) symbol on the body this will open the html editor here you will see some tags by default, remove all of them and then specify the text that you need.

     

    --> I used the <a href='"></a> method to populate the hyperlink and that worked super fine for me.

     

    Snippet of the flow created and teams message 

    Gopala_Krishna_0-1610204203634.pngGopala_Krishna_1-1610204242024.png

     

    If the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved.

     

  • Allie_B Profile Picture
    32 on at

    Thanks for your reply, @Gopala_Krishna! I got the message posting with a dynamic path and a clickable link in Teams by using the action Post a message as the Flow bot to a Channel.

  • Steve0 Profile Picture
    Microsoft Employee on at

    @Allie_B can you post your final solution? I am having the same issue creating a dynamic clickable link in a Teams chat message. I tried @Gopala_Krishna solution but all I get is a underlined link not clickable.

  • spitch Profile Picture
    3 on at

    I found that if I switched back out of HTML view after adding the dynamic link it blew up. Looks like the editor was trying to fix what it saw as bad code. Had to leave t in HTML view for link to work. 

  • schmidtj Profile Picture
    9 on at

    I was able to build the link in a Compose action with html and the link to item and that worked, I was having the same problem earlier as well.

  • MichaelDee Profile Picture
    46 on at

    @schmidtj  Could you please share?

  • schmidtj Profile Picture
    9 on at

    @MichaelDee  The Compose action formats the URL and then the output of that is used in the email. Hope that helps. 🙂

    schmidtj_0-1718104851056.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard