Individual workflows can be integrated into TS rule processing via the integration of the Power Automate platform. The Flow Connector consists of two components:
Trigger
The flow trigger (Action Trigger) can be used to start a flow associated with an event from TS. The trigger can be named freely and is available directly in TS after saving the flow. Registered flows can be viewed and removed under the “Settings” tab.
The passing of parameters to the flow can be designed as JSON payload via the namespace (“${“) itself. To do this, select the “Start Flow” action in TS in your created rule. Here you can then define the payload yourself. You have access to all relevant data from the flow (team name, ID, members, approvals, metadata…).
Aktionen
The Connector still offers all important actions from TS directly integrated in Power Automate. This means that all important actions from TS can also be used directly in Power Automate (approvals, creation of teams, metadata, etc.).
Beispiel: Genehmigung eines neuen Teams über einen Teams Kanal
Szenario
There is a team in which requests for new teams for a specific area are to be reviewed and approved. Everything should be done within teams.
Lösung
A rule is created in TS that is triggered when new requests are received for a specific workspace. A flow is started as an action and parameters such as the ID of the request, name of the team and the reason for the creation are also passed.
In this example, the workflow creates an Adaptive Card in a channel and waits for a response. Depending on the decision, the actions (approve or reject) are then executed.
With this building block, you can customize Teams Spirit to meet your business needs.