Skip to main content

Microsoft Teams (webhook)

This app posts into one Teams channel or chat through a Workflows webhook. Teams gives you a URL; Blokkio sends messages to it. No Microsoft sign-in is needed.

1. Create the workflow in Teams​

  1. In Teams, open the channel, click ⋯ → Workflows and choose the template Send webhook alerts to a channel (in a chat: Send webhook alerts to a chat).
  2. Give it a name, confirm the team and channel, and click Add workflow.
  3. Teams shows the URL. Click Copy before closing the dialog.

The URL is long and ends with …&sig=…. Anyone who has it can post to the channel, so treat it like a password. If you lose it, open the workflow in Power Automate and copy the HTTP POST URL from its first step.

Older Incoming Webhook connector URLs (https://….webhook.office.com/…) also work while Microsoft still supports them.

2. Create the connection​

  1. In Blokkio, go to Apps and open Microsoft Teams (webhook).
  2. Click Connect, paste the URL into Workflow URL (or click Use secret) and click Create.
  3. Test connection checks that the URL is a Teams workflow address (*.logic.azure.com, *.api.powerplatform.com or *.webhook.office.com). It can't check more without posting a message, so run a short workflow with Post message to try it.

Blokkio refuses to send to any other address.

Actions​

ActionWhat it doesInputs
Post messagePosts a message cardTitle, Message (basic Markdown: **bold**, _italic_, links, lists), Button link (adds an Open button)
Post Adaptive CardPosts your own cardAdaptive Card (JSON)

Teams workflows expect every message as an Adaptive Card; Post message builds a simple one for you. To design a richer card, use the Adaptive Cards Designer, copy the Card Payload JSON and paste it into Post Adaptive Card. Expressions work inside the JSON, for example "text": "Order {{ $nodes.Order.output.id }} shipped".

Teams answers 202 Accepted with an empty body, so the action output is empty. The message can take a few seconds to appear.

Troubleshooting​

MessageWhat to do
Refusing to send its credentials to …The URL isn't a Teams workflow address. Copy it again from Teams or Power Automate.
HTTP 401 / HTTP 403The workflow was deleted or its URL changed. Copy the current URL.
HTTP 400The card JSON isn't a valid Adaptive Card. Check it in the designer.
The run succeeds but nothing appearsOpen the workflow's run history in Power Automate: the workflow's owner may have lost access to the channel, or the flow is turned off.