Microsoft Teams

Gravity Teams Integration sends notifications to channels and personal chats in a Teams workspace

How To

Step 1: Add Gravity to Teams

It can be added on the personal scope and on team scope. If you want to receive notifications in your personal chat with the Gravity app, it must be added on the personal scope.

If you want to receive them in a channel, the App must be added on team scope and added to that channel.

To test whether or not the App was added call "test" in the personal chat or "@Gravity test" in the channel.

Step 2: Use the App to get the information needed to set up notifications

Calling "help" will show available commands and information on how to use the app.

To get your Service URL and Tenant ID call "info".

To get your User ID call "user".

To get the Channel ID call "@Gravity channel" from a channel.

Step 3: Set up your integration

In the Gravity main application, set up your integration and policies using the information provided by the Gravity Teams App.

To receive notifications in the Personal chat as direct message from the Gravity Teams App you will need: Service URL, Tenant ID and your User ID.

To receive notifications in a channel you will need: Service URL, Tenant ID and your Channel ID.

After creating the integration using the Service URL and Tenant ID, you will only need User ID or Channel ID to set up further notification policies to that tenant.

Make sure you paste only the IDs when setting up integrations and policies.

Step 4: Test the integration

Create a policy on desired notification events, for example Job Failure Event or Job Success Event.

After the policy is saved, navigate to the "Jobs" page and run a job.

Example notifications:

Last updated