Skip to main content

New Teams Chat Message Trigger

Veronica Lekhtman avatar
Written by Veronica Lekhtman
Updated over a week ago

How to set up and use New Teams Chat Message Trigger

Run the workflow when a message is posted in a Teams chat. Follow these steps:

  1. Add a New Teams Chat Message Trigger: Create a workflow with a New Teams Chat Message Trigger, use an existing workflow with a New Teams Chat Message Trigger, or change an existing workflow's trigger type to a New Teams Chat Message Trigger.

  2. 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.

  3. Select Chat: Choose the specific Teams chat you want to monitor for new messages. This could be an individual or group chat. You can also click the pencil icon to input a chat ID of the specific chat you want to monitor.

  4. 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

    • Message Contents: The text content of the message

    • Message ID: The unique identifier of the message

    • Chat ID: The unique identifier of the chat or channel

  5. Activate the trigger: In the New Teams Channel Message Trigger block, click the toggle switch to turn it on.


    ​

Did this answer your question?