Forum Discussion
Oskar Kuus
Sep 06, 2018Iron Contributor
Flow - Teams : Rich messages based on Forms data (JSON)?
Hey How can i use microsoft flow to create good looking posts in Microsoft Teams I have read about something called JSON and something called webhooks and creating rich cards in microsoft te...
Anonymous
Sep 06, 2018So the easy way that I do is load up the App studio editor app in Teams, then inside of that app is a tab for Card Editor, you can easily generate a card look there and copy it, then just insert your dynamic data to get a good looking card.
Oskar Kuus
Sep 06, 2018Iron Contributor
Thanks, this look very good.
But where do i paste in the code in flow to make it post in teams
can i just use the Teams and post message command in flow?
screenshot: http://prntscr.com/krgfe1
- AnonymousSep 06, 2018Yes. However, unless they fixed it, unfortunately using FLow to post a message in Teams doesn't trigger notifications / activity bell for users. So if that's a requirement you need to look at creating a web hook, that posts this same JSON and then subscribe to it with connector on the channel you want them to go into, that will give you notifications.
- AnonymousSep 06, 2018Another good resource for this if the flow still isn't posting notifications. Kind of touches on that, it's what I used when I was messing with this, was pretty easy to create a Webhook to use.
https://davidlozzi.com/2018/03/01/posting-to-teams-incoming-webhook-verses-teams-post-message-in-flow/- Oskar KuusSep 06, 2018Iron Contributor
thanks for many good ideas.
i need to first make sure i get the posting to work before modifying it.
currently i do not get it to work
screenshot: http://prntscr.com/krgily
this just postes the JSON code to teams
So no card being created.