Jump to content

MS Teams Integration - Posting a message to a channel and using the @mention


Recommended Posts

Hi everyone,

We have a workflow that posts any new change requests and updates to a Microsoft Teams channel. We want to mention the channel using the @mention command whenever updates occur. We've tried various options to tag the channel, but it always ends up as plain text @change notifications rather than a proper channel tag/mention.

Has anyone successfully tagged a channel? If so, what HTML code did you use?

Thanks,

Dan

Link to comment
Share on other sites

Hi @Dan Brown,

Normally HTML code can be used to enhance the Teams message sent.

That being said, adding tags/mentions is a little more involved (see: https://techcommunity.microsoft.com/t5/teams-developer/can-we-create-tag-inside-team-using-graph-api/m-p/1200381 (*)) which we are currently NOT catering for in our use of the API.

(*) The payload being sent to Teams wouldn't just be the (HTML) message, but also placeholders and definitions for each of the mentions.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...