---
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 Office 365 + Pipedrive Integrations: Connect with Zapier MCP
> zapier.com/apps/office-365/integrations/pipedrive
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Microsoft Office 365 and Pipedrive 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 `office-365` and `pipedrive`, then `enable_zapier_action`. If Microsoft Office 365 or Pipedrive 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 Discount to Deal is enabled, call `pipedrive_add_discount_to_deal`. 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: "pipedrive", owner: "me" });

const { data } = await zapier.runAction({
  app: "pipedrive",
  actionType: "write",
  action: "add_deal_discount",
  connection: connection.id,
  inputs: {
    id: "", // Deal
    description: "", // Discount Description
    amount: "", // Discount Amount
    type: "", // Discount Type
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action pipedrive write add_deal_discount \
  --inputs '{"id":"","description":"","amount":"","type":""}'
```

## Microsoft Office 365

### Identity
Microsoft Office 365 Business is a complete office suite in the cloud. It provides all the standard office products like Excel, Outlook, Word, SharePoint and more, but available from any internet enabled computer!

Zapier does not currently support Outlook.com addresses or Home 365 accounts, only business or Enterprise.

- App slug: office-365
- Operations published here: 41 (9 events, 23 functions, 8 queries, 1 search-or-write action)

### Authentication
Zapier connects to Microsoft Office 365 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 office-365
```

### Capabilities

#### Events (9)

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

##### Calendar Event Start
Triggers at a specified time before an event in your calendar starts.

- Type: read · Key: `calendar_event_start`
- Requires: time_length, time_unit
- Optional: calendarId
- MCP tool: `microsoft_office_365_calendar_event_start` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "read", action: "calendar_event_start" })`
- CLI: `npx zapier-sdk run-action office-365 read calendar_event_start`

##### New Attachment
Triggers when there is a new attachment.

- Type: read · Key: `new_attachment`
- Requires: parentFolder
- Optional: inbox, childFolder
- MCP tool: `microsoft_office_365_new_attachment` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "read", action: "new_attachment" })`
- CLI: `npx zapier-sdk run-action office-365 read new_attachment`

##### New Calendar Event
Triggers when a new event is created in your calendar.

- Type: read · Key: `new_calendar_event`
- Requires: nothing
- Optional: calendarId
- MCP tool: `microsoft_office_365_new_calendar_event` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "read", action: "new_calendar_event" })`
- CLI: `npx zapier-sdk run-action office-365 read new_calendar_event`

##### New Contact
Triggers when a new contact is added to your account

- Type: read · Key: `new_contact`
- Requires: nothing
- Optional: contactFolderId
- MCP tool: `microsoft_office_365_new_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "read", action: "new_contact" })`
- CLI: `npx zapier-sdk run-action office-365 read new_contact`

##### New Email
Triggers when a new e-mail is received in your inbox.

- Type: read · Key: `new_email`
- Requires: nothing
- Optional: inbox
- MCP tool: `microsoft_office_365_new_email` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "read", action: "new_email" })`
- CLI: `npx zapier-sdk run-action office-365 read new_email`

##### New Email Matching Search
Triggers when a new e-mail is received in your inbox that matches a search.

- Type: read · Key: `new_email_search`
- Requires: search
- Optional: parentFolder, childFolder, note_search
- MCP tool: `microsoft_office_365_new_email_matching_search` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "read", action: "new_email_search" })`
- CLI: `npx zapier-sdk run-action office-365 read new_email_search`

##### New Flagged Email
Triggers when a new email is flagged.

- Type: read · Key: `new_flagged_email`
- Requires: nothing
- MCP tool: `microsoft_office_365_new_flagged_email` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "read", action: "new_flagged_email" })`
- CLI: `npx zapier-sdk run-action office-365 read new_flagged_email`

##### New Message in Folder
Triggers when a new new message in folder is created.

- Type: read · Key: `new_message_in_folder`
- Requires: nothing
- Optional: parentFolder, childFolder
- MCP tool: `microsoft_office_365_new_message_in_folder` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "read", action: "new_message_in_folder" })`
- CLI: `npx zapier-sdk run-action office-365 read new_message_in_folder`

##### Updated Calendar Event
Triggers when an event is updated.

- Type: read · Key: `updated_calendar_event`
- Requires: nothing
- Optional: calendarId
- MCP tool: `microsoft_office_365_updated_calendar_event` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "read", action: "updated_calendar_event" })`
- CLI: `npx zapier-sdk run-action office-365 read updated_calendar_event`

#### Functions (23)

Functions change something in Microsoft Office 365.

##### Add Attendees to Calendar Event
Adds attendees to a calendar event.

- Type: write · Key: `add_attendees`
- Requires: eventId, attendees
- Optional: shouldMergeAttendees
- MCP tool: `microsoft_office_365_add_attendees_to_calendar_eve` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "add_attendees" })`
- CLI: `npx zapier-sdk run-action office-365 write add_attendees`

##### Set Categories on an Email
Sets the categories applied to an email.

- Type: write · Key: `add_category_to_email`
- Requires: messageId, categories
- Optional: isRead
- MCP tool: `microsoft_office_365_set_categories_on_an_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "add_category_to_email" })`
- CLI: `npx zapier-sdk run-action office-365 write add_category_to_email`

##### Add User to Distribution List
Adds a user to a distribution list or group. Only available in Microsoft 365 Business accounts that have organizational directories.

- Type: write · Key: `add_user_to_distribution_list`
- Requires: groupId, userEmail
- MCP tool: `microsoft_office_365_add_user_to_distribution_list` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "add_user_to_distribution_list" })`
- CLI: `npx zapier-sdk run-action office-365 write add_user_to_distribution_list`

