Best answer

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

  • 20 September 2020
  • 83 replies
  • 23587 views


Show first post
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

Userlevel 6
Badge +7

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

Userlevel 1

@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.

Userlevel 1

@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:

 

Userlevel 6
Badge +7

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.

Userlevel 1

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?

Userlevel 7
Badge +8

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!

> 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 :)

 

 

Userlevel 7
Badge +12

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 🙂