Connectors

/

WooCommerce

/

Match a WooCommerce customer to a PowerGP Online account
Report
Cross-Connector

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.

Try PopdockAI free
Get a live demo
Match a WooCommerce customer to a PowerGP Online account
Find the Dynamics GP account for the WooCommerce customer dana@northwindtraders.example and tell me what they owe.
Dana Whitfield matches one PowerGP Online customer, with a balance of 1,420.00 USD due. - WooCommerce: Dana Whitfield, Northwind Traders, 3 recent orders - GP match: NORTHWIND01, Northwind Traders, Ohio, name agrees clearly - Balance due: 1,420.00 USD - Open items: invoice INV-2207, 1,420.00 USD, 9 days past due Want the details of the three recent orders?
WooCommerce
Sample figures. Your results come from your own account.
woocommerce-get-customer
woocommerce-get-order
powergp-online-get-customers
powergp-online-get-receivablestransactions

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

WooCommerce

WooCommerce
Run it on your own WooCommerce data.

Connect WooCommerce, pick your AI tool and paste the prompt.

Try PopdockAI free

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.

Prompt
**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.

Your AI tool

02

Read

It reads the WooCommerce customer and their recent orders.

woocommerce-get-customer
woocommerce-get-order

03

Match

It searches PowerGP Online by name and accepts only a clear match.

powergp-online-get-customers

04

Report

You get the profile, the match confidence, the balance and open items.

Your AI tool

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.

get-data

woocommerce-get-customer

Returns WooCommerce customer accounts with name, billing address, role and whether they have paid for an order. Filter by email, id, last name, billing country or state, role and created date range.
get-data

woocommerce-get-order

Returns WooCommerce orders with status, totals, discounts, shipping, payment method and paid date. Filter by status, customer email or id, order number, created date range, total range or billing last name.
get-data

powergp-online-get-customers

Returns customers from the PowerGP Online connector (Microsoft Dynamics GP). Read-only; can be filtered by company and the record fields it offers.
get-data

powergp-online-get-receivablestransactions

Returns receivables transactions from the PowerGP Online connector (Microsoft Dynamics GP). Read-only; can be filtered by company and the record fields it offers.
Read only.Nothing in WooCommerce 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

The right GP account and balance for any web customer

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