##### Copy Email
Create a copy of an email in another folder.

- Type: write · Key: `copy_email`
- Requires: destinationFolderId, messageId
- Optional: sender
- MCP tool: `microsoft_office_365_copy_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "copy_email" })`
- CLI: `npx zapier-sdk run-action office-365 write copy_email`

##### Create Event
Create an event in the calendar of your choice.

- Type: write · Key: `create_calendar_event`
- Requires: subject, startTime, endTime
- Optional: calendarId, isAllDay, body, showAs, attendees, categories, location
- MCP tool: `microsoft_office_365_create_event` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "create_calendar_event" })`
- CLI: `npx zapier-sdk run-action office-365 write create_calendar_event`

##### Create Contact
Creates a new contact.

- Type: write · Key: `create_contact`
- Requires: givenName
- Optional: contactFolderId, surname, emailAddresses, businessPhones, homePhones, mobilePhone, jobTitle, companyName, department, businessHomePage, fileAs, personalNotes, businessAddress_street, businessAddress_city, businessAddress_state, businessAddress_postalCode, businessAddress_countryOrRegion, homeAddress_street, homeAddress_city, homeAddress_state, homeAddress_postalCode, homeAddress_countryOrRegion, otherAddress_street, otherAddress_city, otherAddress_state, otherAddress_postalCode, otherAddress_countryOrRegion
- MCP tool: `microsoft_office_365_create_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action office-365 write create_contact`

##### Create Draft Email
Creates a draft of an email that can then be reviewed and sent out.

- Type: write · Key: `create_draft_email`
- Requires: recipients, subject, bodyFormat, body
- Optional: sender, ccRecipients, bccRecipients, file, skipLargeFiles
- MCP tool: `microsoft_office_365_create_draft_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "create_draft_email" })`
- CLI: `npx zapier-sdk run-action office-365 write create_draft_email`

##### Create Draft Reply
Creates a draft reply for an email.

- Type: write · Key: `create_draft_reply`
- Requires: emailId
- Optional: sender, recipients, ccRecipients, bccRecipients, replyTo, subject, bodyFormat, body, file, skipLargeFiles, replyToAll
- MCP tool: `microsoft_office_365_create_draft_reply` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "create_draft_reply" })`
- CLI: `npx zapier-sdk run-action office-365 write create_draft_reply`

##### Create Folder
Create a new mail folder.

- Type: write · Key: `create_folder`
- Requires: displayName
- Optional: sender, parentFolderId
- MCP tool: `microsoft_office_365_create_folder` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "create_folder" })`
- CLI: `npx zapier-sdk run-action office-365 write create_folder`

##### Delete Contact
Deletes an existing contact.

- Type: write · Key: `delete_contact`
- Requires: contact_id
- MCP tool: `microsoft_office_365_delete_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "delete_contact" })`
- CLI: `npx zapier-sdk run-action office-365 write delete_contact`

##### Delete Email
Delete an email from a shared or own mailbox.

- Type: write · Key: `delete_email`
- Requires: messageId
- Optional: mailbox
- MCP tool: `microsoft_office_365_delete_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "delete_email" })`
- CLI: `npx zapier-sdk run-action office-365 write delete_email`

##### Delete Event
Deletes an existing event.

- Type: write · Key: `delete_event`
- Requires: event_id
- MCP tool: `microsoft_office_365_delete_event` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "delete_event" })`
- CLI: `npx zapier-sdk run-action office-365 write delete_event`

##### Flag / Unflag Email
Update the follow-up flag on an email.

- Type: write · Key: `flag_email`
- Requires: messageId, action
- Optional: mailbox
- MCP tool: `microsoft_office_365_flag_unflag_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "flag_email" })`
- CLI: `npx zapier-sdk run-action office-365 write flag_email`

##### Forward Email
Forwards an existing email to new recipients.

- Type: write · Key: `forward_email`
- Requires: messageId, toRecipients
- Optional: sender, comment
- MCP tool: `microsoft_office_365_forward_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "forward_email" })`
- CLI: `npx zapier-sdk run-action office-365 write forward_email`

##### Mark Email as Read/Unread
Update the read status of an email.

- Type: write · Key: `mark_email_read_unread`
- Requires: messageId, status
- Optional: mailbox
- MCP tool: `microsoft_office_365_mark_email_as_read_unread` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "mark_email_read_unread" })`
- CLI: `npx zapier-sdk run-action office-365 write mark_email_read_unread`

##### Move Email to Folder
Move an email to a specific folder.

- Type: write · Key: `move_email`
- Requires: messageId, destinationFolderId
- MCP tool: `microsoft_office_365_move_email_to_folder` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "move_email" })`
- CLI: `npx zapier-sdk run-action office-365 write move_email`

##### Remove Categories From Email
Remove one or more categories from an email.

- Type: write · Key: `remove_category_from_email`
- Requires: categoriesToRemove, messageId
- Optional: mailbox
- MCP tool: `microsoft_office_365_remove_categories_from_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "remove_category_from_email" })`
- CLI: `npx zapier-sdk run-action office-365 write remove_category_from_email`

