Connectors

/

Mailchimp

/

Rank Mailchimp unsubscribes by Dynamics 365 Business Central sales
Report
Cross-Connector

Know when a valuable customer unsubscribes from your emails

For sales teams who want account owners told when high-spending Business Central customers opt out of Mailchimp, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Rank Mailchimp unsubscribes by Dynamics 365 Business Central sales
Which customers who unsubscribed from Mailchimp in the last 30 days matter most in Business Central?
41 people unsubscribed; 12 are Business Central customers. - Top: Fabrikam, 186,000 in sales, 9,400 due - Campaign: Product News, reason too many emails - Salesperson: Sam Patel, sam@northwindtraders.com - Contacts only: 6 more, plus 23 with no match Want the full ranked table for the account owners?
Mailchimp
Sample figures. Your results come from your own account.
mailchimp-get-campaign-unsubscribe

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Mailchimp

Mailchimp
Run it on your own Mailchimp data.

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

Try PopdockAI free

The problem

Valuable customers unsubscribing without anyone knowing

When a high-spending customer unsubscribes, their account manager should know. Unsubscribes sit in Mailchimp while sales and owners sit in Dynamics 365 Business Central, so nobody connects them until the customer goes quiet.

Without PopdockAI

  • Export recent unsubscribes from Mailchimp
  • Look up each one in Business Central
  • Find sales, balance and salesperson
  • Rank them and tell each owner by hand

With PopdockAI

  • Recent unsubscribes are read, latest per email
  • Each is looked up as a customer or contact
  • Customers are ranked by sales with balance and reason
  • The salesperson is named 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 which people who unsubscribed from Mailchimp campaigns in the last `{lookback-days}` days (default 30) are Business Central customers, and rank them by what they buy. Use the Business Central company `{company}`; if it is empty, omit the `company` filter.

**Step 1: Recent unsubscribes**

Call `mailchimp-get-campaign-unsubscribe` with `unsubscribe-date.from` set to today minus the lookback. Keep email, first-name, last-name, company, campaign-name, unsubscribe-date and reason. Collapse duplicate emails to the latest unsubscribe.

**Step 2: Look each one up in Business Central**

For each email, call `business-central-get-customer` with `email` set to it. Keep customer-number, name, sales, balance, balance-due and salesperson-code. If there is no customer, call `business-central-get-contact` with `email` set to it and keep contact-number, company-name and salesperson-code.

**Step 3: Who owns the relationship**

For each distinct salesperson-code found, call `business-central-get-salesperson` with `salesperson-code` set to it to get the salesperson's name and email.

**Step 4: Report**

Table 1, customers: email, customer name, sales, balance-due, campaign-name, reason, salesperson name and email, sorted by sales highest first. Table 2, contacts who are not customers. Then one line counting unsubscribes with no match in Business Central.

**Rules & Guidelines:**

* `mailchimp-get-campaign-unsubscribe` is on the mailchimp server. `business-central-get-customer`, `business-central-get-contact` and `business-central-get-salesperson` are on the business-central server.
* This prompt is read-only. Never resubscribe anyone: do NOT call `mailchimp-update-list-member` or `mailchimp-add-list-member`, and do NOT call `business-central-update-customer` or `business-central-update-contact`.

**Validation:**

* If there are no unsubscribes in the window, say so and stop.
* Match emails case-insensitively after trimming spaces.
* An unsubscribe reason may be empty; show it as blank rather than guessing one.

Who it's for

One answer, three teams that use it

Account managers

Follow up when a key customer opts out

See which of your valuable customers unsubscribed and why, while there is time for a personal call.

Which of my Business Central customers unsubscribed from Mailchimp in the last 14 days?

Sales managers

Rank opt outs by value

Unsubscribes are ranked by sales with balance due, so the biggest relationships come first.

Rank this quarter's Mailchimp unsubscribes by Business Central sales and show each salesperson.

Email marketers

See which campaigns cost valuable readers

The campaign and reason beside each customer show what prompted high-value opt outs.

Which campaigns did our biggest Business Central customers unsubscribe from in the last 60 days?

How it works

What PopdockAI does when you ask

You set a lookback period, and your AI assistant ranks recent unsubscribes by what they are worth in Business Central. It only reads.

01

Ask

You set a lookback period.

Your AI tool

02

Read

It lists recent unsubscribes, keeping the latest per email.

mailchimp-get-campaign-unsubscribe

03

Match

Each is looked up in Business Central as a customer or contact, with the salesperson.

No items found.

04

Report

Customers are ranked by sales, with balance due, campaign and reason.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Mailchimp and one secure connection to your AI tool. No code, no exports.

get-data

mailchimp-get-campaign-unsubscribe

Returns the members who unsubscribed from each Mailchimp campaign, with the date and the reason they gave.
Read only.Nothing in Mailchimp 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

Owners hear about valuable opt outs in time

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