Connectors

/

Microsoft Dynamics 365 Sales

/

Correct Dynamics 365 Sales record details
Write

Fix contact details in Dynamics 365 Sales without collateral damage

For sales teams who want a phone, email or address corrected on the right account, contact or lead, just by asking their AI assistant.

Try PopdockAI free
Get a live demo
Correct Dynamics 365 Sales record details
Update the contact Jordan Lee at Contoso in Dynamics 365 Sales: new mobile 555 0142 and email jordan.lee@contoso.com.
I found one matching contact, Jordan Lee at Contoso, and the changes look valid. - Mobile phone: 555 0199 to 555 0142 - Email: jlee@contoso.com to jordan.lee@contoso.com, not used on any other record - Every other field stays as it is Shall I save these changes?
Microsoft Dynamics 365 Sales
Sample figures. Your results come from your own account.
microsoft-dynamics-365-sales-get-accounts
microsoft-dynamics-365-sales-get-contacts
microsoft-dynamics-365-sales-get-leads
microsoft-dynamics-365-sales-update-account
microsoft-dynamics-365-sales-update-contact
microsoft-dynamics-365-sales-update-lead

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Microsoft Dynamics 365 Sales

Microsoft Dynamics 365 Sales
Run it on your own Microsoft Dynamics 365 Sales data.

Connect Microsoft Dynamics 365 Sales, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

A quick fix lands on the wrong record or blanks a field

Correcting a phone, email or address seems trivial, but it is easy to edit the wrong record when names repeat, blank fields you did not mean to touch or reuse an email another record has. Each slip leaves bad data for someone else.

Without PopdockAI

  • Search for the record and pick one of several
  • Edit fields on the form by hand
  • Blank a field by accident
  • Reuse an email that belongs to someone else

With PopdockAI

  • The one matching account, contact or lead is found by its ID
  • Fields that cannot change are listed
  • Emails and websites are validated and reused emails warned about
  • After you confirm, only changed fields are sent and read back

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Apply `{changes}` to the `{record-type}` named `{record-name}` (id `{record-id}`), showing the before and after first.

**Step 1: Read the current values**

According to `{record-type}`:

* account: `dynamics-365-sales-get-accounts` with `account-name` = `{record-name}`
* contact: `dynamics-365-sales-get-contacts` with `full-name` = `{record-name}`
* lead: `dynamics-365-sales-get-leads` with `name` = `{record-name}`

If none or more than one record matches, stop and ask. Any other `{record-type}`: stop and say only account, contact and lead are supported.

**Step 2: Map and check the changes**

Map `{changes}` to the update tool's parameters. Only the fields that tool accepts can change; list anything requested that it cannot change. Check that emails look like emails and that a website starts with http:// or https://. If the change is to an email, call `dynamics-365-sales-get-contacts` or `dynamics-365-sales-get-leads` with `email` = the new value and warn if another record already uses it.

**Step 3: Confirm**

Show a before and after table of only the fields that change, and ask for one confirmation.

**Step 4: Write**

Call exactly one of `dynamics-365-sales-update-account`, `dynamics-365-sales-update-contact` or `dynamics-365-sales-update-lead` (matching `{record-type}`) with `id` = `{record-id}` and only the changed fields.

**Step 5: Verify**

Repeat the read from Step 1 (using the new name if the name changed) and confirm the values are stored.

**Rules & Guidelines:**

* No read tool returns a record's GUID. A GUID for an existing record must come from the user: it is the `id=` value in the browser address bar when the record is open in Dynamics 365. Never invent, reuse or guess one.
* The only write tools this prompt may call are `dynamics-365-sales-update-account`, `dynamics-365-sales-update-contact` and `dynamics-365-sales-update-lead`: one of them, once, after the confirmation.
* Pass only the fields being changed. Never blank a field the user did not mention.

**Validation:**

* If `{record-id}` is not a GUID, stop and explain where to find it.
* If `{changes}` is ambiguous (for example "update the phone" with no number), ask before writing.

Who it's for

One answer, three teams that use it

Sales reps

Fix contact details in one message

Update a phone or email on the right record without opening forms.

Update the email for contact Priya Shah at Fabrikam in Dynamics 365 Sales to priya.shah@fabrikam.com. Here is the record ID.

Sales operations

Keep CRM data clean

Reused emails and invalid websites are caught before they spread.

Change the website on the Northwind Traders account to northwindtraders.com and the main phone to 555 0100.

SDRs

Correct leads without side effects

Only the fields you change are sent, so nothing else on the lead is touched.

Update lead Sam Patel at Contoso with job title Operations Director and mobile 555 0177.

How it works

What PopdockAI does when you ask

You say the record type and name, give its ID and describe the changes, and your AI assistant checks them in Dynamics 365 Sales. You see a before and after table, and it never guesses a record ID.

01

Ask

You say the record type and name, give its record ID and describe the changes.

Your AI tool

02

Check

It reads the record, validates emails and websites and warns about reused emails.

microsoft-dynamics-365-sales-get-accounts
microsoft-dynamics-365-sales-get-contacts
microsoft-dynamics-365-sales-get-leads

03

Confirm

You see a before and after table and approve it.

No items found.

04

Update

It sends only the changed fields and reads the record back.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Microsoft Dynamics 365 Sales and one secure connection to your AI tool. No code, no exports.

get-data

microsoft-dynamics-365-sales-get-accounts

Returns Dynamics 365 Sales accounts. Filter by city, annual revenue, status, industry, account number, email, account name and state, and cap how many records come back.
get-data

microsoft-dynamics-365-sales-get-contacts

Returns Dynamics 365 Sales contacts. Filter by full name, email, city, job title, state, parent customer, created date and status, and cap how many records come back.
get-data

microsoft-dynamics-365-sales-get-leads

Returns Dynamics 365 Sales leads. Filter by created date, name, status, rating, owner, company name, email and lead source, and cap how many records come back.
run-action

microsoft-dynamics-365-sales-update-account

Updates an existing account in Dynamics 365 Sales. Only the fields you pass are changed. Takes the record ID, plus optional industry, state or province, city, primary contact, website, country, phone, account number, name and email.
run-action

microsoft-dynamics-365-sales-update-contact

Updates an existing contact in Dynamics 365 Sales. Only the fields you pass are changed. Takes the record ID, plus optional last name, mobile phone, job title, city, company, business phone, first name and email.
run-action

microsoft-dynamics-365-sales-update-lead

Updates an existing lead in Dynamics 365 Sales. Only the fields you pass are changed. Takes the record ID, plus optional last name, rating, first name, company name, topic, business phone, job title, lead source and email.
Read only.Nothing in Microsoft Dynamics 365 Sales Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Corrections on the right record, nothing else touched

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation