Skip to content

Start building

Integration · CRM

AI agents for Dynamics 365 Sales (app)

Find and add accounts, contacts, leads and opportunities, log tasks and notes, and query any table with OData or FetchXML in Microsoft Dynamics 365 Sales (or any Dataverse environment), as an application user.

Actions
16
Read
9
Write
7

Actions

What your agents can do in Dynamics 365 Sales (app)

Find and add accounts, contacts, leads and opportunities, log tasks and notes, and query any table with OData or FetchXML in Microsoft Dynamics 365 Sales (or any Dataverse environment), as an application user (no one signs in).

Read 9

Look things up. Nothing changes.

  • Find accounts

    Finds accounts (companies) by part of the name, account number or city, or changed since a time; active ones only unless asked.

  • Find contacts

    Finds contacts (people) by part of the full name, by email address, or by the account they belong to; active ones only unless asked.

  • Find leads

    Finds leads by part of the name, company or topic, by email address, or created since a time; open ones only unless asked.

  • Find opportunities

    Finds opportunities (deals) by part of the name, by customer (an account or contact ID), by state (open, won or lost; open by default) or closing on or before a date.

  • Get a record

    Reads one row of any table by its ID: entity_set is the table's plural Web API name.

  • List activities

    Lists the activities (tasks, phone calls, emails, appointments) about one record, like an account, contact, lead or opportunity, newest first; optionally only one type or only open ones.

  • List notes

    Lists the notes on one record (an account, contact, lead, opportunity or other row), newest first.

  • Run a FetchXML query

    Runs a FetchXML query against a table, for joins, aggregates and grouping that OData filters cannot express.

  • Query any table

    Reads rows of any table with OData $filter, $select, $orderby and $expand, like entity set incidents with filter statecode eq 0 and prioritycode eq 1, or contacts with filter contains(fullname,'Lee').

Write 7

Create, change or send.

  • Create an account

    Creates an account (a company) with a name and optional account number, phone, email, website, address, description, annual revenue, employee count and parent account.

  • Create a contact

    Creates a contact (a person) with a last name and optional first name, email, phones, job title, city, country and description, optionally linked to their account.

  • Create a lead

    Creates a lead with a topic and a last name, and optional first name, company, email, phones, job title, website, estimated value and description.

  • Create an opportunity

    Creates an opportunity (a deal) with a name and optional customer (an account, or a contact), estimated value, estimated close date, probability (0 to 100) and description.

  • Create a task

    Creates a task (a to-do) with a subject and optional description, due time and priority, optionally about an account, contact, lead or opportunity, so it shows on that record's timeline.

  • Add a note

    Adds a note to an account, contact, lead or opportunity, with a text and an optional title; it shows on the record's timeline.

  • Update a record

    Changes fields of one existing row of any table, like a lead's statuscode, an opportunity's estimatedvalue or stepname, or an account's telephone1.

A person can approve first

Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.

Connection

How it connects

Connect it once in the console, then give it to the agents and workflows that need it.

App credentials

Paste the client ID and secret of an app your organization registered with Dynamics 365 Sales (app). The platform fetches its tokens itself (OAuth client credentials).

Settings

  • Environment URL
  • Directory (tenant) ID

Kept safe

  • Credentials are stored encrypted with your organization's own keys.
  • They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
  • Calls go only to the tool's own servers.

How we protect your data

Ideas

Ideas to start with

Starting points made only from the actions above. Mix them with any other tool your agents can use.

  • 01

    Ask about your Dynamics 365 Sales (app) data

    Ask a question in plain words. The agent can find accounts, find contacts or find leads in Dynamics 365 Sales (app), then answers with what it found.

  • 02

    Let an agent update Dynamics 365 Sales (app)

    Have the agent create an account or create a contact in Dynamics 365 Sales (app) as part of a larger task. Turn on approval and a person signs off on each change first.

  • 03

    Share what it finds in Slack

    Give one agent Dynamics 365 Sales (app) and Slack: it can find accounts in Dynamics 365 Sales (app) and post a summary to a Slack channel in the same run.

FAQ

Dynamics 365 Sales (app) and MyDeepAgents

Can MyDeepAgents connect to Dynamics 365 Sales (app)?

Yes. The Dynamics 365 Sales (app) connector has 16 actions: 9 read and 7 make changes. Your agents can call them as tools, and your workflows can run them as steps.

How do I connect Dynamics 365 Sales (app)?

Paste the client ID and secret of an app your organization registered with Dynamics 365 Sales (app). The platform fetches its tokens itself (OAuth client credentials). The connection also asks for: Environment URL and Directory (tenant) ID. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.

Can an agent change data in Dynamics 365 Sales (app) without asking?

Only if you let it. Each of the 7 actions that change data can be set to wait for a person's approval before it runs.

Can I use Dynamics 365 Sales (app) in workflows as well as agents?

Yes. Every Dynamics 365 Sales (app) action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put Dynamics 365 Sales (app) to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.