Credit goes to @kriz182
-
Get your MS Teams incoming webhook URL: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/connectors/connectors-using#setting-up-a-custom-incoming-webhook
-
Create a serverless function with main.py and requirements.txt. If using Google Cloud Functions for instance, don't forget to set Runtime to Python 3.7 and Function to execute as sendtoteams
-
Copy the code from action_param.lkml into the LookML field from which you want the user to be able to send to MS Teams, and fill in the relevant [...] fields
-
(Optional - to send to several channels) - instead, change the action endpoint to a Cloud/Lambda/Azure Function and add the channel as a form parameter, and have the function send it to the corresponding webhook endpoint. Or, consider using our Action Hub