/
/
Create the missing Business Central customer from Chargebee
For operations teams who want billing customers in the ERP without re-keying, just by asking their AI assistant.
On this page
Connector
Connect Microsoft Dynamics 365 Business Central, pick your AI tool and paste the prompt.
The problem
A misspelled search leaves you with two of the same customer
New billing customers are rekeyed into the ERP by hand, and duplicates appear when someone searches the wrong spelling. You have to read the Chargebee record, search Business Central twice and then check the new customer exists.
Without PopdockAI
- Copy details from the Chargebee customer
- Search Business Central by email, then by name
- Create the customer and hope nothing matched
- Open it again to check it saved
With PopdockAI
- The single matching Chargebee customer is read
- Business Central is searched by email and by company name
- Any match is shown and the job stops
- After an explicit yes, it is created once 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:** Make sure the Chargebee customer `{customer-email}` exists in Business Central, creating it only after the user confirms.
**Step 1: Read Chargebee**
Call `chargebee-get-customer` (Chargebee server) with `email` set to `{customer-email}`. If there is not exactly one result, list what was found and stop. Keep `company`, `first-name`, `last-name`, `email`, `phone`, `preferred-currency` and `id`.
**Step 2: Check Business Central thoroughly**
Call `business-central-get-customer` (Business Central server) with `email` set to the customer's email. Then call it again with `name.contains` set to the company (or last name when company is empty). If any customer is found, show it and stop: do not create a duplicate.
**Step 3: Confirm**
Show the proposed Business Central customer: display name (company, else first and last name), email, phone, currency. Ask the user to reply "yes" to create it. Do not proceed without an explicit yes.
**Step 4: Create and verify**
Only after confirmation, call `business-central-create-customer` (Business Central server) once, with `display-name`, `email`, `phone-number` and `currency-code` from Step 1, plus `company` when `{company}` is given. Then call `business-central-get-customer` with the new `number` as `customer-number` to confirm it exists, and report the new customer number.
**Rules & Guidelines:**
* `chargebee-get-customer` is on the Chargebee server; the other Business Central tools named here are on the Business Central server.
* The only write allowed is one `business-central-create-customer` call, after confirmation. Never call any Business Central update tool, and never write to Chargebee.
* Create at most one customer per run.
**Validation:**
* If the create call fails, report the error and do not retry.
* Do not set `credit-limit` or payment terms; leave them for the finance team.Who it's for
One answer, three teams that use it
Billing operations
Get new subscribers into the ERP
Create the Business Central customer from Chargebee in one message, without rekeying details.
Create a Business Central customer for Chargebee customer billing@fabrikam.com if they are not already there.
Accounts receivable
Search twice so you do not have to
Email and company name searches run before anything is proposed, so duplicates are caught.
Is accounts@contoso.com from Chargebee already a customer in Business Central?
Finance managers
Keep credit decisions with finance
Credit limits and payment terms are left for finance to set, so the create never makes a credit call for you.
Add the Chargebee customer ops@northwindtraders.com to Business Central and leave terms blank for me.
How it works
What PopdockAI does when you ask
You give the customer email and your AI assistant checks Business Central twice before proposing anything. It never updates existing records or writes to Chargebee, and leaves credit terms for finance.
01
Ask
You give the customer email.
02
Read
It reads the Chargebee customer and keeps the details to send.
03
Check
It searches Business Central by email and by company name.
04
Confirm
You say yes, and it creates the customer once and reads it back.
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.
chargebee-get-customer
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
New billing customers in the ERP once
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)
