npm package: @itentialopensource/microsoft-teams-notification
Description: Send Microsoft Teams Notification
Author: Itential Automation Platform
Latest version: 0.0.19-2022.1.1

<!-- This is a comment in md (Markdown) format, it will not be visible to the end user -->

<!-- Update the below line with your Pre-Built name -->
# Microsoft Teams Notification

<!-- Leave TOC intact unless you've added or removed headers -->
## Table of Contents

* [Overview](#overview)
  * [Operations Manager and JSON-Form](#operations-manager-and-json-form)
* [Installation Prerequisites](#installation-prerequisites)
* [Requirements](#requirements)
* [Features](#features)
* [How to Install](#how-to-install)
* [How to Run](#how-to-run)
  * [Input Variables](#input-variables)
* [Additional Information](#additional-information)

## Overview

This Pre-Built integrates with the [Microsoft Teams Open Source Adapter](https://gitlab.com/itentialopensource/adapters/notification-messaging/adapter-msteams) to send a notification within a Microsoft Teams channel.

## Operations Manager and JSON-Form

This workflow has an [Operations Manager (automation) Item](./bundles/automations/Microsoft%20Teams%20Notification.json) that calls a workflow. The Automation Item uses a JSON-Form to specify common fields populated when an issue is created. The workflow the Automation item calls queries data from the formData job variable.

<table>
  <tr>
    <td>
      <img src="./images/microsoft_teams_notification_ac_form.png" alt="form" width="800px">
    </td>
  </tr>
  <tr>
    <td>
      <img src="./images/microsoft_teams_notification_canvas.png" alt="form" width="800px">
    </td>
  </tr>
</table>

## Installation Prerequisites

Users must satisfy the following pre-requisites:

- Itential Automation Platform
  - `^2022.1`
- [Microsoft Teams Open Source Adapter](https://gitlab.com/itentialopensource/adapters/notification-messaging/adapter-msteams)
  - `^0.3.3`

## Requirements

This Pre-Built requires the following:

- [Microsoft Teams Open Source Adapter](https://gitlab.com/itentialopensource/adapters/notification-messaging/adapter-msteams)

## Features

The main benefits and features of the Pre-Built are outlined below:

* Allows a user to send a notification to a specific Microsoft Teams channel

## How to Install

To install the Pre-Built:

* Verify you are running a supported version of the Itential Automation Platform (IAP) as listed above in the [Requirements](#requirements) section in order to install the Pre-Built. 
* The Pre-Built can be installed from within App-Admin_Essential. Simply search for the name of your desired Pre-Built and click the install button.

## How to Run

Use the following to run the Pre-Built:

* Run the Operations Manager Item `Microsoft Teams Notification` or call [Microsoft Teams Notification](./bundles/workflows/Microsoft%20Teams%20Notification.json) from your workflow as a child job.

### Input Variables
_Example_

```json
{
  "title": "The notification title",
  "message": "The notification message to be sent",
  "webhookKey": "The webhook key generated in Microsoft Teams"
}
```

## Additional Information

Please use your Itential Customer Success account if you need support when using this Pre-Built.