{"repo":"mendhak/Airflow-MS-Teams-Operator","free":true,"listed":false,"github":"https://github.com/mendhak/Airflow-MS-Teams-Operator","clone":"git clone https://github.com/mendhak/Airflow-MS-Teams-Operator.git","description":"Airflow operator that can send messages to MS Teams","language":"Python","stars":87,"topics":["airflow","airflow-plugin","python","ms-teams"],"license":null,"category":"data-pipelines","readme_excerpt":"This is an Airflow operator that can send cards to MS Teams via webhooks. There are various options to customize the appearance of the cards. Screenshots Header, subtitle, and body Header, subtitle, body, facts, and a button ---------------------------------------------------------------- -------------------------------------------------------------------------- Body with coloured text and coloured button Coloured header, body, button, in dark mode --------------------------------------------------------------------- ------------------------------------------------------------ Body and empty green header Body and coloured header, without logo ------------------------------------------------------ ------------------------------------------------------- Setup Create a webhook to post to Teams. The Webhook needs to be of the PowerAutomate type, not the deprecated Incoming Webhook type. Currently this is done either through the 'workflows' app in Teams, or via PowerAutomate. Once that's ready, create an HTTP Connection in Airflow with the Webhook URL. Conn Type: HTTP Host: The URL without the https:// Schema: https Copy the ms teams power automate webhook operator.py file into your Airflow dags folder and import it in your DAG code. Usage The usage can be very basic from just a message, to several parameters including a full card with header, subtitle, body, facts, and a button. There are some style options too. A very basic message: Add a button: Add a heading and subtitle: Add ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mendhak","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mendhak/Airflow-MS-Teams-Operator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}