ALERTS: Microsoft Teams (Power Automate Flow)

Modified on Wed, Sep 10 at 2:38 PM

Content


Microsoft Teams - Overview

This integration requires that you have a pre-existing Microsoft Teams Channel for the incoming webhook to post to.

If you do not have a Channel created, you can follow the Microsoft KB here:

https://support.microsoft.com/en-us/office/create-a-standard-or-private-channel-in-microsoft-teams-fda0b75e-5b90-4fb8-8857-7e102b014525

Getting Started: Creating Microsoft Teams Webhook

image-20240904-141725.png
  • Search for the template named ‘channel' and select the ‘Send webhook alerts to a channel’ option.

image-20250908-190942.png

You may need to sign in or tap Continue

image-20240904-142108.png

                                                

  1. Edit the Flow 

  • Click on Edit in the advanced flow options. 

image-20240904-142138.png
  1. Modify the Flow 

  • Remove the Adaptive Card Step

  • Locate the step involving the Adaptive Card and delete it by tapping on the card option and then clicking the three-dot action menu in the top right

image-20240904-142343.pngimage-20250908-191611.png
  • Tap on the OK to confirm deletion

image-20250910-182302.png
  • Add a New Action by tapping the + sign and searching for ‘post message’ and choosing the Microsoft Teams option for ‘Post message in a chat or channel’ as shown here:

image-20250908-191921.png

Configure the New Action

  • Set Post As: User 

  • Set Post In: (Select the Channel you want)

  • Set your Team: (Select the appropriate team) 

  • Set your Channel: (Select the appropriate channel) 

  • Add Message Content: 

In the message body, insert the following functions. You must enter a forward slash ( / ) first and select Insert expression.

image-20250908-192212.png

Copy and past the two statements below; each must be done separately.

triggerBody()?['Title'] 

triggerBody()?['Text'] 

Click Add after inserting each function, one at a time.

  1. Save the Workflow 

  • After configuring all parameters, click Save to save the workflow. 

image-20250908-192305.png
  1. Copy the Webhook URL 

  • Go to the first step of the flow and copy the generated URL. 

  • Save the workflow to finalize the setup. 

image-20240904-142952.png
  1. Workflow Ready 

  • Your workflow is now ready to use. You can send a webhook request to the copied URL to post messages to the specified Microsoft Teams channel.  


Microsoft Teams Setup in ConnectSecure

Login to ConnectSecure and navigate to Global > Integrations > MSTeams

image-20250910-182707.png

Credentials

Tap on the ( + ) to add a new set of creds

image-20240904-143530.png

Complete the required fields:

image-20240904-143626.png

Tap Save to complete.


Event Set

Configure any desired Event Sets (Alerts); see our Event Sets for Integration Alertingpage for more details.


Integration Rules

This is where you associate a name to the Event Set for the alerting to take place; we typically use parity here and match up the Name to the Event Sets so you can easily identify them.


Company Mapping

Map companies between ConnectSecure and the Integration Rules, to trigger MSTeams alerts.

  • Tap on the Add button

image-20250910-182955.png
  • Select your Local (ConnectSecure) company

image-20250910-183012.png
  • Select the Integration Rule(s) that you wish to apply to the company. You can set one, or multiples, using the check boxes.

Integration Rules need to be configured BEFORE you can map them here

image-20250910-183207.png
  • Lastly, check the box for ‘Create MSTeams Alert’ to enable the webhook alerting.

image-20250910-183233.png
  • Tap ADD then Finish to complete.

image-20250910-183324.png
  • To make changes, you can tap the three-dot Action menu, then Edit, or Delete.

image-20250910-183356.png
  • There is also an option to ‘Copy Settings’ which allows you to copy the Integration Rules selections to other companies.

The company must be mapped BEFORE you can choose to Copy Settings to it.

image-20250910-183437.png

Need Support?

Contact our support team by sending an email to support@connectsecure.com or by visiting our Partner Portal, where you can create, view, and manage your tickets.

https://cybercns.freshdesk.com/en/support/login

image-20240206-144508.png

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article