Microsoft Teams Integration
This guide explains how to send ABsmartly experiment notifications to a Microsoft Teams channel using Teams Incoming Webhooks. This allows your team to receive real-time alerts in Teams when experiment events occur in ABsmartly, such as when an experiment starts, stops, or reaches a significant result.
Prerequisites
- ABsmartly account with access to the Web Console and the FullAdmin role, which is required to create Webhooks.
- Microsoft Teams with the ability to add apps or configure workflows in your target channel.
Step 1 — Create an Incoming Webhook in Teams
info
Microsoft has deprecated the legacy Office 365 Connectors in favour of the Workflows app powered by Power Automate. The steps below use the Workflows approach, which is the current recommended method.
- In Microsoft Teams, navigate to the channel where you want to receive notifications.
- Click the + (Add a tab) button or select Workflows from the channel menu.
- Search for "Post to a channel when a webhook request is received" and select it.
- Give the workflow a name, for example:
ABsmartly Notifications. - Click Next, then Add workflow.
- Copy the webhook URL that is generated. You will need this in the next step.
Step 2 — Create a Webhook in ABsmartly
- In the ABsmartly Web Console, go to Settings > Webhooks.
- Click Create Webhook.
- Fill in the webhook details:
- URL: Paste the Teams webhook URL you copied in Step 1.
- Description:
Microsoft Teams notifications
- Select which events should trigger the webhook. For example:
- Experiment started
- Experiment stopped
- Experiment reached significance
- Click Save.
Step 3 — Verify the Integration
- Trigger one of the events you subscribed to in Step 2 (for example, start an experiment).
- Check your Teams channel to confirm the notification has arrived.
If the message does not appear, check the webhook activity in the ABsmartly Web Console under Settings > Webhooks by clicking on your webhook and reviewing the delivery log.
tip
You can create multiple webhooks pointing to different Teams channels to route different types of notifications. For example, you could send significance alerts to a data analysis channel and experiment lifecycle events to a product channel.
Troubleshooting
| Issue | Possible cause | Solution |
|---|---|---|
| No messages in Teams | Incorrect webhook URL | Regenerate the workflow URL in Teams and update the ABsmartly webhook |
| Workflow disabled | Power Automate workflow turned off | Re-enable it in Power Automate |
| Missing events | Events not selected in ABsmartly | Edit the webhook in ABsmartly and enable the required events |
If you have any issues setting up the Microsoft Teams integration, please contact us at [email protected].