Gravity Teams Integration sends notifications to channels and personal chats in a Teams workspace
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.
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
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.
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.
Trigger a Job Run
Job Failure Notification
Job Success Notification