Microsoft Teams
Post an alert from a workflow into a Microsoft Teams channel.
A workflow can post an alert into a channel in Microsoft Teams. The alert carries your message as you wrote it, the first rows as a table, and a button that opens the workflow in Flitch. There is no charge for these alerts.
Connect a channel
Teams gives each channel an address that anything holding it can post to. You create that address in Teams and paste it into Flitch. Connecting needs an admin of the space.
Open Workflows in Teams
In Teams, go to the channel you want alerts in. Open the menu beside the channel's name and choose Workflows.
Pick the template
Choose Send webhook alerts to a channel.
Add the workflow
Give it a name, confirm the team and the channel, and add it. Teams shows an address. Copy it.
Paste it into Flitch
In app.flitch.io, open Settings, then Alert channels, and open the Microsoft Teams row. Give the place a name, such as the channel's name, paste the address and choose Connect.
Use it in a workflow
In a workflow, add Send an alert, choose Microsoft Teams, and choose Post here beside the place.
The address is a secret
Anyone who has the address can post into that channel. Flitch stores it encrypted and does not show it again after you connect, so keep your own copy if you need it elsewhere. It is never written into a workflow's run history.
Flitch only accepts an address on Microsoft's own automation hosts, so a place called a Teams channel cannot be pointed somewhere else.
What the alert looks like
A card with:
- the workflow's name
- your space's name
- your message
- the first rows as a table, up to 20, and a count of any more
- an Open in Flitch button
That is the plain alert. A designed one shows its own blocks, with charts and tables drawn by Teams itself: see Design the message.
Disconnect
Under Alert channels, open the Microsoft Teams row and remove the place. A workflow step that posted there stops with a message saying the place is no longer connected. To stop Teams accepting the address at all, delete the workflow you added in Teams.
Troubleshooting
"A Teams Workflows address is on logic.azure.com or api.powerplatform.com" The address pasted is not one Teams gave you. Copy it again from the workflow in Teams.
"Teams no longer accepts this address" The workflow in Teams was deleted or turned off. Create a new one and connect it again.
Nothing arrives and the run says it posted Check the workflow in Teams is still switched on and still points at the channel you expect.