Outbound-only
Requirements
- An Incoming Webhook connector created in the target Teams channel; the resulting HTTPS URL is the credential.
Configuration
Set under channels.teams in ~/.flowly/config.json:
{
"channels": {
"teams": {
"enabled": true,
"webhookUrl": "https://outlook.office.com/webhook/...",
"defaultChatLabel": "",
"allowFrom": []
}
}
}| Key | Type | Default | Description |
|---|---|---|---|
enabled | bool | false | Start the Teams adapter at gateway boot. |
webhookUrl | string | "" | Teams Incoming Webhook URL. Must start with https://. The URL itself is the secret. |
defaultChatLabel | string | "" | Human-friendly label for the target channel. |
allowFrom | string[] | [] | Reserved for future inbound support; unused now. |
Connect method
The adapter posts {"text": "..."} to webhookUrl. Plain text / Teams-rendered markdown is supported; HTTP(S) media URLs are appended under an Attachments list. It retries once on 5xx/network errors and skips empty bodies (a Teams webhook rejects empty payloads). webhookUrl must start with https://, or the channel disables itself with a warning. One webhook targets exactly one channel.
Setup steps
- In the target Teams channel, add an Incoming Webhook connector and copy the generated HTTPS URL.
- Set
channels.teams.enabledtotrueand paste the URL intowebhookUrl. - Optionally set
defaultChatLabel. - Start the gateway:
flowly gateway.
Pair this with Cron to push scheduled summaries to Teams.