##### Reply to Email
Creates a new reply to a provided email ID.

- Type: write · Key: `reply_to_email`
- Requires: email_id
- Optional: comment
- MCP tool: `microsoft_office_365_reply_to_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "reply_to_email" })`
- CLI: `npx zapier-sdk run-action office-365 write reply_to_email`

##### Send Draft Email
Send a draft email that was previously created.

- Type: write · Key: `send_draft_email`
- Requires: draftEmailId
- Optional: sender
- MCP tool: `microsoft_office_365_send_draft_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "send_draft_email" })`
- CLI: `npx zapier-sdk run-action office-365 write send_draft_email`

##### Send Email
Send an email from your Office 365 account.

- Type: write · Key: `send_email`
- Requires: recipients, subject, bodyFormat, body
- Optional: sender, ccRecipients, bccRecipients, file, skipLargeFiles
- MCP tool: `microsoft_office_365_send_email` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "send_email" })`
- CLI: `npx zapier-sdk run-action office-365 write send_email`

##### Set Email Importance
Update an email's importance level.

- Type: write · Key: `set_email_importance`
- Requires: messageId, importance
- Optional: mailbox
- MCP tool: `microsoft_office_365_set_email_importance` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "set_email_importance" })`
- CLI: `npx zapier-sdk run-action office-365 write set_email_importance`

##### Update Calendar Event
Updates a calendar event information.

- Type: write · Key: `update_calendar_event`
- Requires: eventId
- Optional: subject, startTime, endTime, isAllDay, isOnlineMeeting, hideAttendees, body, showAs, importance, shouldMergeAttendees, attendees, categories, location
- MCP tool: `microsoft_office_365_update_calendar_event` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "update_calendar_event" })`
- CLI: `npx zapier-sdk run-action office-365 write update_calendar_event`

##### Update Contact
Updates a contact.

- Type: write · Key: `update_contact`
- Requires: contact
- Optional: contactFolderId, givenName, surname, emailAddresses, businessPhones, homePhones, mobilePhone, jobTitle, companyName, department, businessHomePage, personalNotes, businessAddress_street, businessAddress_city, businessAddress_state, businessAddress_postalCode, businessAddress_countryOrRegion, homeAddress_street, homeAddress_city, homeAddress_state, homeAddress_postalCode, homeAddress_countryOrRegion, otherAddress_street, otherAddress_city, otherAddress_state, otherAddress_postalCode, otherAddress_countryOrRegion
- MCP tool: `microsoft_office_365_update_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "write", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action office-365 write update_contact`

#### Queries (8)

Queries read from Microsoft Office 365 and return data. They change nothing.

##### Bulk Find Emails
Finds up to 1,000 email summaries in one request.

- Type: search · Key: `bulk_find_emails`
- Requires: nothing
- Optional: email_summary_info, folderId, searchTerms, fromAddress, startDate, endDate
- MCP tool: `microsoft_office_365_bulk_find_emails` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "search", action: "bulk_find_emails" })`
- CLI: `npx zapier-sdk run-action office-365 search bulk_find_emails`

##### Find Calendar Event
Finds a Calendar Event in your calendar.

- Type: search · Key: `find_calendar_event`
- Requires: searchTerm
- Optional: calendarId, startTime, endTime
- MCP tool: `microsoft_office_365_find_calendar_event` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "search", action: "find_calendar_event" })`
- CLI: `npx zapier-sdk run-action office-365 search find_calendar_event`

##### Find a Contact
Search for a contact.

- Type: search · Key: `find_contact`
- Requires: nothing
- Optional: contactFolderId, givenName, surname, emailAddresses
- MCP tool: `microsoft_office_365_find_a_contact` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action office-365 search find_contact`

##### Find Emails
Finds emails based on search criteria.

- Type: search · Key: `find_email`
- Requires: searchValue
- Optional: result_limit_info, search_info
- MCP tool: `microsoft_office_365_find_emails` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "search", action: "find_email" })`
- CLI: `npx zapier-sdk run-action office-365 search find_email`

##### Find Emails in Specific Folder
Searches for emails within a specific folder rather than across all mailboxes.

- Type: search · Key: `find_emails_in_folder`
- Requires: folderId
- Optional: result_limit_info, folder_info, searchTerms, fromAddress, startDate, endDate
- MCP tool: `microsoft_office_365_find_emails_in_specific_folde` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "search", action: "find_emails_in_folder" })`
- CLI: `npx zapier-sdk run-action office-365 search find_emails_in_folder`

##### Get Attachment by ID
Retrieves a specific email attachment using its ID.

- Type: search · Key: `get_attachment_by_id`
- Requires: messageId, attachmentId
- Optional: mailbox
- MCP tool: `microsoft_office_365_get_attachment_by_id` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "search", action: "get_attachment_by_id" })`
- CLI: `npx zapier-sdk run-action office-365 search get_attachment_by_id`

##### Get Calendar Events in Date Range
Retrieves calendar events within a specific date range for reporting and automation.

- Type: search · Key: `get_calendar_events_in_date_range`
- Requires: startDateTime, endDateTime
- Optional: calendarId
- MCP tool: `microsoft_office_365_get_calendar_events_in_date_r` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "search", action: "get_calendar_events_in_date_range" })`
- CLI: `npx zapier-sdk run-action office-365 search get_calendar_events_in_date_range`

##### Get Email by ID
Retrieves one complete email using its ID.

