---
title: Microsoft Teams
slug: homologacao-atmosphere/microsoft-teams
description: Learn how to use the msteams module to send notifications to Microsoft Teams using the Incoming WebHook integration. This document covers the required parameters, such as webhook, message, color, title, sections, and buttons. Discover the subfields for se
createdAt: 2021-03-23T19:55:12.000Z
---

## Resumo

- O módulo msteams envia notificações às equipes da microsoft por meio da integração Incoming WebHook.

## Parâmetros

| **Parâmetro**      | **TIpo**               | **Escolhas \| Valor Padrão**            | **Comentários**                  |
| ------------------ | ---------------------- | --------------------------------------- | -------------------------------- |
| webhook - required | string                 |                                         | webhook do canal.                |
| msg - required     | string                 |                                         | Mensagem que você deseja enviar. |
| color              | string                 | Default:<br />- 003ff9                  | Cor da mensagem.                 |
| title              | string                 | Default<br />- Atmosphere task finished | Título da Mensagem               |
| sections           | list / elements=string |                                         | Lista de seções de mensagens     |
| button             | list / elements=string |                                         | Lista de botões                  |

## Subcampos da opção sections

| **Parâmetro** | **TIpo** | **Escolhas \| Valor Padrão** | **Comentários**     |
| ------------- | -------- | ---------------------------- | ------------------- |
| title         | string   |                              | Título da seção.    |
| subtitle      | string   |                              | Subtítulo da seção. |
| image         | string   |                              | URL de uma imagem.  |
| text          | string   |                              | Mensagem da seção.  |

## Subcampos da opção button

| **Parâmetro** | **TIpo** | **Escolhas \| Valor Padrão** | **Comentários**             |
| ------------- | -------- | ---------------------------- | --------------------------- |
| text          | string   |                              | Texto do botão.             |
| link          | string   |                              | Link que o botão direciona. |

## Exemplos

```yaml
# send a message to chat in playbook
  msteams:
    webhook: webhook
    msg: Atmosphere task finished
    title: título
    sections: [{"title": "Title", "subtitle": "Subtitle", "image": "Image", "text": "Text"}]
    button: 
      - text: "{{ input.text }}"
			  link: "{{ input.link }}"
```

## Valores retornados                &#x20;

| **Parâmetro** | **Tipo** | **Retornado quando** | **Comentários**             |
| ------------- | -------- | -------------------- | --------------------------- |
| result        | string   | Sempre               | Mensagem de sucesso ou erro |



