# Kommo + Microsoft Dynamics 365 CRM Integrations: Connect with Zapier MCP
> zapier.com/apps/kommo/integrations/microsoft-dynamics-crm
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Kommo and Microsoft Dynamics 365 CRM 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).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## 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**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **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**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · accountCreate`.
- **SDK**:

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

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "microsoft-dynamics-crm", owner: "me" });

const { data } = await zapier.runAction({
  app: "microsoft-dynamics-crm",
  actionType: "write",
  action: "accountCreate",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action microsoft-dynamics-crm write accountCreate \
  --inputs '{}'
```

## Kommo

### Identity
Kommo is a messaging-powered CRM that helps you engage with your customers on a whole new level. It's a versatile, cloud-based sales automation tool that enables you to manage leads and monitor your sales pipeline in only a few clicks.

- App slug: kommo
- Operations published here: 34 (11 events, 12 functions, 6 queries, 5 search-or-write actions)

### Authentication
Zapier connects to Kommo 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.112.6 and @zapier/zapier-sdk-cli v0.84.6; 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 kommo
```

### Capabilities

#### Events (11)

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

##### New Company
Triggers when a new company is created.

- Type: read · Key: `add_company`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "add_company" })`
- CLI: `npx zapier-sdk run-action kommo read add_company`

##### New Contact
Triggers when a new contact is created.

- Type: read · Key: `add_contact`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "add_contact" })`
- CLI: `npx zapier-sdk run-action kommo read add_contact`

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

- Type: read · Key: `add_lead`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "add_lead" })`
- CLI: `npx zapier-sdk run-action kommo read add_lead`

##### New Task
Triggers when a new task is created.

- Type: read · Key: `add_task`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "add_task" })`
- CLI: `npx zapier-sdk run-action kommo read add_task`

##### Task Deleted
Triggers when a task is deleted.

- Type: read · Key: `delete_task`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "delete_task" })`
- CLI: `npx zapier-sdk run-action kommo read delete_task`

##### Lead Responsible User Changed
Triggers when lead responsible user is changed.

- Type: read · Key: `responsible_lead`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "responsible_lead" })`
- CLI: `npx zapier-sdk run-action kommo read responsible_lead`

##### Lead Status Changed
Triggers when lead status is changed.

- Type: read · Key: `status_lead`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "status_lead" })`
- CLI: `npx zapier-sdk run-action kommo read status_lead`

##### Company Updated
Triggers when company is updated.

- Type: read · Key: `update_company`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "update_company" })`
- CLI: `npx zapier-sdk run-action kommo read update_company`

##### Contact Updated
Triggers when contact is updated.

- Type: read · Key: `update_contact`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action kommo read update_contact`

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

- Type: read · Key: `update_lead`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "update_lead" })`
- CLI: `npx zapier-sdk run-action kommo read update_lead`

##### Task Updated
Triggers when task is updated.

- Type: read · Key: `update_task`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "read", action: "update_task" })`
- CLI: `npx zapier-sdk run-action kommo read update_task`

#### Functions (12)

Functions change something in Kommo.

##### Create Company
Creates a new company.

- Type: write · Key: `company_add`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "write", action: "company_add" })`
- CLI: `npx zapier-sdk run-action kommo write company_add`

##### Update Company
Updates a company.

- Type: write · Key: `company_update`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "write", action: "company_update" })`
- CLI: `npx zapier-sdk run-action kommo write company_update`

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

- Type: write · Key: `contact_add`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "write", action: "contact_add" })`
- CLI: `npx zapier-sdk run-action kommo write contact_add`

##### Update Contact
Updates a contact.

- Type: write · Key: `contact_update`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "write", action: "contact_update" })`
- CLI: `npx zapier-sdk run-action kommo write contact_update`

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

- Type: write · Key: `lead_add`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "write", action: "lead_add" })`
- CLI: `npx zapier-sdk run-action kommo write lead_add`

##### Create Lead With Contact
Creates a new lead with contact.

