Post to Microsoft Teams from a workflow
Connect Microsoft Teams and post to a Teams channel from a workflow — a low score, a new safety signal, a survey that just opened — with a Workflows webhook URL.
On this page
Connect Microsoft Teams and a workflow can post to a Teams channel when something happens in Polzy: a low score comes in, a survey opens, an action is overdue. Each post goes to the channel named in the workflow step, through a webhook URL you create in Teams with its Workflows app.
Microsoft Teams is on Business and up, and only Admins can connect it and build workflows.
Teams posts to a channel that everybody in it reads; it cannot message one person. So it is not a channel for sending surveys: send the survey by email, SMS, WhatsApp or Slack, and use Teams to tell a team about it.
Before you start
You need:
- A workspace on Business or higher, and the Admin role in it.
- In Microsoft Teams, membership of the team whose channel Polzy should post to, and permission to use the Workflows app there.
Step 1: Add Microsoft Teams in Polzy
- Open Settings in the sidebar, then Integrations under Connections in the left menu, then the Available tab.
- Click Connect on Microsoft Teams' row. The panel says that Microsoft Teams needs nothing typed in.
- Click Connect.
Nothing else is asked here: each workflow step names the channel it posts to, with that channel's own URL.
Step 2: Create a webhook URL in Teams
- In Microsoft Teams, go to the channel Polzy should post to.
- Select More options (...) next to the channel, then Workflows.
- Search for and select the template Send webhook alerts to a channel.
- Check the team and channel, and select Save.
- Copy the webhook link the workflow shows once it is created.
See Microsoft: Create an Incoming Webhook and Microsoft: Send messages in Teams using incoming webhooks.
Use a Workflows URL. The older incoming webhooks of Office 365 connectors, with addresses on outlook.office.com, were retired by Microsoft in 2026 and no longer post.
Anyone who has the URL can post to the channel, so treat it like a password. The workflow in Teams belongs to the person who created it: if they leave your organization, add a co-owner in Teams so it keeps running.
Step 3: Post from a workflow
- Open Workflows and create or open a workflow.
- From the Connectors group, add the Microsoft Teams step Post to a channel.
- Paste the URL from step 2 into Channel webhook URL.
- Write the Message. It can include values from the workflow, such as the survey's name, a score or a link.
- Click Save, and switch the workflow to Active.
The message appears in the channel as a card headed Polzy. A test run of the workflow shows what the step would do without posting; to see a real post, let the workflow run once. To post to several channels, add a step for each, each with its own URL. See Workflows.
Limits
- A channel, never a person. Teams cannot message one person, and a campaign cannot use it as its channel. The integration's page says so under Good to know.
- Microsoft's limits. A post can be up to 28 KB, and more than four posts a second to one URL are slowed down by Microsoft.
- No message ID. Teams answers a post without an ID, so a later step has nothing from it to read.
- The Teams row in Channels. Settings → Notifications → Channels lists Teams too. Workflow steps post to the URL they name, whatever that row says.
Troubleshooting
| What you see | Why, and what to do |
|---|---|
| A step fails with No Teams channel for this send | Channel webhook URL is empty. Paste the channel's Workflows URL into the step. |
| A step fails with Failed to send Teams message and a status code | Teams refused the post: the workflow in Teams was turned off or deleted, or the URL is an old Office 365 connector URL. Create a new Workflows URL (step 2). |
| A step fails because Microsoft Teams cannot be used | The integration was disconnected or needs attention. Connect it again on Integrations. |
| Nothing appears in the channel, and the step succeeded | The workflow in Teams posts to a different channel, or its owner left. Check the workflow in the Teams Workflows app. |
Good to know
- Several channels. One connection serves every channel: each step carries its own URL.
- Disconnecting stops every Teams step until you connect again.
Useful links
Related articles
Signed-in members can ask Polzy or message the team from Support. How fast we reply depends on your plan.