Teams Notification

Send a notification card to Microsoft Teams via Webhook. Use when this capability is needed.

tomevault-io 73bd6d2 2 files · 1.5 KB Updated

File contents

Teams Notification

Send a notification card to a Microsoft Teams channel using an Incoming Webhook.

Parameters

  • Required:
    • --message (The message content, supports Markdown)
  • Optional:
    • --webhook-url (The Teams Webhook URL. Defaults to TEAMS_WEBHOOK_URL env var)
    • --title (The title of the card. Defaults to "Notification")
    • --color (Hex color code for the card stripe. Defaults to "0076D7")

Example

.venv/Scripts/python .github/skills/teams_notification/scripts/send_teams_notification.py --message "Hello **World**!" --title "Test Message"

Source: jacwu/github-materials — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/jacwu--github-materials--github-materials commit 73bd6d2e89

Frequently asked questions

npx skillmds@latest add tomevault-io/teams-notification