- Type: write · Key: `lead_contact_add`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "write", action: "lead_contact_add" })`
- CLI: `npx zapier-sdk run-action kommo write lead_contact_add`

##### Update Lead
Updates a lead.

- Type: write · Key: `lead_update`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "write", action: "lead_update" })`
- CLI: `npx zapier-sdk run-action kommo write lead_update`

##### Create Link
Create a link between related Kommo profiles.

- Type: write · Key: `links_link`
- Requires: nothing
- Optional: from, from_id, to, to_id
- SDK: `runAction({ app: "kommo", actionType: "write", action: "links_link" })`
- CLI: `npx zapier-sdk run-action kommo write links_link`

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

- Type: write · Key: `note_add`
- Requires: nothing
- Optional: text, date_create
- SDK: `runAction({ app: "kommo", actionType: "write", action: "note_add" })`
- CLI: `npx zapier-sdk run-action kommo write note_add`

##### Update Note
Updates a note.

- Type: write · Key: `note_update`
- Requires: nothing
- SDK: `runAction({ app: "kommo", actionType: "write", action: "note_update" })`
- CLI: `npx zapier-sdk run-action kommo write note_update`

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

- Type: write · Key: `task_add`
- Requires: nothing
- Optional: text, complete_till
- SDK: `runAction({ app: "kommo", actionType: "write", action: "task_add" })`
- CLI: `npx zapier-sdk run-action kommo write task_add`

##### Update Task
Updates a task.

- Type: write · Key: `task_update`
- Requires: nothing
- Optional: text
- SDK: `runAction({ app: "kommo", actionType: "write", action: "task_update" })`
- CLI: `npx zapier-sdk run-action kommo write task_update`

#### Queries (6)

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

##### Find Company
Finds an existing company.

- Type: search · Key: `company_search`
- Requires: nothing
- Optional: query, id
- SDK: `runAction({ app: "kommo", actionType: "search", action: "company_search" })`
- CLI: `npx zapier-sdk run-action kommo search company_search`

##### Find Contact
Finds an existing contact.

- Type: search · Key: `contact_search`
- Requires: nothing
- Optional: query, id
- SDK: `runAction({ app: "kommo", actionType: "search", action: "contact_search" })`
- CLI: `npx zapier-sdk run-action kommo search contact_search`

##### Find Lead
Finds an existing lead.

- Type: search · Key: `lead_search`
- Requires: nothing
- Optional: query, id
- SDK: `runAction({ app: "kommo", actionType: "search", action: "lead_search" })`
- CLI: `npx zapier-sdk run-action kommo search lead_search`

##### Find Linked Data
Search for related Kommo profiles of different types.

- Type: search · Key: `links_search`
- Requires: links[0][from_id]
- SDK: `runAction({ app: "kommo", actionType: "search", action: "links_search" })`
- CLI: `npx zapier-sdk run-action kommo search links_search`

##### Find Note
Finds an existing note.

- Type: search · Key: `note_search`
- Requires: type
- Optional: element_id
- SDK: `runAction({ app: "kommo", actionType: "search", action: "note_search" })`
- CLI: `npx zapier-sdk run-action kommo search note_search`

##### Find Task
Finds an existing task.

- Type: search · Key: `task_search`
- Requires: nothing
- Optional: search_complete_till, element_id, type
- SDK: `runAction({ app: "kommo", actionType: "search", action: "task_search" })`
- CLI: `npx zapier-sdk run-action kommo search task_search`

#### Search or Write Actions (5)

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

##### Find or Create Company
Find or Create Company

- Type: search_or_write · Key: `company_search`
- Requires: nothing
- Optional: query, id
- SDK: `runAction({ app: "kommo", actionType: "search_or_write", action: "company_search" })`
- CLI: `npx zapier-sdk run-action kommo search_or_write company_search`

##### Find or Create Contact
Find or Create Contact

- Type: search_or_write · Key: `contact_search`
- Requires: nothing
- Optional: query, id
- SDK: `runAction({ app: "kommo", actionType: "search_or_write", action: "contact_search" })`
- CLI: `npx zapier-sdk run-action kommo search_or_write contact_search`

##### Find or Create Lead
Find or Create Lead

