https://github.com/tailscale/ts-webhook-adapter
Adapter for Tailscale Webhooks for Microsoft Teams and Discord.
https://github.com/tailscale/ts-webhook-adapter
Last synced: 11 months ago
JSON representation
Adapter for Tailscale Webhooks for Microsoft Teams and Discord.
- Host: GitHub
- URL: https://github.com/tailscale/ts-webhook-adapter
- Owner: tailscale
- License: bsd-3-clause
- Created: 2022-11-13T03:38:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-06T05:19:32.000Z (almost 2 years ago)
- Last Synced: 2025-06-05T22:44:06.457Z (12 months ago)
- Language: Go
- Size: 152 KB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tailscale Webhook Adapter
A simple service to receive incoming [webhook notifications from Tailscale](https://tailscale.com/kb/1213/webhooks/)
and reformat to be suitable for several popular services including:
- [Microsoft Teams](https://www.microsoft.com/en-us/microsoft-teams/group-chat-software)
- [Discord Forums](https://discord.com/)
----
## Tailscale Setup
Follow the instructions to [setup webhook notifications](https://tailscale.com/kb/1213/webhooks/),
and store the Secret as an environment variable named `TS_WEBHOOK_SECRET` for this service.
----
## Microsoft Teams
To forward notifications to Microsoft Teams, create a chanel within the destination
Team and choose Connectors. Ann an *Incoming Webhook*, and store the URL as an
environment variable named `TEAMS_WEBHOOK_URL` for this service.

If no `TEAMS_WEBHOOK_URL` variable has been set, the Microsoft Teams delivery will be skipped.
----
## Discord
Webhook notifications can only be delivered to Discord Forum channels, which are only
available on Servers which have been set to Community mode.
After creating a Forum channel, choose *Integrations* > *Webhooks*. Store the URL
as an environment variable named `DISCORD_WEBHOOK_URL` for this service.

If no `DISCORD_WEBHOOK_URL` variable has been set, the Discord delivery will be skipped.