Hello,
since Microsoft is retiring the Incoming Webhook connectors (and yes I have read that they postpone the retirement, but still we need a usable solution until the end of next year), I have tried to migrate our company webhooks to the Teams Workflow app. Our current webhook posts a message in a channel in our team.
However we have two problems with the flow that is created by the suggested "Post to a channel when a webhook request is received" template:
- The flow is only available for me personally. I have added the Workflow app to the channel, but when I add a flow there, it stays empty in that tab and the flow was added to my personal flows instead. I believe that I need to choose the channel/team as the connection inside the flow, but I can only add myself as the connection. How do I choose the team as the connection? (Please dont recommend me to just "share" the flow with my colleagues, because 1. I cannot choose the whole team there and I cannot add each user one by one and 2. it would still use MY connection, so everyone could post stuff with my account, that is a no go).
- When the flow is triggered and uses the "Post card in chat or channel", it uses my username as the sender in that channel as "[MY NAME] via Workflows". I do not want it bound to me, since it is an application that sends the message and if I leave the company we do not want to change every single webhook. So how do I let an application/bot be the sender of the message?
Sadly I cannot find any documentation for these things. The link above only mentions "it works via workflows", but not where we can find it. Since the old webhooks could do all this and you deprecate them, you should advice us on how to implement the same functionality with your new tool.
I realize that the deprecation has been postponed, but that still means we need to migrate one day, so we need a solution for this.
Thanks in advance!