When you drag in a Microsoft Teams Trigger for the first time, follow the prompt to authorize access.
Select a linked workspace, or add a new one.
Choose which event(s) will trigger your program
Channel Events: Monitor all or specified channels in your workspace.
A message was posted to a channel
A message was posted to a chat
You can scope the trigger to a specific channel and/or user, or allow the notification to fire for any channel and/or user.
Select what event data you would like to retrieve as a program variable and set default values.
The Microsoft Teams Channel, Slack User, and Raw JSON Data from the Slack event are always available as outputs.
If you chose the "message was posted to a channel" event type, the Microsoft Teams Message Text will also be available.