The more I explore Office 365, and it's options on integration, the more I love it. I've been very focused on using Flow for my integration stories, which, for the most part, works just as expected. I came across this article which has re-introduced to me the idea of using web hooks to post to Teams. Starting Microsoft Teams conversation on items from SharePoint list. In this article, instead of using the Teams Post message action, the writer decided to use an Incoming Webhook. I instantly remembered this option was here and thought, huh, what's the difference with what I've been doing?
My examples here come from my existing Flow I created earlier.
What is the Incoming Webhook?
Basically, it's a URL provided by Teams for any service to use to post content with the goal of sharing that content in your team's channel.
When you configure it, you get a URL which you can then post a JSON request to. (JSON is a long formatted string that helps standardize data.)
The final output, or the post in Teams, is a pretty card, similar to:
The Flow action looks like this:
What is Microsoft Teams - Post message action in Flow?
This is a specific action in Flow for writing to your team's channel. This is a wee bit more basic and will suffice for most business users. When you use this action, all you get is a single open field, in which you can put HTML to make your post look a little prettier:
And it's Flow action looks like this:
What I like about the Incoming Webhook
The incoming webhook might be my new favorite way to post to Teams:
But beware
What I like about Teams Post message in Flow
This still may fit in some basic flows:
But beware
Which one should you use?
As always, it depends on your need. If you simply want to quickly post an update, use the Teams Post message action. If you want it cooler looking, functional, use the Incoming Webhook.
Resources:
Some nice resources from Microsoft and the community on understanding the incoming webhooks more!
Done!
What do you think? Which method will you try next?
This post was originally posted on davidlozzi.com. Check out some other Flow ideas on my blog! https://davidlozzi.com/microsoft-flow/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.