- Type: search · Key: `get_email_by_id`
- Requires: messageId
- Optional: email_info
- MCP tool: `microsoft_office_365_get_email_by_id` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "office-365", actionType: "search", action: "get_email_by_id" })`
- CLI: `npx zapier-sdk run-action office-365 search get_email_by_id`

#### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Contact
this is the description.

- Type: search_or_write · Key: `find_contact`
- Requires: givenName
- Optional: contactFolderId, surname, emailAddresses, businessPhones, homePhones, mobilePhone, jobTitle, companyName, department, businessHomePage, fileAs, personalNotes, businessAddress_street, businessAddress_city, businessAddress_state, businessAddress_postalCode, businessAddress_countryOrRegion, homeAddress_street, homeAddress_city, homeAddress_state, homeAddress_postalCode, homeAddress_countryOrRegion, otherAddress_street, otherAddress_city, otherAddress_state, otherAddress_postalCode, otherAddress_countryOrRegion
- SDK: `runAction({ app: "office-365", actionType: "search_or_write", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action office-365 search_or_write find_contact`

## Pipedrive

### Identity
Pipedrive is sales pipeline and CRM software for deal makers. Get super-organized. Close deals in less time. iOS and Android apps let you take your pipeline with you anywhere.

- App slug: pipedrive
- Operations published here: 75 (19 events, 26 functions, 23 queries, 7 search-or-write actions)

### Authentication
Zapier connects to Pipedrive 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 pipedrive
```

### Capabilities

#### Events (19)

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

##### Activity Matching Filter
Triggers when an activity newly matches a Pipedrive filter for the first time.

- Type: read · Key: `activity_in_filter_v2`
- Requires: filter_id
- MCP tool: `pipedrive_activity_matching_filter` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "activity_in_filter_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive read activity_in_filter_v2`

##### New Activity
Triggers when a new activity is created.

- Type: read · Key: `activity_v2`
- Requires: nothing
- MCP tool: `pipedrive_new_activity` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "activity_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive read activity_v2`

##### Deal Matching Filter
Triggers when a deal newly matches a Pipedrive filter for the first time.

- Type: read · Key: `deal_in_filter_v2`
- Requires: filter_id
- Optional: copy, status
- MCP tool: `pipedrive_deal_matching_filter` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "deal_in_filter_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive read deal_in_filter_v2`

##### New Deal
Triggers when a new deal is created.

- Type: read · Key: `deal_v3`
- Requires: nothing
- MCP tool: `pipedrive_new_deal` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "deal_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive read deal_v3`

##### New Lead
Triggers when a lead is created.

- Type: read · Key: `lead`
- Requires: nothing
- MCP tool: `pipedrive_new_lead` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "lead" })`
- CLI: `npx zapier-sdk run-action pipedrive read lead`

##### New Comments in Notes
Triggers when a new comment is added to a note.

- Type: read · Key: `noteComment`
- Requires: id
- MCP tool: `pipedrive_new_comments_in_notes` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "noteComment" })`
- CLI: `npx zapier-sdk run-action pipedrive read noteComment`

##### New Note
Triggers when a new note is created.

- Type: read · Key: `note_v2`
- Requires: nothing
- MCP tool: `pipedrive_new_note` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "note_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive read note_v2`

##### Organization Matching Filter
Triggers when an organization newly matches a Pipedrive filter for the first time.

- Type: read · Key: `organization_in_filter_v2`
- Requires: filter_id
- MCP tool: `pipedrive_organization_matching_filter` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "organization_in_filter_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive read organization_in_filter_v2`

##### New Organization
Triggers when a new organization is created.

- Type: read · Key: `organization_v2`
- Requires: nothing
- MCP tool: `pipedrive_new_organization` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "organization_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive read organization_v2`

##### New Person
Triggers when a new person is created.

- Type: read · Key: `personV2`
- Requires: nothing
- MCP tool: `pipedrive_new_person` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "personV2" })`
- CLI: `npx zapier-sdk run-action pipedrive read personV2`

##### Deleted Person
Triggers when an existing person is deleted.

- Type: read · Key: `person_deleted`
- Requires: nothing
- MCP tool: `pipedrive_deleted_person` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "person_deleted" })`
- CLI: `npx zapier-sdk run-action pipedrive read person_deleted`

##### Person Matching Filter
Triggers when a person newly matches a Pipedrive filter for the first time.

- Type: read · Key: `person_in_filter`
- Requires: filter_id
- MCP tool: `pipedrive_person_matching_filter` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "person_in_filter" })`
- CLI: `npx zapier-sdk run-action pipedrive read person_in_filter`

##### New Project
Triggers when a new project is created.

- Type: read · Key: `projectV2`
- Requires: nothing
- Optional: filter_id, status, board_id, phase_id
- MCP tool: `pipedrive_new_project` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "projectV2" })`
- CLI: `npx zapier-sdk run-action pipedrive read projectV2`

##### Updated Activity
Triggers when an existing activity is updated.

- Type: read · Key: `updated_activity`
- Requires: nothing
- Optional: field_to_watch
- MCP tool: `pipedrive_updated_activity` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "updated_activity" })`
- CLI: `npx zapier-sdk run-action pipedrive read updated_activity`

##### Updated Deal Stage
Triggers when a deal's stage is updated.

- Type: read · Key: `updated_deal_stage_v3`
- Requires: nothing
- Optional: stage_id
- MCP tool: `pipedrive_updated_deal_stage` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "updated_deal_stage_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive read updated_deal_stage_v3`

