Microsoft Teams Automation
Automate Microsoft Teams messaging, meetings, channels, and workflow integrations
它会碰到什么
扫了多少1 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Microsoft Teams Automation
Automate Microsoft Teams communication and collaboration workflows.
Core Capabilities
Channel Messaging
message_types:
simple_message:
channel_id: "channel_xxx"
message: "Hello, Team!"
formatted_message:
channel_id: "channel_xxx"
content_type: "html"
message: |
<h1>Weekly Update</h1>
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
adaptive_card:
channel_id: "channel_xxx"
card:
type: "AdaptiveCard"
body:
- type: "TextBlock"
text: "Approval Required"
weight: "bolder"
- type: "Input.Text"
id: "comment"
placeholder: "Add comment"
actions:
- type: "Action.Submit"
title: "Approve"
data:
action: "approve"
Meeting Automation
meeting_creation:
subject: "Weekly Standup"
start: "2024-01-20T09:00:00"
end: "2024-01-20T09:30:00"
attendees:
- "user1@company.com"
- "user2@company.com"
is_online_meeting: true
settings:
allow_new_time_proposals: true
lobby_bypass: "organization"
record_automatically: false
Incoming Webhooks
webhook_message:
url: "https://outlook.webhook.office.com/..."
payload:
"@type": "MessageCard"
themeColor: "0076D7"
summary: "Deployment Complete"
sections:
- activityTitle: "Production Deployment"
activitySubtitle: "v2.1.0 deployed successfully"
facts:
- name: "Environment"
value: "Production"
- name: "Duration"
value: "5 minutes"
markdown: true
potentialAction:
- "@type": "OpenUri"
name: "View Dashboard"
targets:
- os: "default"
uri: "https://dashboard.example.com"
Bot Workflows
bot_commands:
/status:
description: "Check system status"
response:
type: adaptive_card
template: status_card
/create-ticket:
description: "Create support ticket"
parameters:
- title: required
- priority: optional
action: create_jira_issue
/approve {id}:
description: "Approve request"
action: process_approval
response: "Request {{id}} approved ✓"
Integration Workflows
CI/CD Notifications
pipeline_notifications:
on_build_start:
channel: "#deployments"
card:
title: "🚀 Build Started"
fields:
- Branch: "{{branch}}"
- Triggered by: "{{user}}"
on_build_complete:
channel: "#deployments"
card:
title: "{{#if success}}✅{{else}}❌{{/if}} Build {{status}}"
fields:
- Duration: "{{duration}}"
- Tests: "{{tests_passed}}/{{tests_total}}"
actions:
- title: "View Logs"
url: "{{logs_url}}"
Approval Workflows
approval_flow:
trigger: expense_submitted
actions:
- send_adaptive_card:
channel: "#approvals"
card:
title: "Expense Approval"
body: "{{employee}} submitted ${{amount}}"
actions:
- Approve
- Reject
- wait_for_response:
timeout: 48_hours
- process_decision:
approved: update_expense_status
rejected: notify_submitter
Best Practices
- Rate Limits: Respect Microsoft Graph limits
- Adaptive Cards: Use for rich interactions
- Permissions: Request minimal scopes
- Threading: Reply in threads for context
- Mentions: Use @mentions sparingly
- Webhooks: Use for one-way notifications
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。