/
/
See which customers responded to a campaign and then ordered
For marketers who want Constant Contact campaign engagement matched to Dynamics GP customer accounts and orders, by asking their AI assistant.
On this page
Connector
Connect Microsoft Dynamics GP, pick your AI tool and paste the prompt.
The problem
Campaign results that never connect to customers
After a campaign you want to know which customers responded, but Constant Contact sees email addresses and Dynamics GP sees accounts. GP cannot search customers by email, so matching recipients to accounts and orders is manual.
Without PopdockAI
- Export opens, clicks and bounces from Constant Contact
- Match each email to a GP customer by hand
- Search for orders placed after the send
- Leave bounced customer emails unfixed
With PopdockAI
- Opens, clicks, bounces and unsubscribes are collected per recipient
- Emails are matched to active Dynamics GP customers
- Clickers are checked for orders since the send
- Bounced customers come with phone and contact, 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:** For the Constant Contact campaign named `{campaign-name}`, list the engagement of the recipients who are Dynamics GP customers, alongside each customer's balance and sales. Use GP company `{company}` (empty means the default company).
**Step 1: Find the campaign in Constant Contact**
Call `constant-contact-get-campaign` with name.contains `{campaign-name}`. If more than one comes back, list them (name, status, last-sent-date) and stop. If its status is not Done, say it has not been sent and stop.
**Step 2: Collect the engagement in Constant Contact**
With the campaign-id, call `constant-contact-get-campaign-open`, `constant-contact-get-campaign-click`, `constant-contact-get-campaign-bounce` and `constant-contact-get-campaign-unsubscribe`. Build one row per email-address with the counts of opens and clicks, and whether it bounced or unsubscribed.
**Step 3: Carry the emails across to Dynamics GP**
Dynamics GP cannot filter customers by email, so call `dynamics-gp-get-rm-customer` once with inactive false, company `{company}` and customer-class `{customer-class}` when given, max-records 500. Build a lookup from every address in main-email-address (split on semicolons and commas, trimmed, lower case) to the customer. Match each engagement row against it. A recipient with no match is not a GP customer; count them but do not list them.
**Step 4: Add the account context from Dynamics GP**
For each matched customer who clicked, call `dynamics-gp-get-rm-sales-trx` with customer-id and document-date.from set to the campaign's last-sent-date, so the report shows any order placed after the email.
**Step 5: Report**
* Campaign name, last-sent-date, and the campaign totals from Step 1 (sends, opens, clicks, bounces, opt-outs)
* A table of matched customers: customer-id, customer-name, email, opened, clicked, bounced, unsubscribed, customer-balance, orders since send (count and total)
* Sort clickers with orders first, then clickers, then openers
* A short list of bounced customers with their GP phone-1 and contact-person, since their email on file needs fixing
**Rules & Guidelines:**
* Tools whose names start with dynamics-gp are on the dynamics-gp server; tools whose names start with constant-contact are on the constant-contact server.
* This prompt is read-only. Do NOT call `constant-contact-resend-campaign-to-non-openers`, `constant-contact-update-contact`, `dynamics-gp-rm-customer-note`, `dynamics-gp-rm-customer-address-email` or any other write tool on either server.
**Validation:**
* If the customer read was capped at 500, say that some recipients may be customers you could not match.
* If no recipient matches a GP customer, say so with the number of recipients checked.Who it's for
One answer, three teams that use it
Email marketers
Show campaign results in customer terms
Engagement is reported by account with orders since the send, so you can show what a campaign led to.
Which Dynamics GP customers clicked the Spring Promo campaign in Constant Contact, and who ordered after?
Account managers
Follow up on customers who clicked
Customers who clicked but have not ordered are the warmest calls you can make this week.
Show me WHOLESALE class customers who opened the October Product Update but have not ordered since.
Customer data teams
Fix bounced customer emails
Bounced customers come with their GP phone and contact, so the address on file can be corrected.
Which Dynamics GP customers bounced on the September newsletter, and who can I call to fix their email?
How it works
What PopdockAI does when you ask
You name a sent campaign, and your AI assistant matches its recipients to Dynamics GP customers and checks their orders. It reads and reports only.
01
Ask
You name a sent Constant Contact campaign, and optionally a customer class.
02
Collect
It gathers each recipient's opens, clicks, bounces and unsubscribes.
03
Match
It matches emails to active Dynamics GP customers and checks orders since the send.
04
Report
You get engaged customers, orders and bounced customers to fix.
What PopdockAI provides
The tools behind the answer
Ready made tools for Microsoft Dynamics GP and one secure connection to your AI tool. No code, no exports.
constant-contact-get-campaign
constant-contact-get-campaign-open
constant-contact-get-campaign-click
constant-contact-get-campaign-bounce
constant-contact-get-campaign-unsubscribe
microsoft-dynamics-gp-get-rm-customer
microsoft-dynamics-gp-get-rm-sales-trx
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
See which customers engaged and then ordered
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)
