/
/
Find the right GP account for a web customer
For support teams who see customers in WooCommerce and need their balance in Dynamics GP, by asking their AI assistant.
On this page
Connector
Connect WooCommerce, pick your AI tool and paste the prompt.
The problem
Finding a web customer's ERP account by guesswork
A web customer contacts support and you need to know what they owe. WooCommerce knows their email, but Dynamics GP has no email filter, so you hunt by name and often land on the wrong account before opening receivables.
Without PopdockAI
- Look up the customer and orders in WooCommerce
- Search Dynamics GP customers by name
- Guess which account is theirs
- Open receivables to see what is owed
With PopdockAI
- The WooCommerce customer and recent orders are read
- PowerGP Online is searched by company or last name
- A match is accepted only when the name clearly agrees
- Balance and open items are shown, and nothing is changed
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Find the PowerGP customer that corresponds to the WooCommerce customer with email `{customer-email}` and report their orders and what they owe.
**Step 1: Read the WooCommerce customer**
Call `woocommerce-get-customer` (woocommerce server) with `email` = `{customer-email}`. If more than one record returns, list them and stop. Keep `first-name`, `last-name`, `billing-company`, `customer-id`. Then call `woocommerce-get-order` with `customer-email` = `{customer-email}` and `max-records` 10 for recent orders (`order-number`, `created-date`, `status`, `total`).
**Step 2: Find the PowerGP customer**
PowerGP has no email filter, so match by name. Call `powergp-online-get-customers` (powergp-online-ai server) with `customer-name.contains` = `billing-company` if present, otherwise the last name, and `company` = `{company}`. List candidates with `customer-number`, `customer-name`, `state`, `balance-due`. Treat one as the match only if the name clearly agrees; otherwise show the candidates and ask the user to pick.
**Step 3: Pull receivables**
For the matched `customer-number`, call `powergp-online-get-receivablestransactions` with `customer-number` and `company`. Report `document-number`, `document-type`, `document-amount`, `unapplied-amount`, `due-date`, `days-past-due`.
**Step 4: Report**
WooCommerce profile and recent orders, the PowerGP match and confidence, `balance-due`, and open items.
**Rules & Guidelines:**
* Tools starting powergp-online- are on the powergp-online-ai server; tools starting woocommerce- are on the woocommerce server. Both servers must be connected.
* This prompt is read-only. Never call any WooCommerce write tool (`woocommerce-update-product`, `woocommerce-update-product-variation`, `woocommerce-add-product`, `woocommerce-update-order`, `woocommerce-add-order`, `woocommerce-add-order-note`, `woocommerce-add-refund`, `woocommerce-add-coupon`, `woocommerce-update-coupon`, `woocommerce-add-customer`, `woocommerce-update-customer`, `woocommerce-send-order-details`).
* Report what the tools return. Do not guess values.
**Validation:**
* No WooCommerce customer: say so and stop.
* No clear PowerGP match: report the customer as present in WooCommerce and absent from PowerGP.Who it's for
One answer, three teams that use it
Customer support agents
Answer what a customer owes
See the web profile, recent orders and GP balance in one reply while the customer waits.
What does WooCommerce customer tom@fabrikam.example owe in Dynamics GP?
Credit controllers
Find open items for a web buyer
Open receivables for the matched account are listed, so collections start from the right record.
Find the GP account and open items for the WooCommerce customer accounts@contoso.example.
Sales reps
Check an account before quoting
Confirm the customer's balance and match confidence before you offer new terms.
Match priya@northwindtraders.example from WooCommerce to a GP customer in company TWO.
How it works
What PopdockAI does when you ask
You give the customer's email, and your AI assistant finds their GP account and balance. Unclear matches are put to you, and nothing is changed.
01
Ask
You give the customer's email address.
02
Read
It reads the WooCommerce customer and their recent orders.
03
Match
It searches PowerGP Online by name and accepts only a clear match.
04
Report
You get the profile, the match confidence, the balance and open items.
What PopdockAI provides
The tools behind the answer
Ready made tools for WooCommerce and one secure connection to your AI tool. No code, no exports.
woocommerce-get-customer
woocommerce-get-order
powergp-online-get-customers
powergp-online-get-receivablestransactions
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
The right GP account and balance for any web customer
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)
