Skip to main content
Skip table of contents

Microsoft Teams notifications - using an Incoming Webhook Connector

TLDR;

The Incoming Webhook connector enables ALIS to notify you about certain events that you want to track. Once you configure an incoming webhook for a Teams Channel, you will get an URL link. You can copy this URL and use it to configure the notification in ALIS. This way, your Teams channel can receive notifications from ALIS.

What is Incoming Webhook in Microsoft Teams

An Incoming Webhooks is a special type of connector in Microsoft Teams that lets an external applications share content in Microsoft Channels. The webhooks are used to track and notifiy (Reference).

How to create an incoming webhook

  1. Navigate to the channel where you want to add an Incoming Webhook → select Manage Channel (NOT Manange Team).

image-20240421-165119.png

(question) If you don’t have a team, see FAQ question1 to create a new team.

(question) If you want to add a new channel, see FAQ question2.

  1. Select Edit under connectors section.

image-20240421-165134.png

(question) If you cannot edit, it means that you don’t have the permission. See FAQ 3.

  1. Search for the Incoming Webhook and select Add.

image-20240421-165200.png
  1. Select Add

image-20240421-165221.png
  1. Enter the Incoming Webhook’s name and select Create.

image-20240421-165255.png
  1. Copy the URL (will be used later to set up ALIS notification)

image-20240422-073038.png

How to set up notification in ALIS using an Incoming Webhook in MS Teams

  1. Log into ALIS instance and navigate to notification targets → add a new notification target.

image-20240421-165431.png
  1. Choose transportation as Microsoft Teams and paste the URL copied from Step 6.

image-20240421-170443.png
  1. Create a new notification subscription.

image-20240421-171337.png
  1. Enter the details and choose an event. Choose a target that was previously set up in Step 8.

image-20240421-165704.png

Event

There are currently 2 types of events that can trigger the notification.

Work Order

Observation

  • created - each time a new work order is created, a notification will be sent to the team channel

  • completed - each time a work order is completed, a notification will be sent to the team channel

  • closed - each time a work order is closed, a notification will be sent to the team channel

  • created

  • changed

  • critical severity change - when observation severity becomes critical or not critical anymore

  • attention flag changed - when attention flag is added or removed

  • not determined severity changed - when observation is created with ‘not determined’ severity or when severity changes from ‘not determined’ to something else

  1. Initiate an event that you have previously chosen in Step 10

Example:

Createa a new work order

image-20240421-183119.png

Complete a work order

image-20240421-183124.png

Create a new observation

image-20240421-183142.png

  1. Check the status

When an event is triggered, the notification will be sent to the team channel. You can see their statuses if the notifications are successfully delivered or not.

image-20240421-165723.png

image-20240422-072522.png

If error occurs, you should go back to check the set up of your Targets or Subscriptions again.

  1. Receive the notifications in your teams channel!

image-20240421-165754.png

FAQ

Q3. How to see the member permissions?

Navigate to the team → Select Manage Team (NOT Manage Channel) → Settings → Member permissions.

If you have set the setting “Allow members to create, update, and remove connectors” to “Yes,” any team member can add, modify, or delete a connector.

image-20240421-185352.png

You might need to ask the owners of this team to manage the setting. Go to section ‘Members’ to see who the owners are and ask them to change the setting.

image-20240421-190058.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.