Connecting Haystack to Microsoft Teams 📢
Learn how to configure a custom webhook to push real-time group posts and events directly into your preferred Teams channel.
Teams Integration Update Effective March 2026:
If You Have Previously Configured a Microsoft Teams Integration:
Due to a mandatory update from Microsoft, previous integration paths have been retired. To continue receiving Haystack notifications in Teams, please follow the updated setup guide below to migrate to the new Webhook workflow.
If You Are Setting Up a Microsoft Teams Integration for the First Time:
Simply follow the steps below for a successful integration!
Maximize your team’s visibility by connecting Haystack posts and events directly to your Microsoft Teams channels. By using Power Automate Webhooks, you can ensure that important company updates reach your team where they already work.
Whether you are looking to push updates from multiple Haystack groups into a single "Announcements" channel, or send specific group content to dedicated project channels, this guide will walk you through the custom setup required for each connection.
📋 Integration Setup Prerequisites
Before you begin, ensure you have the following access and accounts ready:
-
Power Automate Access: A Microsoft 365 account with permissions to create "Automated Cloud Flows."
-
Haystack Admin Rights: You must be an Admin of the specific Haystack Group you wish to connect.
-
Teams Permissions: You need permission to "Post as a Bot" in your target Microsoft Teams channel.
🔗 Understanding Connections
Each connection between a Haystack Group and a Microsoft Teams Channel is unique. Because Microsoft has moved to a Webhook-based system, you must generate a new "Flow" for every specific link you want to create.
How Connections Work:
-
One-to-One: One Haystack Group sends updates to one Teams Channel. (Standard setup)
-
Many-to-One: You can have multiple Haystack Groups push to the same Teams Channel.
-
Requirement: You must repeat the setup steps for each group, but you can use the same Webhook URL for all of them.
-
-
One-to-Many: You can have one Haystack Group push to multiple Teams Channels.
-
Requirement: You must repeat the setup steps and create a unique Power Automate Flow for each destination channel
-
⚠️ Important Note: There is no "Bulk Update" tool for this migration. Each individual connection between Haystack and Teams must be configured manually using the steps below to ensure the data is routed correctly.
Step 1: Create the Flow
-
Navigate to https://make.powerautomate.com.
-
Click + Create in the left sidebar, then in the "Start from blank" section, select Automated Cloud Flow.

-
When the dialog box appears, click Skip at the bottom. We’ll set the specific triggers manually on the next page.

Step 2: Set the Trigger
-
Click Add a Trigger on the canvas.

-
Search for "Microsoft Teams Webhook" and select it.

-
In the Microsoft Teams Webhook options, choose the option: "When a Teams Webhook request is received".

-
On the next screen in the Parameters tab, under "Who can trigger the flow," select Anyone. Then click Save.

Step 3: Add the Teams Action
-
Click the (+) plus icon on the connector line to add a new action.

-
In the next screen Search for ‘Microsoft Teams’ then click the See More link under the Team options.

-
Select the action: Post card in chat or channel.

-
In the Parameters tab, set the following:
-
Post as: Flow Bot
-
Post in: Channel

-
-
Once you select Channel you will be given additional options. Select the "Team" you would like the bot to be active in.

- Next, select the channel from the drop down you want Haystack notifications to go to.

- For the "Adaptive Card" option, click into the box. Within that, click the blue lightning bolt. This will specify the format via Haystack. After clicking on the lightning bolt, it will take you to the next screen. Within that next screen, select the Attachments Adaptive Card option.

- Click anywhere within the canvas to navigate out of the options.
- Give the work flow a name and click Save. We'd suggest adding a descriptive name so it's easy to identify in the future. For example: Haystack Marketing Group Notifications.


Step 4: Get Your URL
-
Click the When a Teams webhook request is received box in the workflow canvas to get the generated webhook url

-
Copy the webhook request URL, you'll need this for the next step. You might also want to keep this screen open so it can be easily referenced again if needed.

Phase 5: Connect to Haystack
Now that you have your modern webhook URL, you can link it to your Haystack groups.
-
Go to your Haystack workspace. Open the Haystack Group you want to receive Teams notifications from.
-
Visit the group's settings page and select Connect Teams in the left hand navigation.


-
Click the (+) button to add a new webhook URL.

-
Paste your copied URL into the field, and click Save.

✅ Success!
Any new Event or Post in the Haystack group you've configured will now automatically show up in your Teams channel. Just ensure the "Send to MS Teams" option is enabled when publishing your content.

Shortly after publishing, you'll see the Teams notification appear in your Team's channel.

Troubleshooting 🛠️
If notifications aren't appearing, check the Run History in your Power Automate flow. If the flow shows a "Failed" status, verify that the Attachments Adaptive Card was selected correctly in the Step 3: Add the Teams Action section.

Have a question? Reach out to our team at: support@haystackteam.com or submit a ticket by clicking HERE. Somebody from our team will happily assist.
Keywords: Microsoft Teams, teams integration, notifications, Power Automate, flow, adaptive card, group, channel, webhook, admin, guide, instructions, help, connected apps, integrations