Microsoft Teams connector

Automate Microsoft Teams Workflows and Connect Your Entire Tech Stack

Integrate Microsoft Teams with hundreds of apps to automate notifications, incident response, approvals, and team collaboration at scale.

What can you do with the Microsoft Teams connector?

Microsoft Teams is where work happens at thousands of organizations, but it gets a lot more useful when it's connected to the rest of your tools. You might need to route alerts from monitoring systems into channels, trigger approval workflows from CRM events, or sync data between Teams and your project management tools. tray.ai handles all of that without custom middleware. Connect Teams to your broader tech stack and you'll cut out manual status updates, reduce context switching, and keep everyone informed in real time.

Automate & integrate Microsoft Teams

Automating Microsoft Teams business process or integrating Microsoft Teams data is made easy with tray.ai

Use case

Incident Alerting and On-Call Escalation

When a critical error fires in PagerDuty, Datadog, or New Relic, tray.ai can instantly post a structured alert to a dedicated Teams incident channel, @mention the on-call engineer, and create a tracking ticket in Jira — all in seconds. Teams can acknowledge incidents directly from the channel and trigger follow-up automations without leaving the conversation.

Use case

CRM-Triggered Sales Notifications

Keep your sales team informed the moment high-value deals change status in Salesforce or HubSpot by posting automatic notifications to Teams channels or direct messages. Trigger notifications when deals reach a threshold value, when a contact is marked closed-won, or when a renewal opportunity is approaching its close date.

Use case

Employee Onboarding and HR Workflow Automation

Automate onboarding by connecting your HRIS — like Workday or BambooHR — to Teams. When a new employee record is created, tray.ai can provision Teams channels, send a welcome message, assign the new hire to relevant teams, and notify IT and HR stakeholders in a single workflow.

Use case

Approval Workflows and Human-in-the-Loop Automation

Use tray.ai to send interactive approval requests directly to Teams users, pausing a workflow until a manager approves or rejects an action — such as a purchase order, access request, or content sign-off. Once the decision is made in Teams, the workflow continues downstream automatically.

Use case

Customer Support Ticket Escalation

When a high-priority ticket is opened or escalated in Zendesk, Freshdesk, or ServiceNow, tray.ai posts an alert to your support team's Teams channel with full ticket context, SLA deadlines, and a direct link. Agents can claim ownership or escalate further without leaving Teams.

Use case

Daily Digest and Reporting Automation

Schedule automated daily or weekly digest messages to Teams channels that pull together metrics from your BI tools, CRM, marketing platforms, or databases. Replace manual report-building and screenshot-sharing with structured, auto-generated summaries delivered at a set time each day.

Use case

AI Agent Notifications and Human Handoff

When an AI agent built on tray.ai hits a decision boundary or identifies a case that needs human judgment, it can post a summary and recommended action to a Teams channel or DM and wait for confirmation before proceeding. Teams becomes the control plane for your human-in-the-loop AI workflows.

Build Microsoft Teams Agents

Give agents secure and governed access to Microsoft Teams through Agent Builder and Agent Gateway for MCP.

Channel

Respond to User Messages

Deploy an AI agent directly into Microsoft Teams so users can chat with it in channels or direct messages. The agent can answer questions, handle requests, and carry out tasks without users leaving Teams.

Channel

Monitor Channel Activity

Let the agent watch for new messages or mentions in specific Teams channels and trigger workflows or responses based on what users say.

Data Source

Fetch Channel Messages

Retrieve recent messages from a Teams channel to understand conversation context, summarize discussions, or identify action items that need follow-up.

Data Source

Look Up Team and Channel Details

Query available teams, channels, and their membership details to route messages correctly or understand the organizational structure within Microsoft Teams.

Data Source

Search for Users

Find information about members within a Teams organization, such as display names, roles, or contact details, to personalize agent responses or direct notifications to the right person.

Data Source

Retrieve Chat History

Pull conversation history from direct messages or group chats to provide continuity, summarize past discussions, or surface relevant context for ongoing workflows.

Agent Tool

Send Channel Messages

Post messages to a specified Teams channel on behalf of the agent — good for automated status updates, alerts, or notifications that need to reach the whole team.

Agent Tool

Send Direct Messages

Send a private message to a specific Teams user to deliver personalized notifications, request approvals, or follow up on outstanding tasks.

Agent Tool

Create or Update Channels

Programmatically create new channels within a team or update existing channel settings. Handy for automating project setup or organizing communication around new initiatives.

Agent Tool

Post Adaptive Cards

Send formatted Adaptive Cards to Teams channels or users to display structured data, present options, or collect input such as form responses and approvals.

Agent Tool

Schedule and Create Meetings

Create Teams meetings or calls on behalf of users, automatically setting up sessions when triggered by events in connected systems like CRM deals or support escalations.

Agent Tool

Reply in Threads

Post replies within existing message threads to keep conversations organized and ensure follow-up information stays linked to the original discussion.

Agent Tool

Manage Team Membership

Add or remove members from teams and channels automatically, which makes onboarding, offboarding, and project-based access management a lot less manual.

Get started with our Microsoft Teams connector today

If you would like to get started with the tray.ai Microsoft Teams connector today then speak to one of our team.

Microsoft Teams Challenges

What challenges are there when working with Microsoft Teams and how will using Tray.ai help?

Challenge

Managing Noisy Notifications That Reduce Signal Value

The most common Teams integration failure is flooding channels with too many low-value notifications. Teams get muted and the alerts that actually matter get missed. Without conditional logic and deduplication, every tool integration becomes a fire hose.

How Tray.ai Can Help:

tray.ai gives you granular control over every notification with built-in conditional branching, filtering, and deduplication logic. You can set thresholds, suppress repeat alerts within a time window, and route different severity levels to different channels — so Teams stays useful instead of becoming background noise.