##### Updated Deal
Triggers when an existing deal is updated.

- Type: read · Key: `updated_deal_v4`
- Requires: nothing
- Optional: filter_by, field_to_watch
- MCP tool: `pipedrive_updated_deal` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "updated_deal_v4" })`
- CLI: `npx zapier-sdk run-action pipedrive read updated_deal_v4`

##### Updated Lead
Triggers when an existing lead is updated.

- Type: read · Key: `updated_lead`
- Requires: nothing
- Optional: lead_fields
- MCP tool: `pipedrive_updated_lead` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "updated_lead" })`
- CLI: `npx zapier-sdk run-action pipedrive read updated_lead`

##### Updated Organization
Triggers when an existing organization is updated.

- Type: read · Key: `updated_organization_v3`
- Requires: nothing
- Optional: org_fields
- MCP tool: `pipedrive_updated_organization` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "updated_organization_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive read updated_organization_v3`

##### Updated Person
Triggers when an existing person is updated. Includes previous values for the fields that changed.

- Type: read · Key: `updated_person_v4`
- Requires: nothing
- Optional: person_fields
- MCP tool: `pipedrive_updated_person` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "read", action: "updated_person_v4" })`
- CLI: `npx zapier-sdk run-action pipedrive read updated_person_v4`

#### Functions (26)

Functions change something in Pipedrive.

##### Add Discount to Deal
Adds a discount to an existing deal.

- Type: write · Key: `add_deal_discount`
- Requires: id, description, amount, type
- MCP tool: `pipedrive_add_discount_to_deal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "add_deal_discount" })`
- CLI: `npx zapier-sdk run-action pipedrive write add_deal_discount`

##### Add Label to Person
Adds an existing label to an existing person.

- Type: write · Key: `add_label_to_personV2`
- Requires: id, labels
- MCP tool: `pipedrive_add_label_to_person` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "add_label_to_personV2" })`
- CLI: `npx zapier-sdk run-action pipedrive write add_label_to_personV2`

##### Add Product to Deal
Adds one or more products to a deal. You can add a single product or multiple products at once. (with line item support)

- Type: write · Key: `add_product_to_deal_v2`
- Requires: id
- Optional: use_line_items
- MCP tool: `pipedrive_add_product_to_deal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "add_product_to_deal_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive write add_product_to_deal_v2`

##### Add Product Variation
Add product variation to a product.

- Type: write · Key: `add_product_variation`
- Requires: product_id, product_variation_id
- MCP tool: `pipedrive_add_product_variation` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "add_product_variation" })`
- CLI: `npx zapier-sdk run-action pipedrive write add_product_variation`

##### Create Activity
Creates a new activity in Pipedrive with comprehensive options for scheduling, participants, and associations.

- Type: write · Key: `create_activity_v2`
- Requires: nothing
- Optional: subject, owner_id, org_id, deal_id, lead_id, project_id, done, type, use_combined_date_and_time_field, duration, busy, note, public_description, location, priority, primary_participant, participants
- MCP tool: `pipedrive_create_activity` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_activity_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_activity_v2`

##### Create Deal
Creates a new deal.

- Type: write · Key: `create_deal_v2`
- Requires: title
- Optional: status, stage_id, stage_id_warning, pipeline_id, owner_id, org_id, person_id, probability, expected_close_date, value, currency
- MCP tool: `pipedrive_create_deal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_deal_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_deal_v2`

##### Attach File
Uploads a file and attaches it to a deal, person, organization, activity, product, lead or note.

- Type: write · Key: `create_file`
- Requires: file
- Optional: filename, deal_id, person_id, org_id, product_id, activity_id, lead_id, note_id
- MCP tool: `pipedrive_attach_file` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_file" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_file`

##### Add Follower
Adds a follower to a deal, organization, person or product.

- Type: write · Key: `create_follower_v2`
- Requires: user_id, what_to_follow
- MCP tool: `pipedrive_add_follower` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_follower_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_follower_v2`

##### Create Lead
Creates a new lead.

- Type: write · Key: `create_lead`
- Requires: title
- Optional: person_id, organization_id, owner_id, note, pinned_note, label_ids, expected_close_date, amount, currency, channel, channel_id
- MCP tool: `pipedrive_create_lead` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_lead`

##### Create Note
Creates a new note.

- Type: write · Key: `create_note`
- Requires: content
- Optional: deal_id, pinned_to_deal_flag, person_id, pinned_to_person_flag, org_id, project_id, pinned_to_organization_flag, lead_id, pinned_to_lead_flag, pinned_to_project_flag
- MCP tool: `pipedrive_create_note` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_note" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_note`

##### Create Organization
Creates a new organization in Pipedrive with support for custom fields and comprehensive address information.

- Type: write · Key: `create_organization_v2`
- Requires: name
- Optional: address
- MCP tool: `pipedrive_create_organization` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_organization_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_organization_v2`

##### Create Person
Creates a new person in Pipedrive with support for multiple email addresses, phone numbers, custom fields, and comprehensive contact information.

- Type: write · Key: `create_personV2`
- Requires: nothing
- Optional: name, emails, phones
- MCP tool: `pipedrive_create_person` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_personV2" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_personV2`

##### Create Product
Creates a new product.

