Connectors

/

Microsoft Dynamics 365 Business Central

/

Add missing Dynamics 365 Business Central customers from Dynamics 365 Sales accounts
Write
Cross-Connector

Get Dynamics 365 Sales accounts ready to invoice in Business Central

For finance teams who want accounts won in Dynamics 365 Sales created as Business Central customers, without duplicates, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Add missing Dynamics 365 Business Central customers from Dynamics 365 Sales accounts
Which active Dynamics 365 Sales accounts are missing as customers in our Business Central company? Create up to 10.
42 active accounts checked; 7 are missing from Business Central. - Missing: 7, such as Northwind Traders, Seattle - Possible duplicates: 2 name matches with a different email and city, set aside - Already customers: 33 Shall I create the 7 customers?
Microsoft Dynamics 365 Business Central
Sample figures. Your results come from your own account.
microsoft-dynamics-365-sales-get-accounts

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Microsoft Dynamics 365 Business Central

Microsoft Dynamics 365 Business Central
Run it on your own Microsoft Dynamics 365 Business Central data.

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

Try PopdockAI free

The problem

New accounts are sold before finance can invoice them

When sales signs up an account in Dynamics 365 Sales, finance has to create the same customer in Business Central, checking number and name and retyping the address and credit limit. It is slow, so the customer is often missing when the first order arrives.

Without PopdockAI

  • Check each Sales account in Business Central by hand
  • Retype addresses and credit limits
  • Guess whether a similar name is the same customer
  • Find the missing customer when the first order lands

With PopdockAI

  • Each account is looked up by account number, then by name
  • A name match counts only when email or city agrees
  • Doubtful matches are set aside, not created
  • You confirm the table, then new customer numbers are reported

The prompt

Use this prompt

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

Prompt
**Objective:** Find active Dynamics 365 Sales accounts (optionally only in state `{state}`) that have no customer in Business Central company `{company}` (default: the connector's default company when blank), and create up to `{max-accounts}` (default 10) of them after the user confirms.

**Step 1: Read accounts in Dynamics 365 Sales**

Call `dynamics-365-sales-get-accounts` with status set to Active, state set to `{state}` when given, and max-records 200. Keep account-number, account-name, email, main-phone, city, state, country and credit-limit.

**Step 2: Check each one in Business Central**

For each account, call `business-central-get-customer` with customer-number set to the account-number when it has one; if that returns nothing, call it with name.contains set to the account name. Treat a name match as existing only when the email or city also agrees; otherwise list it as a possible duplicate. Collect the accounts with no match. Stop checking once you have twice `{max-accounts}` candidates.

**Step 3: Show the plan and ask**

Show a table of the first `{max-accounts}` (default 10) missing accounts: account-name, account-number (to become the Business Central number, blank to let Business Central number it), email, phone, city, state, country (as a two-letter code), credit-limit. List possible duplicates separately; they will not be created. Ask the user to confirm, and accept a subset. Do not continue without an explicit yes.

**Step 4: Create in Business Central (only after confirmation)**

For each confirmed account call `business-central-create-customer` once with display-name set to the account-name, number set to the account-number when present, type Company, email, phone-number, city, state, country, credit-limit, and company `{company}` when given. Keep each returned number.

**Step 5: Report**

A table: account-name, new Business Central customer number, result (created or the error). Then the count created, skipped as duplicates, and failed.

**Rules & Guidelines:**

* Tools named dynamics-365-sales-* are on the dynamics-365-sales server; tools named business-central-* are on the business-central server.
* The only write tool allowed is `business-central-create-customer`, once per confirmed account. Do NOT call `business-central-update-customer`, `dynamics-365-sales-update-account` or any other write tool.
* Never create more than `{max-accounts}` (default 10) customers in one run.

**Validation:**

* If an account-number is already used by a different Business Central customer, leave number blank for that account and say so.
* If a create fails, continue with the rest and report the failure.

Who it's for

One answer, three teams that use it

Accounts receivable

Have the customer ready before the first invoice

New Sales accounts become Business Central customers in one pass, so the first order can be invoiced without a setup delay.

Which active Dynamics 365 Sales accounts in Ohio are missing from Business Central? Create up to 5.

Finance operations

Add customers without retyping or duplicates

Accounts are matched by number and then name with a second check, so near duplicates are flagged instead of created.

Find Dynamics 365 Sales accounts with no matching customer in our Contoso US company in Business Central and show me before creating anything.

Sales operations

Hand new accounts to finance in one step

Check that newly won accounts exist on the finance side without chasing anyone by email or spreadsheet.

Make sure the accounts we signed this month in Dynamics 365 Sales exist as Business Central customers.

How it works

What PopdockAI does when you ask

You name a Business Central company and your AI assistant checks active Dynamics 365 Sales accounts against it. Possible duplicates are set aside, and nothing is created until you confirm the list.

01

Ask

You name a Business Central company, and optionally a state and a limit.

Your AI tool

02

Match

It reads active Sales accounts and looks each up by account number, then name.

microsoft-dynamics-365-sales-get-accounts

03

Confirm

You see the missing customers, with possible duplicates set aside, and say yes.

No items found.

04

Create

It creates each confirmed customer once and reports the new numbers.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Microsoft Dynamics 365 Business Central 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.
Read only.Nothing in Microsoft Dynamics 365 Business Central 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

Customers ready to invoice the day they are sold

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