- Type: search_or_write · Key: `lead_search`
- Requires: nothing
- Optional: query, id
- SDK: `runAction({ app: "kommo", actionType: "search_or_write", action: "lead_search" })`
- CLI: `npx zapier-sdk run-action kommo search_or_write lead_search`

##### Find or Create Note
Find or Create Note

- Type: search_or_write · Key: `note_search`
- Requires: type
- Optional: element_id, text, date_create
- SDK: `runAction({ app: "kommo", actionType: "search_or_write", action: "note_search" })`
- CLI: `npx zapier-sdk run-action kommo search_or_write note_search`

##### Find or Create Task
Find or Create Task

- Type: search_or_write · Key: `task_search`
- Requires: nothing
- Optional: search_complete_till, element_id, type, text, complete_till
- SDK: `runAction({ app: "kommo", actionType: "search_or_write", action: "task_search" })`
- CLI: `npx zapier-sdk run-action kommo search_or_write task_search`

## Microsoft Dynamics 365 CRM

### Identity
Microsoft Dynamics is built for any device, anywhere. Built for you. For Dynamics Version 9 and Dynamics 365.

- App slug: microsoft-dynamics-crm
- Operations published here: 52 (16 events, 19 functions, 10 queries, 7 search-or-write actions)

### Authentication
Zapier connects to Microsoft Dynamics 365 CRM 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.112.6 and @zapier/zapier-sdk-cli v0.84.6; 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-dynamics-crm
```

### Capabilities

#### Events (16)

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

##### New Account
Triggers when a new account is created.

- Type: read · Key: `accountList`
- Requires: nothing
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "accountList" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read accountList`

##### Updated Account
Triggers when an account is updated.

- Type: read · Key: `account_updated`
- Requires: nothing
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "account_updated" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read account_updated`

##### New Contact
Triggers when a new contact is created.

- Type: read · Key: `contactList`
- Requires: nothing
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "contactList" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read contactList`

##### Updated Contact
Triggers when a contact is updated.

- Type: read · Key: `contact_updated`
- Requires: nothing
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "contact_updated" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read contact_updated`

##### New Custom Entity
Triggers when a new custom entity is created.

- Type: read · Key: `custom_entity_created`
- Requires: custom_entity
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "custom_entity_created" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read custom_entity_created`

##### New Case/Incident
Triggers when a new case/incident is created.

- Type: read · Key: `incident_created`
- Requires: nothing
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "incident_created" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read incident_created`

##### Updated Case/Incident
Triggers when a case/incident has been updated.

- Type: read · Key: `incident_updated`
- Requires: nothing
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "incident_updated" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read incident_updated`

##### New Invoice
Triggers when a new invoice is created.

- Type: read · Key: `invoiceList`
- Requires: nothing
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "invoiceList" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read invoiceList`

##### Updated Invoice
Triggers when an invoice is updated.

- Type: read · Key: `invoice_updated`
- Requires: nothing
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "invoice_updated" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read invoice_updated`

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

- Type: read · Key: `leadList`
- Requires: nothing
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "leadList" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read leadList`

##### Updated Lead
Triggers when a lead has been updated.

- Type: read · Key: `lead_updated`
- Requires: nothing
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "lead_updated" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read lead_updated`

##### New Opportunity
Triggers when a new opportunity is created.

- Type: read · Key: `opportunityList`
- Requires: nothing
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "opportunityList" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read opportunityList`

##### Updated Opportunity
Triggers when an opportunity has been updated.

- Type: read · Key: `opportunity_updated`
- Requires: nothing
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "opportunity_updated" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read opportunity_updated`

##### New Order
Triggers when a new order is created.

- Type: read · Key: `orderList`
- Requires: nothing
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "orderList" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read orderList`

##### Updated Order
Triggers when an order is updated.

- Type: read · Key: `order_updated`
- Requires: nothing
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "order_updated" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read order_updated`

##### Updated Quote
Triggers when a quote is updated.

- Type: read · Key: `updated_quote`
- Requires: nothing
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "read", action: "updated_quote" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm read updated_quote`

#### Functions (19)

Functions change something in Microsoft Dynamics 365 CRM.

##### Create Account
Creates a new account.

- Type: write · Key: `accountCreate`
- Requires: nothing
- Optional: info, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "accountCreate" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write accountCreate`

