Skip to main content
Best answer

How do I post a Teams message in HTML format to make URL links clickable?

  • September 20, 2020
  • 83 replies
  • 28636 views

Hi,

is there a way to post a Teams message as html format?
Currently it’s as text only and so e.g. URL links aren’t clickable atm when sending an automatic message to someone.

Maybe a switch which sets the content-type of the message to html or test if preffered would be very handy :)
Have a nice sunday!

Best answer by SamB

Hi there, folks! 👋

Thanks again for everyone’s patience here. I’m back with another update to share that the team have recently shipped some changes to the Microsoft Teams app which has fixed it. And so it’s now possible to use both HTML and markdown when sending messages with the Microsoft Teams app! 

If you have any trouble in selecting or using those new formatting options please do reach out to the Support team using the form here: https://zapier.com/app/get-help 🙂

View original
Did this topic help you find an answer to your question?
47% found this helpful
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

83 replies

Danvers
Forum|alt.badge.img+12
  • Zapier Staff
  • 3731 replies
  • September 21, 2020

Hi @Julez! I moved your post to a new thread as it’s a little different to the original question and we can answer your question more clearly in a new post 🙂

 

The short answer is that html isn’t possible but you can add links. You can add links using something markdown language. Markdown is a common language across the internet and is another way to add formatting to text. 

 

To add a link to text using markdown, type the word or phrase that you want to link in square brackets, then the url in curved (regular) brackets, like this:

 

[here’s the text that I want to link](https://heresthelinkitgoesto.com)

 

GitHub have a super handy ‘cheat sheet’ for Markdown that I find helpful: Markdown Cheatsheet (from GitHub)

 

Have you tried out the new Zapier app in MS Teams? It lets you view, create, and edit Zaps right within Teams. If you look in the MS Teams app store you should be able to find it and if you’d like to learn a little more, we announced it in the news category a little while back. 

 

If you do install the Zapier Teams app, drop me a DM and I’ll add you to a group where you can share your feedback about the app in the Community 🙂

 

 


  • New
  • 1 reply
  • October 5, 2020
Danvers wrote:

> To add a link to text using markdown, type the word or phrase that you want to link in square brackets, then the url in curved (regular) brackets, like this:

Hi@Danvers, for me this is not true, at least not with my configuration. If I send a message with “Send Chat Message in Microsoft Teams”, the markdown is printed as a string with [](). Do you know what to do in such a case? Thanks :)

 

 


steph.n
Forum|alt.badge.img+8
  • Builder
  • 899 replies
  • October 8, 2020

Hi @sefzig - Could you send a screenshot and details of where you’re seeing that Markdown in your configuration? We need to verify what’s happening for you so that we can let the team know. Thanks!


  • New
  • 3 replies
  • November 6, 2020

I am hitting this same problem. I think the problem is that sending CHAT messages in MS Teams always sends the message as plain text, not markdown, so there is no way to format it.

 

If you send CHANNEL messages, there is an option to change the format to markdown, which allows for formatting.

 

Would it be possible to add the text format option for MS Teams CHAT messages as well?


Wemakefuture
Forum|alt.badge.img+8
  • Zapier Expert
  • 166 replies
  • November 9, 2020

Did you try to send HTML code?  @azbctxks 

@Julez 

Try this as custom value

 

<a href="https://zapier.com/" target="_blank">Zapier is amazing</a>

 

If you can click it now you can create HTML blocks and insert your values from previous App steps.


  • New
  • 3 replies
  • November 9, 2020

@Wemakefuture Yes, I tried html and it comes through as text:

 

The problem is that the content type is always text when you are sending a chat message. There is no way to change it to html, markdown, or anything else:

 


  • New
  • 3 replies
  • November 9, 2020

@Wemakefuture  Yes, I tried html and it still comes through as text:

 

The problem is that any time you send a chat in Teams, it is sent as text:

 

It would be nice if the default was html or markdown to allow formatting, or just if the option to change the format was available like it is for channel messages.


Wemakefuture
Forum|alt.badge.img+8
  • Zapier Expert
  • 166 replies
  • November 9, 2020

@steph.n can you please move this to the Devs? To let the user select, which contentType they want to post?