- Type: write · Key: `create_productV2`
- Requires: name
- Optional: code, description, unit, tax, category, owner_id, is_linkable, currency, price, cost, overhead_cost
- MCP tool: `pipedrive_create_product` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_productV2" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_productV2`

##### Create Project
Creates a new project.

- Type: write · Key: `create_project`
- Requires: title, board_id, phase_id
- Optional: template_id, description, status, owner_id, start_date, end_date, deal_ids, org_id, person_id, labels
- MCP tool: `pipedrive_create_project` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_project" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_project`

##### Create Task
Creates a new task.

- Type: write · Key: `create_task`
- Requires: title, project_id
- Optional: description, done, due_date, assignee_id, parent_task_id
- MCP tool: `pipedrive_create_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "create_task" })`
- CLI: `npx zapier-sdk run-action pipedrive write create_task`

##### Add/Remove Deal Labels
Add or remove labels from a deal.

- Type: write · Key: `manage_deal_labels`
- Requires: id
- Optional: remove_all_labels, labels_to_remove, labels_to_add
- MCP tool: `pipedrive_add_remove_deal_labels` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "manage_deal_labels" })`
- CLI: `npx zapier-sdk run-action pipedrive write manage_deal_labels`

##### Remove Product From Deal
Removes a product attached to a deal.

- Type: write · Key: `remove_product_from_deal`
- Requires: deal_id, deal_product_id
- MCP tool: `pipedrive_remove_product_from_deal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "remove_product_from_deal" })`
- CLI: `npx zapier-sdk run-action pipedrive write remove_product_from_deal`

##### Unarchive Lead
Restores an archived lead to the Leads Inbox.

- Type: write · Key: `unarchive_lead`
- Requires: id
- MCP tool: `pipedrive_unarchive_lead` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "unarchive_lead" })`
- CLI: `npx zapier-sdk run-action pipedrive write unarchive_lead`

##### Update Activity
Updates an existing activity in Pipedrive with new values for selected fields, allowing partial updates to activity properties.

- Type: write · Key: `update_activity_v2`
- Requires: id
- Optional: subject, owner_id, org_id, deal_id, lead_id, project_id, done, type, use_combined_date_and_time_field, duration, busy, note, public_description, primary_participant, participants
- MCP tool: `pipedrive_update_activity` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "update_activity_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive write update_activity_v2`

##### Update Deal
Updates an existing deal.

- Type: write · Key: `update_deal_v2`
- Requires: id
- Optional: copy_null, title, status, stage_id, pipeline_id, owner_id, org_id, person_id, probability, expected_close_date, value, currency
- MCP tool: `pipedrive_update_deal` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "update_deal_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive write update_deal_v2`

##### Update Lead
Updates an existing lead.

- Type: write · Key: `update_lead`
- Requires: id
- Optional: title, owner_id, organization_id, person_id, label_ids, expected_close_date, amount, currency, channel
- MCP tool: `pipedrive_update_lead` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "update_lead" })`
- CLI: `npx zapier-sdk run-action pipedrive write update_lead`

##### Update Organization
Updates an existing organization in Pipedrive with new values for selected fields, allowing partial updates to organization properties and custom fields.

- Type: write · Key: `update_organization_v2`
- Requires: id
- Optional: name, address
- MCP tool: `pipedrive_update_organization` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "update_organization_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive write update_organization_v2`

##### Update Person
Updates an existing person in Pipedrive with new values for selected fields, supporting email and phone number management, field clearing with "null" values, and comprehensive custom field updates.

- Type: write · Key: `update_personV2`
- Requires: id
- Optional: copy_null, name, emails, phones
- MCP tool: `pipedrive_update_person` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "update_personV2" })`
- CLI: `npx zapier-sdk run-action pipedrive write update_personV2`

##### Update Product
Updates an existing product.

- Type: write · Key: `update_productV2`
- Requires: id
- Optional: copy_null, name, code, description, unit, tax, category, owner_id, is_linkable, currency, price, cost, overhead_cost
- MCP tool: `pipedrive_update_product` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "update_productV2" })`
- CLI: `npx zapier-sdk run-action pipedrive write update_productV2`

##### Update Project
Updates an existing project in Pipedrive.

- Type: write · Key: `update_project`
- Requires: id
- Optional: title, board_id, phase_id, description, status, owner_id, start_date, end_date, deal_ids, org_id, person_id, labels
- MCP tool: `pipedrive_update_project` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "update_project" })`
- CLI: `npx zapier-sdk run-action pipedrive write update_project`

##### Update Task
Updates an existing task.

- Type: write · Key: `update_task`
- Requires: id
- Optional: title, project_id, description, done, due_date, assignee_id
- MCP tool: `pipedrive_update_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "write", action: "update_task" })`
- CLI: `npx zapier-sdk run-action pipedrive write update_task`

#### Queries (23)

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

##### Find Activities
Finds activities by subject, owner, and other criteria. Returns multiple results.

- Type: search · Key: `activity_v3`
- Requires: nothing
- Optional: subject, search_type, owner_id, filter_id, done
- MCP tool: `pipedrive_find_activities` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "activity_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive search activity_v3`

##### Find Deals Associated With a Person
Finds deals associated with a person with enhanced data.

- Type: search · Key: `deals_by_person_v3`
- Requires: person_id
- Optional: include_files
- MCP tool: `pipedrive_find_deals_associated_with_a_person` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "deals_by_person_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive search deals_by_person_v3`

