SAP Cloud ALM can forward events to external chat tools to create messages in chat channels. This blog elaborates integration between Cloud ALM and MS teams to provide real-time chat notifications directly in your Teams workspace!
Here’s how easy it is to set up:
Step 1: In Microsoft Teams, create a Team. Click Teams > New team.
- Team Name: CALM Notifications
- Description: Optional
- Team Type: Private
- First Channel Name: Default General
- Click on Create
Add any users you wish to participate in the Teams Channel (as the creator, you are added already) instead click Skip:
Now, The Team and General Channel were created.
In General, click …(Three dots) and select Manage Channel –> Settings –> Connectors –> Edit –> Search for Incoming Webhook –> Add. Once it is added click on Configure.
Enter a Name for webhook and there is an option to upload you’re organization image if required and click Save.
The Webhook URL is created. Click Copy and paste the URL in a notepad for later. Click Save:
Step 2: Logon to BTP Cockpit and access Global Cloud ALM > Cloud ALM Subaccount
Click Connectivity > Destinations > Create Destination:
Step 3: In SAP Cloud ALM launchpad, click Administration > External API Management
Click Mappings Management > Copy for an existing mapping : Event situations in MS teams Chat and rename it to one you’ll recognize as yours (this autosaves)
Click Webhooks Management > +
Enter a value in Name, use F4 help to select the Destination ID created in step 2 and in Destination Type, select Microsoft Teams:
Click External Resource Type and select Chat and click Save.
Click Subscription Management > +, fill Name and set Resource type to Event Situation
Set Mapping & Webhook to the value created above and set Type to Built-in and click Save
Click Configuration, set service/system with desired config, for example: Systems > click link for system
In the case the chat notification should contain info on the Alert, set Create Alert > ON:
To trigger the Chat, set Send Chat Notification > ON and click + to select the subscription name created above and click Save
Read More Technology Blog Posts by Members articles
#abap