Microsoft Teams PR notification template
A copy-paste-ready Adaptive Card v1.5 template for GitHub pull request notifications in Microsoft Teams. Use it with Power Automate Workflows, custom GitHub Actions, or any webhook tool. Or skip the JSON entirely with PullNotifier.
Targeting: microsoft teams pr notification template · Last updated 2026-05-02
Skip the manual setup
PullNotifier installs from Microsoft AppSource in 5 minutes — no YAML, no Power Automate flows.
When to use this template
Use this template if you're building your own GitHub-to-Microsoft-Teams integration via Power Automate Workflows, GitHub Actions, or a custom webhook handler. The template includes adaptive card v1.5 elements optimised for Microsoft Teams rendering — header with PR number and title, author thumbnail, status badge, action buttons.
The template (Adaptive Card v1.5 JSON)
Copy this JSON into your Power Automate Adaptive Card action or your webhook payload. Replace {{...}} placeholders with your live GitHub event data.
{ "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.5", "body": [ { "type": "TextBlock", "size": "Medium", "weight": "Bolder", "text": "PR #{{number}}: {{title}}" }, { "type": "ColumnSet", "columns": [ { "type": "Column", "width": "auto", "items": [ { "type": "Image", "url": "{{user.avatar_url}}", "size": "Small", "style": "Person" } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "TextBlock", "weight": "Bolder", "text": "{{user.login}}" }, { "type": "TextBlock", "spacing": "None", "text": "{{repository.full_name}} · {{state}}", "isSubtle": true } ] } ] }, { "type": "TextBlock", "text": "{{body}}", "wrap": true } ], "actions": [ { "type": "Action.OpenUrl", "title": "View PR on GitHub", "url": "{{html_url}}" }, { "type": "Action.OpenUrl", "title": "Files changed", "url": "{{html_url}}/files" } ] }
How to use this template with Power Automate
- Open the Workflows app in Microsoft Teams.
- Create a new flow with trigger "When an HTTP request is received" (or GitHub event).
- Add the action "Post adaptive card in a chat or channel".
- Paste the JSON above into the Adaptive Card field, replace placeholders with dynamic GitHub event data.
- Save and test with a real PR event.
Want to skip the template entirely?
PullNotifier installs from Microsoft AppSource and sends polished adaptive cards out of the box — with live in-place updates, smart filtering, GitHub-Teams user mapping, and code review reminders. No JSON to author, no Power Automate Flow to maintain.
Frequently asked
Where do I paste this Microsoft Teams adaptive card template?
Use it with Power Automate Workflows ("Post adaptive card" action), GitHub Actions (in your YAML), or any webhook tool that supports Adaptive Card v1.5 JSON.
Does this template work with the retired Office 365 Connector format?
No. Office 365 Connectors used the legacy MessageCard format and retired on March 31, 2026. This template uses modern Adaptive Card v1.5 which works with all current Microsoft Teams notification paths.
How do I add @mentions to the adaptive card?
Add a "msteams" object at the root with an "entities" array describing each mention. The mentioned user must be resolvable by their AAD/Microsoft Teams ID — which is why GitHub-to-Microsoft-Teams user mapping matters.
Can PullNotifier customise the adaptive card template?
Yes — Enterprise customers can customise card branding and content fields via the dashboard.
PullNotifier
© 2026 PullNotifier. All rights reserved
Microsoft Teams
Solutions