npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-msteams-botframework

v1.2.5

Published

n8n node for MS Teams Azure Bot Framework

Readme

n8n-nodes-msteams-botframework

npm version License: MIT

n8n community node for Microsoft Teams Azure Bot Framework integration. Send messages, Adaptive Cards, and build AI-powered chatbots in Microsoft Teams.

n8n is a fair-code licensed workflow automation platform.

Features

🤖 Complete Bot Framework Integration

  • Send text messages and rich Adaptive Cards
  • Reply to, update, and delete messages
  • Receive webhooks from Teams (messages, reactions, member changes)
  • Full Azure Bot Framework Adapter support

🧠 AI-Powered Chatbots

  • Seamless integration with n8n AI Agent
  • Support for OpenAI, Claude, Azure OpenAI, and more
  • Conversation memory (in-memory, Redis, Postgres, Pinecone)
  • Function calling and custom tools

Flexible Response Control

  • Immediate webhook responses
  • Delayed responses (when workflow completes)
  • Manual response control with Respond to Webhook node

Installation

Community Nodes (Recommended)

Install directly in n8n:

  1. Go to Settings → Community Nodes
  2. Click Install
  3. Enter n8n-nodes-msteams-botframework
  4. Click Install

Manual Installation

npm install n8n-nodes-msteams-botframework

For production deployment with zero-downtime, see Production Installation Guide.

Quick Start

1. Setup Azure Bot

  1. Create an Azure Bot Service in Azure Portal
  2. Get your Microsoft App ID and Microsoft App Password
  3. Add credentials in n8n:
    • Go to Credentials → New
    • Select MS Teams Bot Framework API
    • Enter App ID and Password

2. Send a Message

Add MS Teams Bot Framework node to your workflow:

Operation: Send Message
Service URL: https://smba.trafficmanager.net/apis/
Conversation ID: [your-conversation-id]
Message: Hello from n8n!

3. Receive Messages (Webhook)

Add MS Teams Bot Trigger node:

  1. Copy the webhook URL from the node
  2. Configure it in Azure Bot Service → Configuration → Messaging endpoint
  3. Your workflow will trigger when users send messages

4. Build AI Chatbot

Use n8n's built-in AI Agent for intelligent conversations:

MS Teams Bot Trigger
  ↓
AI Agent (+ Chat Model + Memory + Tools)
  ↓
MS Teams Bot (Send Reply)

See AI Agent Workflow Guide for detailed setup.

Available Nodes

MS Teams Bot Framework (Action Node)

Operations:

  • Send Message - Send text messages to channels or users
  • Send Adaptive Card - Send interactive Adaptive Cards
  • Reply to Message - Reply to specific messages
  • Update Message - Edit existing messages
  • Delete Message - Remove messages

MS Teams Bot Trigger (Trigger Node)

Supported Events:

  • Message Received
  • Conversation Update (members join/leave)
  • Message Reaction
  • Message Update
  • Message Delete

Response Options:

  • Immediately (default)
  • When Last Node Finishes
  • Using Respond to Webhook Node

MS Teams AI Bot (Legacy)

Custom AI bot node with OpenAI/Claude integration. Note: We recommend using n8n's AI Agent instead for better flexibility.

Documentation

Getting Started

Installation Guides

AI & Advanced Features

Technical Documentation

Example Workflows

Usage Examples

Send an Adaptive Card

{
  "operation": "sendAdaptiveCard",
  "serviceUrl": "https://smba.trafficmanager.net/apis/",
  "conversationId": "19:meeting_xxx",
  "cardJson": {
    "type": "AdaptiveCard",
    "version": "1.4",
    "body": [
      {
        "type": "TextBlock",
        "text": "Hello from n8n!",
        "size": "Large",
        "weight": "Bolder"
      }
    ]
  }
}

AI Chatbot with Memory

Trigger: MS Teams Bot Trigger
  ↓
AI Agent:
  - Chat Model: OpenAI (gpt-3.5-turbo)
  - Memory: Window Buffer Memory (session: conversation.id)
  - System: "You are a helpful assistant"
  ↓
Action: MS Teams Send Reply

See AI-AGENT-WORKFLOW-GUIDE.md for complete examples.

Credentials

Create credentials in n8n:

  1. Credential Type: MS Teams Bot Framework API
  2. Required Fields:
    • Microsoft App ID - From Azure Bot Service
    • Microsoft App Password - From Azure Bot Service

Get these from Azure Portal → Bot Services → Your Bot → Configuration.

Compatibility

  • n8n version: 0.200.0 or later
  • Node.js: 18.x or later
  • Dependencies:
    • botbuilder ^4.20.0
    • axios ^1.6.0

Roadmap

Planned Features

  • File attachments support
  • Bot mentions (@bot)
  • Proactive messaging
  • Meeting notifications
  • Calendar integration
  • Graph API integration

See CHANGELOG.md for version history and upcoming features.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Support

For issues, questions, or feature requests:

License

MIT

Credits

Developed by: Weon Software
Author: Doan Nguyen Van
Email: [email protected]
Website: https://weon.vn


Keywords: n8n, Microsoft Teams, Bot Framework, Azure, chatbot, workflow automation, AI agent, OpenAI, Claude, Adaptive Cards