Skip to main content

Microsoft Teams

Send release notifications to Microsoft Teams

Config

announce:
  teams:
    enabled: true
    webhook_url: "{{ Env.TEAMS_WEBHOOK_URL }}"
    message_template: "{{ ProjectName }} {{ Tag }} has been released! {{ ReleaseURL }}"

Create an incoming webhook in your Teams channel via Connectors > Incoming Webhook and copy the generated URL.

Adaptive Card format

The message is delivered as a Microsoft Adaptive Card (v1.4) wrapped inside a message payload. The message_template value becomes the text of a TextBlock element with word-wrap enabled. You do not need to construct the card JSON yourself -- anodizer handles that.

Environment variables

Store the webhook URL in an environment variable rather than committing it to your config file:

webhook_url: "{{ Env.TEAMS_WEBHOOK_URL }}"
FieldTypeDescription
enabledboolEnable Teams notifications
webhook_urlstringTeams incoming webhook URL (use template to read from env)
message_templatestringMessage body (templates supported)