---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Microsoft Teams Events + PagerDuty Integrations: Connect with Zapier MCP
> zapier.com/apps/microsoft-teams-events/integrations/pagerduty
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Microsoft Teams Events and PagerDuty in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `microsoft-teams-events` and `pagerduty`, then `enable_zapier_action`. If Microsoft Teams Events or PagerDuty isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: once Add Acknowledge Event is enabled, call `pagerduty_add_acknowledge_event`. Each operation below lists its MCP tool name.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "pagerduty", owner: "me" });

const { data } = await zapier.runAction({
  app: "pagerduty",
  actionType: "write",
  action: "add_acknowledge_event",
  connection: connection.id,
  inputs: {
    service_key: "", // Integration Key
    incident_key: "", // Incident Key
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action pagerduty write add_acknowledge_event \
  --inputs '{"service_key":"","incident_key":""}'
```

## Microsoft Teams Events

### Identity
Microsoft Teams is the hub for teamwork in Office 365 that integrates all the people, content, and tools your team needs to be more engaged and effective. Requires tenant admin consent.

- App slug: microsoft-teams-events
- Operations published here: 15 (3 events, 6 functions, 6 queries)

### Authentication
Zapier connects to Microsoft Teams Events via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection microsoft-teams-events
```

### Capabilities

#### Events (3)

Events fire when something happens in Microsoft Teams Events. Use them to start a run.

##### Message Query
Search across Microsoft Teams using Microsoft Graph Search.

- Type: read · Key: `search`
- Requires: query
- MCP tool: `microsoft_teams_events_message_query` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "read", action: "search" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events read search`

##### New Transcription
Triggers when a new transcription is created.

- Type: read · Key: `transcription`
- Requires: userId
- MCP tool: `microsoft_teams_events_new_transcription` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "read", action: "transcription" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events read transcription`

##### New Webinar Registration
Triggers when someone registers for a webinar.

- Type: read · Key: `webinar_registrant`
- Requires: webinarId
- Optional: includeMoreRegistrants
- MCP tool: `microsoft_teams_events_new_webinar_registration` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "read", action: "webinar_registrant" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events read webinar_registrant`

#### Functions (6)

Functions change something in Microsoft Teams Events.

##### Add Member to Private Channel
Adds a member to a private channel

- Type: write · Key: `add_member_to_channel`
- Requires: team_id, user_id, channel_id
- Optional: owner
- MCP tool: `microsoft_teams_events_add_member_to_private_chann` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "write", action: "add_member_to_channel" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events write add_member_to_channel`

##### Remove Member From Private Channel
Removes a member from a private channel

- Type: write · Key: `remove_member_from_channel`
- Requires: team_id, channel_id, membership_id
- MCP tool: `microsoft_teams_events_remove_member_from_private_` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "write", action: "remove_member_from_channel" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events write remove_member_from_channel`

##### Delete Message
Soft-deletes a message in a chat or channel.

- Type: write · Key: `soft_delete_message`
- Requires: message_type
- MCP tool: `microsoft_teams_events_delete_message` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "write", action: "soft_delete_message" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events write soft_delete_message`

##### Update Channel
Updates a channel.

- Type: write · Key: `update_channel`
- Requires: team_id, channel_id
- MCP tool: `microsoft_teams_events_update_channel` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "write", action: "update_channel" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events write update_channel`

##### Update Message With Card
Updates an existing chat or channel message that contains an adaptive card. You can replace the card, or disable its buttons to mark a decision (for example, after an approval). You can only update messages sent by the connected account.

- Type: write · Key: `update_message_with_card`
- Requires: message_type, card_type
- Optional: message_text, disable_buttons, status_text
- MCP tool: `microsoft_teams_events_update_message_with_card` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "write", action: "update_message_with_card" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events write update_message_with_card`

##### Create Webinar Attendance Report
Creates an attendance report for a completed webinar session.

- Type: write · Key: `webinar_attendance`
- Requires: webinarId, sessionId
- MCP tool: `microsoft_teams_events_create_webinar_attendance_r` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "write", action: "webinar_attendance" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events write webinar_attendance`

#### Queries (6)

Queries read from Microsoft Teams Events and return data. They change nothing.

##### Find Private Channel Member
Finds a private channel member by email address.

- Type: search · Key: `find_private_channel_member`
- Requires: team_id, channel_id, email
- MCP tool: `microsoft_teams_events_find_private_channel_member` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "search", action: "find_private_channel_member" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events search find_private_channel_member`

##### Get Message
Retrieves a specific channel message using the message ID.

- Type: search · Key: `get_message`
- Requires: team_id, channel_id, message_id
- MCP tool: `microsoft_teams_events_get_message` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "search", action: "get_message" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events search get_message`

##### Get Message Replies
Retrieves the replies to a channel message using the parent message ID.

- Type: search · Key: `get_message_replies`
- Requires: team_id, channel_id, parent_message_id
- MCP tool: `microsoft_teams_events_get_message_replies` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "search", action: "get_message_replies" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events search get_message_replies`

##### Find Messages
Finds chat or channel messages using a search query.

- Type: search · Key: `search_message`
- Requires: query
- MCP tool: `microsoft_teams_events_find_messages` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "search", action: "search_message" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events search search_message`

##### Find Webinar
Finds a webinar and its sessions given its ID.

- Type: search · Key: `webinar`
- Requires: webinarId
- MCP tool: `microsoft_teams_events_find_webinar` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "search", action: "webinar" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events search webinar`

##### Find Webinar Registration
Finds a webinar registration given its ID.

- Type: search · Key: `webinar_registration`
- Requires: webinarId, registrationId
- MCP tool: `microsoft_teams_events_find_webinar_registration` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "microsoft-teams-events", actionType: "search", action: "webinar_registration" })`
- CLI: `npx zapier-sdk run-action microsoft-teams-events search webinar_registration`

## PagerDuty

### Identity
In an always-on world, teams trust PagerDuty to help them deliver a perfect digital experience to their customers, every time. PagerDuty is the central nervous system for a company's digital operations. PagerDuty identifies issues and opportunities in real time and brings together the right people to respond to problems faster and prevent them in the future. From digital disruptors to Fortune 500 companies, over 12,000 businesses rely on PagerDuty to help them continually improve their digital operations-so their teams can spend less time reacting to incidents and more time building for the future.

- App slug: pagerduty
- Operations published here: 5 (1 event, 3 functions, 1 query)

### Authentication
Zapier connects to PagerDuty via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection pagerduty
```

### Capabilities

#### Events (1)

Events fire when something happens in PagerDuty. Use them to start a run.

##### New or Updated Incident
Triggers when new incidents are created, or when existing incidents change state.

- Type: read · Key: `new_or_updated_incident`
- Requires: service_id
- Optional: type, assigned_to
- MCP tool: `pagerduty_new_or_updated_incident` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pagerduty", actionType: "read", action: "new_or_updated_incident" })`
- CLI: `npx zapier-sdk run-action pagerduty read new_or_updated_incident`

#### Functions (3)

Functions change something in PagerDuty.

##### Add Acknowledge Event
Acknowledge the incident with this Incident Key.

- Type: write · Key: `add_acknowledge_event`
- Requires: service_key, incident_key
- Optional: incident_key_regex, description
- MCP tool: `pagerduty_add_acknowledge_event` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pagerduty", actionType: "write", action: "add_acknowledge_event" })`
- CLI: `npx zapier-sdk run-action pagerduty write add_acknowledge_event`

##### Add Resolve Event
Resolve the incident with this Incident Key.

- Type: write · Key: `add_resolve_event`
- Requires: service_key, incident_key
- Optional: incident_key_regex, description
- MCP tool: `pagerduty_add_resolve_event` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pagerduty", actionType: "write", action: "add_resolve_event" })`
- CLI: `npx zapier-sdk run-action pagerduty write add_resolve_event`

##### Add Trigger Event
Trigger an incident in PagerDuty with this Incident Key.

- Type: write · Key: `add_trigger_event`
- Requires: service_key, description
- Optional: incident_key, incident_key_regex, client_url, client
- MCP tool: `pagerduty_add_trigger_event` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pagerduty", actionType: "write", action: "add_trigger_event" })`
- CLI: `npx zapier-sdk run-action pagerduty write add_trigger_event`

#### Queries (1)

Queries read from PagerDuty and return data. They change nothing.

##### Find User on Call
Find the user on call for a specific schedule.

- Type: search · Key: `user`
- Requires: schedule, start_time, end_time
- MCP tool: `pagerduty_find_user_on_call` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pagerduty", actionType: "search", action: "user" })`
- CLI: `npx zapier-sdk run-action pagerduty search user`

## Frequently asked questions about automating with Microsoft Teams Events and PagerDuty

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Microsoft Teams Events integrations: zapier.com/apps/microsoft-teams-events/integrations.md
- PagerDuty integrations: zapier.com/apps/pagerduty/integrations.md
- Full page: zapier.com/apps/microsoft-teams-events/integrations/pagerduty
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk