Gravity
Search…
Billing
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.
Adding the application to Microsoft Teams
If you want to receive them in a channel, the App must be added on team scope and added to that channel.
Adding Gravity App to a 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.
Gravity "help" command in Personal Chat
To get your Service URL and Tenant ID call "info".
Gravity "info" command in Personal Chat
To get your User ID call "user".
Gravity "user" command in Personal Chat
To get the Channel ID call "@Gravity channel" from a channel.
Gravity "channel" command in Channel Chat

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.
Policy examples
After the policy is saved, navigate to the "Jobs" page and run a job.
Trigger a Job Run
Example notifications:
Job Failure Notification
Job Success Notification
Copy link
Outline
How To