##### Find Deals
Finds deals by any field.

- Type: search · Key: `deal_v3`
- Requires: nothing
- Optional: isExactMatch, include_files
- MCP tool: `pipedrive_find_deals` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "deal_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive search deal_v3`

##### Find Deal Products
Finds products attached to a deal by name or Product ID.

- Type: search · Key: `find_deal_products`
- Requires: deal_id, search_by
- MCP tool: `pipedrive_find_deal_products` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "find_deal_products" })`
- CLI: `npx zapier-sdk run-action pipedrive search find_deal_products`

##### Find Product Variations
Finds all variations for a specific product.

- Type: search · Key: `find_product_variations`
- Requires: product_id
- MCP tool: `pipedrive_find_product_variations` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "find_product_variations" })`
- CLI: `npx zapier-sdk run-action pipedrive search find_product_variations`

##### Get Activity Type
Retrieves a specific activity type by ID, or returns all activity types if no ID is provided.

- Type: search · Key: `get_activity_type`
- Requires: nothing
- Optional: id
- MCP tool: `pipedrive_get_activity_type` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "get_activity_type" })`
- CLI: `npx zapier-sdk run-action pipedrive search get_activity_type`

##### Get Deal
Retrieves a specific deal by its ID.

- Type: search · Key: `get_deal`
- Requires: id
- MCP tool: `pipedrive_get_deal` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "get_deal" })`
- CLI: `npx zapier-sdk run-action pipedrive search get_deal`

##### Get Lead
Retrieves a specific lead by its ID.

- Type: search · Key: `get_lead`
- Requires: id
- MCP tool: `pipedrive_get_lead` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "get_lead" })`
- CLI: `npx zapier-sdk run-action pipedrive search get_lead`

##### Get Organization
Retrieves detailed organization data with optional related entities. Supports line items for processing multiple organizations.

- Type: search · Key: `get_organization`
- Requires: nothing
- Optional: organization_id, organization_items, include_persons, include_deals, include_activities
- MCP tool: `pipedrive_get_organization` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "get_organization" })`
- CLI: `npx zapier-sdk run-action pipedrive search get_organization`

##### Get Person
Retrieves a specific person by their ID.

- Type: search · Key: `get_person`
- Requires: id
- MCP tool: `pipedrive_get_person` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "get_person" })`
- CLI: `npx zapier-sdk run-action pipedrive search get_person`

##### Get Product
Retrieves a specific product by its ID.

- Type: search · Key: `get_product`
- Requires: id
- MCP tool: `pipedrive_get_product` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "get_product" })`
- CLI: `npx zapier-sdk run-action pipedrive search get_product`

##### Get Stage
Retrieves a specific stage by its ID.

- Type: search · Key: `get_stage`
- Requires: id
- MCP tool: `pipedrive_get_stage` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "get_stage" })`
- CLI: `npx zapier-sdk run-action pipedrive search get_stage`

##### Get User
Retrieves a specific user by their ID.

- Type: search · Key: `get_user`
- Requires: id
- MCP tool: `pipedrive_get_user` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "get_user" })`
- CLI: `npx zapier-sdk run-action pipedrive search get_user`

##### Find Leads
Finds leads based on your search criteria.

- Type: search · Key: `leadsV2`
- Requires: nothing
- Optional: isExactMatch
- MCP tool: `pipedrive_find_leads` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "leadsV2" })`
- CLI: `npx zapier-sdk run-action pipedrive search leadsV2`

##### Get Note
Retrieves a specific note by its ID.

- Type: search · Key: `note`
- Requires: id
- MCP tool: `pipedrive_get_note` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "note" })`
- CLI: `npx zapier-sdk run-action pipedrive search note`

##### Find Notes
Finds notes by Deal, Lead, Person, User, or Organization.

- Type: search · Key: `notesV2`
- Requires: search_by
- MCP tool: `pipedrive_find_notes` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "notesV2" })`
- CLI: `npx zapier-sdk run-action pipedrive search notesV2`

##### Find Organizations
Finds organizations by ID or field search.

- Type: search · Key: `organization_v3`
- Requires: nothing
- Optional: isExactMatch
- MCP tool: `pipedrive_find_organizations` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "organization_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive search organization_v3`

##### Find Persons
Finds persons by ID or field search.

- Type: search · Key: `person_v3`
- Requires: nothing
- Optional: isExactMatch
- MCP tool: `pipedrive_find_persons` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "person_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive search person_v3`

##### Find Products
Finds products by name, ID, or product code.

- Type: search · Key: `productV3`
- Requires: nothing
- Optional: isExactMatch
- MCP tool: `pipedrive_find_products` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "productV3" })`
- CLI: `npx zapier-sdk run-action pipedrive search productV3`

##### Get Project
Retrieves a specific project by its ID.

- Type: search · Key: `project`
- Requires: id
- MCP tool: `pipedrive_get_project` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "project" })`
- CLI: `npx zapier-sdk run-action pipedrive search project`

##### Find Project(s)
Finds a project or projects by title or other fields.

- Type: search · Key: `projects`
- Requires: searchField, term
- Optional: exactMatch
- MCP tool: `pipedrive_find_project_s` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "projects" })`
- CLI: `npx zapier-sdk run-action pipedrive search projects`

##### Find Tasks
Find tasks by title, description, or other criteria.

- Type: search · Key: `search_task`
- Requires: term
- Optional: isExactMatch, assignee_id, project_id, done
- MCP tool: `pipedrive_find_tasks` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "search_task" })`
- CLI: `npx zapier-sdk run-action pipedrive search search_task`