##### Create Campaign
Creates a new campaign.

- Type: write · Key: `campaign`
- Requires: nothing
- Optional: owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "campaign" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write campaign`

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

- Type: write · Key: `contactCreate`
- Requires: nothing
- Optional: info, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "contactCreate" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write contactCreate`

##### Create Campaign Response
Creates a new campaign response.

- Type: write · Key: `create_campaign_response`
- Requires: nothing
- Optional: owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "create_campaign_response" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write create_campaign_response`

##### Create Case/Incident
Creates a new case/incident.

- Type: write · Key: `create_incident`
- Requires: customer_type
- Optional: info, owner, statuscode
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "create_incident" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write create_incident`

##### Create Custom Entity
Creates a new custom entity.

- Type: write · Key: `custom_entityCreate`
- Requires: entity
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "custom_entityCreate" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write custom_entityCreate`

##### Create Invoice
Creates a new invoice.

- Type: write · Key: `invoiceCreate`
- Requires: nothing
- Optional: info, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "invoiceCreate" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write invoiceCreate`

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

- Type: write · Key: `leadCreate`
- Requires: nothing
- Optional: info, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "leadCreate" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write leadCreate`

##### Create Opportunity
Creates a new opportunity.

- Type: write · Key: `opportunityCreate`
- Requires: nothing
- Optional: info, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "opportunityCreate" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write opportunityCreate`

##### Create Order
Creates a new order.

- Type: write · Key: `orderCreate`
- Requires: nothing
- Optional: info, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "orderCreate" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write orderCreate`

##### Update Account
Updates an account.

- Type: write · Key: `update_account`
- Requires: id
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "update_account" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write update_account`

##### Update Campaign Response
Updates an existing campaign response.

- Type: write · Key: `update_campaign_response`
- Requires: nothing
- Optional: owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "update_campaign_response" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write update_campaign_response`

##### Update Contact
Updates a contact.

- Type: write · Key: `update_contact`
- Requires: id
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "update_contact" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write update_contact`

##### Update Custom Entity
Updates a custom entity.

- Type: write · Key: `update_custom_entity`
- Requires: entity
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "update_custom_entity" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write update_custom_entity`

##### Update Case/Incident
Updates a Case/Incident.

- Type: write · Key: `update_incident`
- Requires: id
- Optional: info, statecode
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "update_incident" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write update_incident`

##### Update Invoice
Updates an invoice.

- Type: write · Key: `update_invoice`
- Requires: id
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "update_invoice" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write update_invoice`

##### Update Lead
Updates a lead.

- Type: write · Key: `update_lead`
- Requires: id
- Optional: info, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "update_lead" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write update_lead`

##### Update Opportunity
Updates an opportunity.

- Type: write · Key: `update_opportunity`
- Requires: id
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "update_opportunity" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write update_opportunity`

##### Update Order
Updates a order.

- Type: write · Key: `update_order`
- Requires: id
- Optional: info
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "write", action: "update_order" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm write update_order`

#### Queries (10)

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

##### Find Account
Finds an account by name.

- Type: search · Key: `accountSearch`
- Requires: nothing
- Optional: info, info_field_enable, anyFieldMatches, useEmailOnly
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search", action: "accountSearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search accountSearch`

##### Find Contact
Finds a contact by email address or other searchable field.

- Type: search · Key: `contactSearch`
- Requires: nothing
- Optional: info, info_field_enable, companyName, anyFieldMatches, useEmailOnly
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search", action: "contactSearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search contactSearch`

##### Find Custom Entity
Finds a custom entity give.

- Type: search · Key: `custom_entitySearch`
- Requires: entity
- Optional: info, info_field_enable, anyFieldMatches, useEmailOnly
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search", action: "custom_entitySearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search custom_entitySearch`

##### Find Campaign
Finds a campaign by name.

- Type: search · Key: `find_campaign`
- Requires: campaign_name
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search", action: "find_campaign" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search find_campaign`

##### Find Campaign Response
Finds a campaign response.

