Notify Teams when a webhook event occurs

Developer ToolAPI IntegrationMarketingRecipe Tools

What it does

When a webhook event is received, this automation validates the message and checks the notification type. If valid and the type matches, it posts a message to Teams so the team sees the update in real time.

Who it's for

Operations teams who need to route webhook events to Teams without manual intervention.

How teams use this

Route webhook events to Teams

Receive a webhook, validate it, and post to Teams in one flow so the team stays informed without checking another system.

Filter events by notification type

Only post to Teams when the notification type equals a specific value, so the channel sees only relevant events and noise is reduced.

Include user details in the Teams message

Add the user email and principal name to the Teams post so someone knows who triggered the event and can follow up if needed.

How it works

  1. Receive the webhook event. A webhook sends a real-time event with user and message data to this automation.
  2. Validate the webhook message. Check that the incoming message is valid and extract the notification type from the payload so invalid events are rejected.
  3. Look up the sender email. Get the user email by principal name or ID so the Teams message includes who triggered the event and the team can follow up.
  4. Post message to Teams. Send the message to Teams only when the notification type is valid, so the channel receives relevant updates and avoids noise.