cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate V
Advocate V

Unable to insert clickable URL in Teams post from Flow Bot

If I use the old "Post to Teams Channel" action, I can wrap a url in the <a href="http://blahblah">Click here</a> html code, but I cannot @ a user using the new <at>username@emailaddress.com</at>

 

So I am using the posting as a flow bot. It does the @ correctly, but the HTML is ignored and it just posts the URL as an unclickable length of text. Even if I am using dynamic data from a Power BI connector, which provides a Tile URL, even that gets expanded into 3-4 lines of text.

Any ideas?

14 REPLIES 14
Highlighted
Super User II
Super User II

Re: Unable to insert clickable URL in Teams post from Flow Bot

Have you checked the Formatting text content in the Microsof Teams API documentation? Specifically the Examples of text formatting, which mentions hyperlink formatting: 

[Bing](https://www.bing.com/)

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Highlighted
Advocate V
Advocate V

Re: Unable to insert clickable URL in Teams post from Flow Bot

Nope. Didn't work. Posted the entire thing as plain text. Smiley Sad

 

image.png

Highlighted
Resolver I
Resolver I

Re: Unable to insert clickable URL in Teams post from Flow Bot

I'm having the exact same issue!

 

 

Highlighted
Advocate V
Advocate V

Re: Unable to insert clickable URL in Teams post from Flow Bot

I added it as an idea here with the tag bug. This seems to be a bug given it converts dynamic content urls added to a flow to plain text. Please vote for it. If there is another place to post about bugs, please let me know.

Highlighted
Super User III
Super User III

Re: Unable to insert clickable URL in Teams post from Flow Bot

I assume Microsoft have fixed it because adding the link with the <a href=""....etc in the flow now creates a clickable link in the Teams channel for me.

Rob
Los Gallardos

1-Post as Flow bot to Teams Channel with clickable link.png

Highlighted
Advocate V
Advocate V

Re: Unable to insert clickable URL in Teams post from Flow Bot

Thanks @RobElliott . I'll go back to some of my flows and test this out.

Highlighted
Helper I
Helper I

Re: Unable to insert clickable URL in Teams post from Flow Bot

Thnk you @Brad_Groux 

This worked for me.

However we will need to put it in the Text Box of the JSON like this:

 

{
"type": "TextBlock",
"spacing": "None",
"text": "[text](link)"
},

Highlighted
Frequent Visitor

Re: Unable to insert clickable URL in Teams post from Flow Bot

Thanks @RobElliott 
I was able to create the link as illustrated and now have a direct link to a new Planner task. I used concat to build the url to the Planner task.

Highlighted
New Member

Re: Unable to insert clickable URL in Teams post from Flow Bot

For me markdown works fine.

 

[Open Document](https://bing.com)

Highlighted
Advocate II
Advocate II

Re: Unable to insert clickable URL in Teams post from Flow Bot

Hi Ed! I noticed your screenshot had a space between [The Text](The Link). There cannot be a space between the brackets and the parenthesis. 

Highlighted
New Member

Re: Unable to insert clickable URL in Teams post from Flow Bot

Work like a charm. Thank you Brad. Now I can insert link inside Flow bot to user message.

Highlighted
Helper III
Helper III

Re: Unable to insert clickable URL in Teams post from Flow Bot

hello , 

 

Have you also tested of this works with send a message as flow bot to an user? 

 

Because i'm trying the same but it gives me plane text. 

 

Highlighted
New Member

Re: Unable to insert clickable URL in Teams post from Flow Bot

I am also using.  Post a message as the Flow bot to a user

 

I have been unable to get the link to come thru as well.

Highlighted
Helper III
Helper III

Re: Unable to insert clickable URL in Teams post from Flow Bot

At the end this works for me:

[Bing](https://www.bing.com/)

Be carefull you don’t have Space between the 2 Parts. 

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (5,243)