Skip to main content

Microsoft Teams chat notifications

Post missed calls, voicemails, queue alerts, call transcripts and AI summaries to Microsoft Teams channels you choose. This connector is read only: unlike Slack (see the connector index) and Google Chat, it has no slash command, message action or click-to-call. Microsoft retired the old Office 365 Connectors ("Incoming Webhook" on a channel); the current path is a Power Automate workflow, and a Workflows webhook cannot call anything back into MonoPbx — there is nothing on the Teams side to build a command on.

Open Admin > Integrations, find Microsoft Teams in the catalogue and press Install. You need integrations:read to see it and integrations:write to install or change it.

Notifications​

Each event goes to the channel alias you choose for it; an event without an alias is not posted.

EventPosted whenIn the payload
Missed callAn inbound call nobody answered ends.title, fields (time), call_back_number
VoicemailA caller leaves a message (posted about 45 seconds later, so the transcript is ready).title, the start of the transcript as text, call_back_number, link to the console
Queue alertA caller waits longer than the queue's service level target, a wait passes 2 minutes (or twice the target), or a caller hangs up while waiting. At most one alert per queue and reason every 10 minutes.title, fields (callers waiting, longest wait)
AI summary, TranscriptThe AI summary of a recorded call is ready.title, text, link
Fax received, SMS receivedA fax or an SMS arrives on a company number. The SMS text is not posted.title, link

MonoPbx posts a flat JSON object, not an Adaptive Card (event, title, and whichever of fields, text, call_back_number and link apply). Your own Power Automate flow turns it into whatever card you want — that is also why there is no card preview here: the flow you build decides the layout.

Create a channel webhook (owner, once per channel)​

You do this once for every Teams channel you want notifications in.

  1. In the Teams channel, open Workflows (the ⋯ menu, or the apps panel) and pick the template Post to a channel when a webhook request is received.
  2. Name the flow (for example MonoPbx alerts) and finish the wizard. Teams creates the flow in Power Automate and shows you the trigger's HTTP POST URL — copy it; this is the credential (treat it like a password).
  3. Open the flow in Power Automate to shape the card: after the trigger, add a Parse JSON step with a sample payload (for example {"event": "missed_call", "title": "Missed call from +1 555 0100 to 101", "fields": [{"label": "Time (UTC)", "value": "2026-11-24 18:00:00"}], "call_back_number": "+15550100", "link": "https://pbx.example.com/calls/1"}), then build whatever Adaptive Card or plain message you want from title, fields, text, call_back_number and link (any of the last four may be absent) and post it with Post card in a channel (or Post message in a channel for plain text).
  4. Repeat for every channel you want a different set of events in (for example one flow for #alerts, another for #voicemail).

Screenshot placeholder: the Power Automate flow with the webhook trigger and the "Post card in a channel" action.

Connect MonoPbx​

  1. Install: press Install in the catalogue, fill in the form and tick the AI tools you allow (post_message, queue_alert).
  2. Channel webhooks: paste a JSON object of channel alias to webhook URL, for example:
    {"alerts": "https://prod-12.westus.logic.azure.com/workflows/.../triggers/manual/paths/invoke?...", "voicemail": "https://prod-9.eastus.logic.azure.com/workflows/.../triggers/manual/paths/invoke?..."}
    An alias is 1-40 lowercase letters, digits, - or _ (your own name for the channel, not anything Teams gives you). At most 32 aliases.
  3. Save, then press Channels and map each event to the alias of the channel it should go to, with an optional default for events you did not map. Save again.
  4. Press Test connection: Microsoft gives this kind of webhook no read-only endpoint to check, so this step only confirms every mapped alias has a webhook URL — it never posts. Open the install's Channels panel and use Send test message to actually post and check the flow end to end.

Screenshot placeholder: the generic install form with the channel webhooks field and the channel mapping panel below it.

Troubleshooting​

SymptomCheck
Test connection fails with bad_channelAn event is mapped to an alias that is not a key of the channel webhooks object (or the default channel alias is wrong). Check spelling on both sides.
Send test message fails with channel_not_foundThe flow was turned off or deleted in Power Automate, or the URL was rotated by creating the flow again. Copy the new URL into the channel webhooks field.
Nothing is ever postedThe event has no route and no default channel; or the flow's trigger schema does not match MonoPbx's payload (open the flow's run history in Power Automate to see what arrived).
No "Call back" button in TeamsThere is none: the webhook is outbound only. Use call_back_number in your own flow to show a number, or dial from the console or the app instead.

Error codes: MPBX-INT-UPSTREAM (the flow refused the post or did not answer in time; the detail carries the short code channel_not_found, rate_limited or http_status), MPBX-INT-INVALID (a malformed channel alias, webhooks object or channel mapping).