/
/
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.
On this page
Connector
Connect Microsoft Dynamics 365 Sales, pick your AI tool and paste the prompt.
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.
**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.
02
Check
It reads the record, validates emails and websites and warns about reused emails.
03
Confirm
You see a before and after table and approve it.
04
Update
It sends only the changed fields and reads the record back.
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.
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
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.
The outcome
Corrections on the right record, nothing else touched
Related use cases
More ways to put this data to work
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.

.webp)