steph.n
Forum|alt.badge.img+8
  • Builder
  • 899 replies
  • November 9, 2020

Hi there @Wemakefuture - So that I know how to help, I’m not sure what you mean by “move this to the devs.” Are you requesting a feature request here? Please let me know. Thanks!


  • New
  • 1 reply
  • January 17, 2021

I am using Teams (beta) with Linux (Ubuntu). With Gnome terminal, there is a “copy as HTML” option, which embeds it and when I paste into Teams, it’s recognized.  However if i paste it into a text editor, the buffer became HTML code and when I copy/paste the HTML code into Teams it’s not converted, just showing as plain HTML code.

 

Hope this helps a bit.


  • New
  • 1 reply
  • April 26, 2021

I am hitting this same problem. 
Did anyone found a solution for this ? 


Forum|alt.badge.img

Hitting the same issue here too. MS Chat messages show all text, HTML Mark or Mark down just appears in it’s raw form, whatever I try. 

A solution would be good, as I cant even do new lines at the moment.


  • New
  • 1 reply
  • June 23, 2021

When sending to channel you have the ability to select the formatting type.

View of Channel Message Options

 

But when you send the Chat Message, you don’t have the same options.

View of Chat Message Options

Only plain text is possible. Please extend the same formatting option to Chat Messages as you have to channels. 

 

*P.S.- The only reason most of us are using Chat Channels is because you can’t use a webhook to push to a private channel. I don’t need everyone in the team getting alerts, and I don’t want to make a new team to subscribe to alerts. 


Troy Tessalone
Forum|alt.badge.img+14

Hi @FLIT 

You can submit a feature request for this to Zapier Support here: https://zapier.com/app/get-help


Forum|alt.badge.img

Is there a feature request already logged for this or should all of us on this thread log one?

MS are phasing out Skype for MS Teams in Windows 11 and this feature is going to quickly become essential.


nicksimard
Forum|alt.badge.img+11
  • Zapier Staff
  • 2115 replies
  • July 1, 2021

Hi @AshleyMorris @FLIT @Vyto @fchen @azbctxks @sefzig @Julez!

We have an existing feature request for adding HTML/Markdown support to the Send Chat action in Microsoft Teams. I’ve added all of your votes to that, which means you’ll receive an email notification when it gets implemented :)


nicksimard wrote:

Hi @AshleyMorris @FLIT @Vyto @fchen @azbctxks @sefzig @Julez!

We have an existing feature request for adding HTML/Markdown support to the Send Chat action in Microsoft Teams. I’ve added all of your votes to that, which means you’ll receive an email notification when it gets implemented :)

Please add me to this notification 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7452 replies
  • August 18, 2021

Welcome @Patrick Atkins! :)

I’ve just added your vote to that feature request. We’ll be in touch with you via email as soon as we have an update!  


SamB wrote:

Welcome @Patrick Atkins! :)

I’ve just added your vote to that feature request. We’ll be in touch with you via email as soon as we have an update!  

Hi Sam, 

 

Could you please add us to the list for this feature request as well, please?

 

This is very important to us - otherwise the “Send Chat” feature is pretty much broken at this point without the ability to properly format messages.

 

Thank you!


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7452 replies
  • October 14, 2021

Sure thing, @uob_international! Happy to confirm that I’ve added your vote as well. We’ll email you once it’s been added. :)


Hi Sam,

 

Please add us to the notification as well, this feature is eagerly awaited at our company.

 

Thanks


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7452 replies
  • October 15, 2021

Hey @Tick42 Ltd! I’ve added your vote too. We will email you as soon as it’s added. :)

 


  • New
  • 1 reply
  • October 27, 2021

I was scrolling and scrolling hoping a resolution was found at the end.  Nope.  LOL.   @SamB , can I get added to the notification for this as well?  Thanks!


christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • 2653 replies
  • October 28, 2021

Welcome to the community, @PF_Devs! Sorry about the endless scroll but glad you’re here!

Absolutely, I got your vote added to that. We’ll send you an email and keep this thread updated as soon as we know more. 🙂


  • New
  • 1 reply
  • November 9, 2021

Please add me to this notification