Challenge

Keeping Workflows Synchronized Across Multiple Systems

When a single business event — a deal closing or an incident resolving — needs to update Salesforce, Jira, Slack, and Teams at once, keeping everything consistent without partial failures is a real engineering challenge.

How Tray.ai Can Help:

tray.ai's workflow engine handles multi-step, multi-connector orchestration with built-in error handling and retry logic. If one downstream step fails, you can configure fallback paths, error notifications to a Teams ops channel, and retry strategies — keeping your data in sync across every connected system.

Challenge

Authenticating and Maintaining Teams API Permissions at Scale

Microsoft Teams uses OAuth 2.0 with Azure AD app registrations, and many organizations have tenant-level policies that restrict which permissions can be granted. Rotating tokens, managing scopes, and keeping credentials fresh across multiple workflows adds up to a real maintenance burden.

How Tray.ai Can Help:

tray.ai handles OAuth token refresh automatically for Microsoft Teams, storing credentials securely and re-authenticating without workflow interruption. The connector is pre-built to work within Microsoft's permission model, which cuts down the configuration work of Azure AD app registrations considerably.

Challenge

Building Interactive Approvals Without Custom App Development

Sending an interactive Teams message that can pause a workflow, capture a human response, and then resume downstream automation typically requires building a custom Teams bot or app. That's a significant development investment most ops or RevOps teams can't justify.

How Tray.ai Can Help:

tray.ai's human-in-the-loop capability works natively with Microsoft Teams, so you can send approval cards and wait for a response without building a Teams bot. The workflow pauses at the approval step, resumes when the user responds, and routes downstream actions based on the decision — all configured visually in tray.ai.

Challenge

Scaling Integrations Across Multiple Teams Tenants or Business Units

Enterprise customers with multiple Microsoft 365 tenants, subsidiaries, or business units need to replicate integration workflows across different Teams environments without rebuilding from scratch each time.

How Tray.ai Can Help:

tray.ai's workflow templates and multi-authentication support let you deploy the same integration logic across multiple Microsoft Teams tenants by swapping credentials and channel configurations. Centralized workflow management means updates roll out consistently, and versioning lets you roll back changes if something breaks.

Talk to our team to learn how to connect Microsoft Teams with your stack

Find the tray.ai connector with one of the 700+ other connectors in the tray.ai connector library to integrate your stack.

Integrate Microsoft Teams With Your Stack

The Tray.ai connector library can help you integrate Microsoft Teams with the rest of your stack. See what Tray.ai can help you integrate Microsoft Teams with.

Start using our pre-built Microsoft Teams templates today

Start from scratch or use one of our pre-built Microsoft Teams templates to quickly solve your most common use cases.

Microsoft Teams Templates

Find pre-built Microsoft Teams solutions for common use cases

Browse all templates

Template

PagerDuty Incident to Teams Channel Alert

Automatically posts a formatted incident alert to a specified Teams channel when a new PagerDuty incident is triggered, including severity, affected service, and a direct incident link.

Steps:

  • Trigger on new PagerDuty incident via webhook
  • Extract incident severity, service name, and URL from payload
  • Post formatted adaptive card message to designated Teams incident channel

Connectors Used: PagerDuty, Microsoft Teams

Template

Salesforce Closed-Won Deal Announcement

When an opportunity is marked Closed-Won in Salesforce above a configurable deal value, automatically post a celebratory announcement to the sales Teams channel with deal details and account owner.

Steps:

  • Poll Salesforce for opportunities updated to Closed-Won stage
  • Filter by deal value threshold and deduplicate previously announced deals
  • Post formatted announcement card to Teams sales channel with rep name, deal size, and account

Connectors Used: Salesforce, Microsoft Teams

Template

Zendesk Escalated Ticket to Teams Notification

Posts a real-time alert to a Teams support channel whenever a Zendesk ticket is escalated to High or Urgent priority, including customer name, ticket summary, and SLA countdown.

Steps:

  • Trigger via Zendesk webhook on ticket priority change to High or Urgent
  • Fetch full ticket details and customer account information from Zendesk API
  • Post structured Teams message with ticket link, SLA deadline, and @mention of support lead

Connectors Used: Zendesk, Microsoft Teams

Template

Teams Approval Gate for Purchase Requests

Sends an interactive approval card to a manager in Microsoft Teams when a purchase request comes in from a form or ERP system. The workflow pauses until the manager approves or rejects, then picks up from there.

Steps:

  • Trigger on new purchase request submission from Google Form or NetSuite
  • Send adaptive card approval message to designated approver in Teams and wait for response
  • On approval, create PO in NetSuite; on rejection, notify requester with reason via Teams DM

Connectors Used: Microsoft Teams, NetSuite, Google Forms

Template

BambooHR New Hire to Teams Onboarding Workflow

When a new employee is added in BambooHR, automatically send a Teams welcome message, add them to relevant team channels, and notify the IT and HR channels to begin access provisioning.

Steps:

  • Trigger on new employee creation event in BambooHR
  • Create Okta user and assign Teams license, then add new hire to role-based Teams channels
  • Post welcome message to new hire and notify IT/HR channels with onboarding task checklist

Connectors Used: BambooHR, Microsoft Teams, Okta

Template

Weekly Salesforce Pipeline Digest to Teams

Every Monday morning, automatically pulls open pipeline data from Salesforce and posts a structured weekly summary to the sales leadership Teams channel, including total pipeline value, deals by stage, and deals closing that week.

Steps:

  • Scheduled trigger fires every Monday at 8am in the configured timezone
  • Query Salesforce for open opportunities grouped by stage and filtered to close this week
  • Format and post a digest card to the sales leadership Teams channel

Connectors Used: Salesforce, Microsoft Teams