Enable Notification
Penfield notifications use Teams Workflows webhooks (“Send webhook alerts to a channel”).
info
Microsoft retired Office 365 Connectors / Incoming Webhooks in Teams (final disable rollout 18–22 May 2026). Use Workflows webhooks instead of channel Connectors. Messages appear as the default Workflows bot; custom sender name and icon are not available with Workflows webhooks.
Create a Teams channel and Workflow webhook
- Create a Teams channel (any name per your standard), e.g.
Penfield Notifications, or use an existing channel. - On the channel, open the
…(More options) menu and select Workflows. - Search for or select the template Send webhook alerts to a channel.
- Name the workflow Alice, then select the Team and Channel from the dropdowns (do not type
@channel-name). - After Save, a page will show the details of the workflow as Active. Click Copy webhook link to copy the URL.
Share the webhook URL with Penfield
Share the Workflow HTTP URL with Penfield securely. Do not send webhook URLs in plain-text email.
Update Penfield app configuration (self-managed deployments only)
- Collect the Workflow HTTP URL for your notifications channel.
- Enable notification-service and set the secret:
- Update
penfield-values.yamlto enable the notification service. - Update
penfield-secrets.yamlwithMS_TEAMS_WEBHOOK_URLS(base64 of the JSON below). Use the same Workflow URL for each key:MS_TEAMS_WEBHOOK_URLS: <base64-encoded value> - JSON before encoding:
{ "alice": "https://workflow_http_url", "john": "https://workflow_http_url", "penfield": "https://workflow_http_url" } - Deploy the changes to the penfield-app.
- Update
Quick test
curl -sS -w '\n%{http_code}\n' -X POST "$WORKFLOW_HTTP_URL" \
-H 'Content-Type: application/json' \
-d '{
"type": "message",
"attachments": [{
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"type": "AdaptiveCard",
"version": "1.4",
"body": [{
"type": "TextBlock",
"text": "Penfield notification test via workflow",
"wrap": true
}],
"actions": []
}
}]
}'
Expect HTTP 200 (or 202) and a card in the channel configured on the Post step. The sender shows as Workflows.