- Type: search · Key: `find_campaign_response`
- Requires: nothing
- Optional: statecode
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search", action: "find_campaign_response" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search find_campaign_response`

##### Find Multiple Leads
Finds all leads that match the search criteria.

- Type: search · Key: `find_multiple_leads`
- Requires: nothing
- Optional: info, info_field_enable, anyFieldMatches
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search", action: "find_multiple_leads" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search find_multiple_leads`

##### Find Invoice
Finds a invoice by email address or other searchable field.

- Type: search · Key: `invoiceSearch`
- Requires: nothing
- Optional: info, info_field_enable, anyFieldMatches
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search", action: "invoiceSearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search invoiceSearch`

##### Find Lead
Finds a lead by email address or other searchable field.

- Type: search · Key: `leadSearch`
- Requires: nothing
- Optional: info, info_field_enable, anyFieldMatches
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search", action: "leadSearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search leadSearch`

##### Find Opportunity
Finds an opportunity by subject or other searchable field.

- Type: search · Key: `opportunitySearch`
- Requires: nothing
- Optional: info, info_field_enable, contactId, anyFieldMatches
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search", action: "opportunitySearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search opportunitySearch`

##### Find Order
Finds an order by email address or other searchable field.

- Type: search · Key: `orderSearch`
- Requires: nothing
- Optional: info, info_field_enable, anyFieldMatches
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search", action: "orderSearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search orderSearch`

#### Search or Write Actions (7)

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

##### Find or Create Account
Finds an account by name.

- Type: search_or_write · Key: `accountSearch`
- Requires: nothing
- Optional: info, info_field_enable, anyFieldMatches, useEmailOnly, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search_or_write", action: "accountSearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search_or_write accountSearch`

##### Find or Create Contact
Finds a contact by email address or other searchable field.

- Type: search_or_write · Key: `contactSearch`
- Requires: nothing
- Optional: info, info_field_enable, companyName, anyFieldMatches, useEmailOnly, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search_or_write", action: "contactSearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search_or_write contactSearch`

##### Find or Create Custom Entity
Finds a custom entity give.

- Type: search_or_write · Key: `custom_entitySearch`
- Requires: entity
- Optional: info, info_field_enable, anyFieldMatches, useEmailOnly
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search_or_write", action: "custom_entitySearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search_or_write custom_entitySearch`

##### Find or Create Invoice
Finds a invoice by email address or other searchable field.

- Type: search_or_write · Key: `invoiceSearch`
- Requires: nothing
- Optional: info, info_field_enable, anyFieldMatches, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search_or_write", action: "invoiceSearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search_or_write invoiceSearch`

##### Find or Create Lead
Finds a lead by email address or other searchable field.

- Type: search_or_write · Key: `leadSearch`
- Requires: nothing
- Optional: info, info_field_enable, anyFieldMatches, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search_or_write", action: "leadSearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search_or_write leadSearch`

##### Find or Create Opportunity
Finds an opportunity by subject or other searchable field.

- Type: search_or_write · Key: `opportunitySearch`
- Requires: nothing
- Optional: info, info_field_enable, contactId, anyFieldMatches, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search_or_write", action: "opportunitySearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search_or_write opportunitySearch`

##### Find or Create Order
Finds an order by email address or other searchable field.

- Type: search_or_write · Key: `orderSearch`
- Requires: nothing
- Optional: info, info_field_enable, anyFieldMatches, owner
- SDK: `runAction({ app: "microsoft-dynamics-crm", actionType: "search_or_write", action: "orderSearch" })`
- CLI: `npx zapier-sdk run-action microsoft-dynamics-crm search_or_write orderSearch`

## Frequently asked questions about automating with Kommo and Microsoft Dynamics 365 CRM

### 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
- Kommo integrations: zapier.com/apps/kommo/integrations.md
- Microsoft Dynamics 365 CRM integrations: zapier.com/apps/microsoft-dynamics-crm/integrations.md
- Full page: zapier.com/apps/kommo/integrations/microsoft-dynamics-crm
- SDK: npmjs.com/package/@zapier/zapier-sdk