Microsoft Teams
Integrate Microsoft Teams with Enbbox for chat notifications. Send notifications to Teams channels and users via bot framework.
Overview
Microsoft Teams is an enterprise communication platform. Enbbox sends notifications to Teams channels using Incoming Webhooks.
Step 1: Create an Incoming Webhook
- Open Microsoft Teams and navigate to the channel where you want notifications
- Click the ⋯ menu next to the channel name → Manage channel
- Navigate to Connectors (or Settings → Connectors)
- Find Incoming Webhook and click Configure
- Enter a name (e.g., "Enbbox Notifications")
- Optionally upload a custom icon
- Click Create
- Copy the Webhook URL
[!NOTE] If you don't see the Connectors option, your Teams administrator may need to enable it for your organization.
Step 2: Connect to Enbbox
- Navigate to Integrations in the Enbbox dashboard
- Click Add Provider → select Chat → Microsoft Teams
- No global credentials needed — Teams uses per-subscriber webhook URLs
- Activate the integration
Step 3: Configure Subscriber Credentials
import { SubscriberCredentialsApi, Configuration } from "@enbbox/api";
const config = new Configuration({ accessToken: "your-api-key" });
const credentialsApi = new SubscriberCredentialsApi(config);
await credentialsApi.setCredentials("subscriber-123", "msteams", {
credentials: { webhook_url: "https://outlook.office.com/webhook/..." },
});Step 4: Send a Test Notification
import { EventsApi, Configuration } from "@enbbox/api";
const config = new Configuration({ accessToken: "your-api-key" });
const eventsApi = new EventsApi(config);
await eventsApi.triggerEvent({
name: "team-update",
to: { subscriberId: "subscriber-123" },
payload: { message: "📋 Sprint review meeting starts in 15 minutes" },
});Troubleshooting
| Issue | Solution |
|---|---|
| Webhook URL not working | Ensure the connector is still active in channel settings |
| 403 Forbidden | Your organization may block external webhooks — contact IT admin |
| Message format issues | Teams uses Adaptive Cards — plain text is also supported |