Foundation Data & Integrations
Microsoft Teams
Microsoft Teams Group Chat Setup
4 min
you can create an ms teams group chat from a servicely ticket and export that group chat’s history back onto the servicely ticket configuration table operation you will need to configure a table operation that runs the required client side function to go to ms teams and create a group chat the table operation should be part of the table that you want this functionality to be available on, e g problem management you would then configure the following field name value active yes operation type execute on client client script requestfactory createrequest() controller("servicely core msteamschat") method("createchat") data({ parenttable tablename, parentid current getid() }) successfunc(function (response) { window\ open(response data url); }) execute(); all other configurations like name, label, condition and where to place the table operation, can be configured to your needs messaging channel integration please note, the below setup is to be completed once per table that you need the functionality to be available on you cannot have more than one configuration record for the same table below is an example, taken from out of box ms teams integration for major incident management group chat field name description example value(s) name name of the integration incident major incident chat table table that this ms teams integration is for incident roles to create who can create the ms teams group chat itsm agent chat name name of the group chat on ms teams you can reference current field values from the target table by doing ${current fieldname()} major incident ${current number()} ${current shortdescription()} members who will be added into the ms teams chat, taken from user reference fields on the selected table major incident manager stakeholders roles to view roles required to view the ms teams chat itsm agent roles to export roles requires to export the ms teams chat itsm agent messages export field field on selected table where the messages are exported to majorincidentjournal