How to set up and use New Teams Channel Message Trigger
Run the workflow when a message is posted in a Teams channel. Follow these steps:
Add a New Teams Channel Message Trigger: Create a workflow with a New Teams Channel Message Trigger, use an existing workflow with a New Teams Channel Message Trigger, or change an existing workflow's trigger type to a New Teams Channel Message Trigger.
Add Microsoft Teams connection: If you haven't already, connect your Microsoft Teams account to Cassidy.
The Microsoft Teams connection requires admin approval. Either have an admin in your organization check the "Consent on behalf of your organization" checkbox during the connection process, or follow the admin consent workflow process outlined in Microsoft's documentation at https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/configure-admin-consent-workflow.
Select Team: Choose the specific team that contains the channel you want to monitor for new messages.
Select Channel: Choose the specific channel within the selected team that you want to monitor. The workflow will trigger when new messages are posted in this channel.
Reference the Teams variables: In the rest of your workflow, you can use the following variables from the New Teams Channel Message Trigger:
Message Sender: The person who sent the message
Subject: The subject of the message
Message Contents: The text content of the message
Message URL: The URL of the message
Message ID: The unique identifier of the message
Team ID: The unique identifier of the team
Channel ID: The unique identifier of the chat or channel
Activate the trigger: In the New Teams Channel Message Trigger block, click the toggle switch to turn it on.
β