##### Find Users
Find users by name, email, or ID.

- Type: search · Key: `user_v2`
- Requires: search_by_email
- MCP tool: `pipedrive_find_users` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "pipedrive", actionType: "search", action: "user_v2" })`
- CLI: `npx zapier-sdk run-action pipedrive search user_v2`

#### Search or Write Actions (7)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Activity
Finds activities by subject, owner, type, dates, and other criteria, or creates one if none is found.

- Type: search_or_write · Key: `activity_v3`
- Requires: nothing
- Optional: subject, search_type, owner_id, filter_id, done, org_id, deal_id, lead_id, project_id, type, use_combined_date_and_time_field, duration, busy, note, public_description, location, priority, primary_participant, participants
- SDK: `runAction({ app: "pipedrive", actionType: "search_or_write", action: "activity_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive search_or_write activity_v3`

##### Find or Create Deal
Finds a deal by field search, or creates one if none is found.

- Type: search_or_write · Key: `deal_v3`
- Requires: title
- Optional: isExactMatch, include_files, status, stage_id, stage_id_warning, pipeline_id, owner_id, org_id, person_id, probability, expected_close_date, value, currency
- SDK: `runAction({ app: "pipedrive", actionType: "search_or_write", action: "deal_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive search_or_write deal_v3`

##### Find or Create Organization
Finds an organization by name, or creates one if none is found.

- Type: search_or_write · Key: `organization_v3`
- Requires: name
- Optional: isExactMatch, address
- SDK: `runAction({ app: "pipedrive", actionType: "search_or_write", action: "organization_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive search_or_write organization_v3`

##### Find or Create Person
Finds a person by field search, or creates one if none is found.

- Type: search_or_write · Key: `person_v3`
- Requires: nothing
- Optional: isExactMatch, name, emails, phones
- SDK: `runAction({ app: "pipedrive", actionType: "search_or_write", action: "person_v3" })`
- CLI: `npx zapier-sdk run-action pipedrive search_or_write person_v3`

##### Find or Create Product
Finds a product by field search, or creates one if none is found.

- Type: search_or_write · Key: `productV3`
- Requires: name
- Optional: isExactMatch, code, description, unit, tax, category, owner_id, is_linkable, currency, price, cost, overhead_cost
- SDK: `runAction({ app: "pipedrive", actionType: "search_or_write", action: "productV3" })`
- CLI: `npx zapier-sdk run-action pipedrive search_or_write productV3`

##### Find or Create Project
Finds a project by name, or creates one if none are found.

- Type: search_or_write · Key: `projects`
- Requires: searchField, term, title, board_id, phase_id
- Optional: exactMatch, template_id, description, status, owner_id, start_date, end_date, deal_ids, org_id, person_id, labels
- SDK: `runAction({ app: "pipedrive", actionType: "search_or_write", action: "projects" })`
- CLI: `npx zapier-sdk run-action pipedrive search_or_write projects`

##### Find or Create Task
Finds a task by search criteria, or creates one if none is found.

- Type: search_or_write · Key: `search_task`
- Requires: term, project_id, title
- Optional: isExactMatch, assignee_id, done, description, due_date, parent_task_id
- SDK: `runAction({ app: "pipedrive", actionType: "search_or_write", action: "search_task" })`
- CLI: `npx zapier-sdk run-action pipedrive search_or_write search_task`

## Frequently asked questions about automating with Microsoft Office 365 and Pipedrive

### How can I integrate Microsoft Office 365 with Pipedrive using your platform?

We support the integration of Microsoft Office 365 with Pipedrive by automating workflows through specific triggers and actions. You can set triggers such as receiving an email in Office 365, which could lead to actions like creating a deal or contact in Pipedrive automatically.

### What triggers are available for Office 365 and Pipedrive integration?

Triggers available include receiving new emails, detecting calendar events in Office 365, or changes in contacts. These triggers can initiate various actions within Pipedrive, streamlining your workflow.

### Can I customize the actions between Microsoft Office 365 and Pipedrive?

Yes, you can customize actions such as creating new or updating existing contacts and deals in Pipedrive when specific triggers occur in Office 365. This customization allows fine-tuning of how information flows between applications.

### Are there any pre-set integrations available between Microsoft Office 365 and Pipedrive?

We offer a selection of pre-set integrations that provide common use cases, making it easier to sync data such as emails and calendar events from Office 365 to relevant fields within Pipedrive.

### How secure is the data transfer between Microsoft Office 365 and Pipedrive on your platform?

Our platform employs robust security protocols to ensure that all data transferred between Microsoft Office 365 and Pipedrive remains secure during transmission.

### What kind of support do you offer for integrating these two services?

We provide comprehensive support documentation and customer service assistance to help troubleshoot any issues during the integration process between Microsoft Office 365 and Pipedrive.

### Do I need any technical knowledge to set up the integration between these services?

No extensive technical knowledge is required. Our user-friendly interface guides you through setting up triggers and actions, simplifying the integration process for both beginners and advanced users.

### 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 Office 365 integrations: zapier.com/apps/office-365/integrations.md
- Pipedrive integrations: zapier.com/apps/pipedrive/integrations.md
- Full page: zapier.com/apps/office-365/integrations/pipedrive
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk