/
/
Respect every Mailchimp unsubscribe in DonorPerfect too
For nonprofit teams who want recent Mailchimp opt-outs flagged on DonorPerfect donors, by asking their AI assistant.
On this page
Connector
Connect DonorPerfect, pick your AI tool and paste the prompt.
The problem
Mailchimp unsubscribes never reach DonorPerfect
When a donor unsubscribes in Mailchimp, staff in DonorPerfect have no idea and may still email them directly. Carrying each unsubscribe across means matching addresses to donors and setting a flag by hand, which falls behind quickly.
Without PopdockAI
- Export recent unsubscribes from Mailchimp
- Search DonorPerfect for each address
- Check for an existing flag
- Fall behind within a few weeks
With PopdockAI
- The flag is confirmed active first
- Recent unsubscribes are matched to donors
- Already-flagged donors are skipped, ambiguous emails held for you
- Flags are set after you confirm, nobody resubscribed
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Find everyone who unsubscribed from a Mailchimp campaign in the last `{lookback-days}` days (default 30), match them to DonorPerfect donors by email, and set the DonorPerfect flag `{flag}` on each so staff know not to email them.
**Step 1: Validate the flag**
Call `donorperfect-get-code` with `code` set to `{flag}`. Confirm a match whose field name is the flag field and that is not inactive. If there is none, list close matches with `description.contains` and stop.
**Step 2: Read the unsubscribes**
Call `mailchimp-get-campaign-unsubscribe` with `unsubscribe-date.from` set to `{lookback-days}` days before today. De-duplicate by email, keeping the latest date, the campaign name and the reason.
**Step 3: Match to donors and skip already flagged**
For each email, call `donorperfect-get-donor` with `email` (fall back to `donorperfect-get-address` with `email`). For each matched donor, call `donorperfect-get-flag` with `donor-id` and `flag` set to `{flag}`; skip donors who already carry it.
**Step 4: Confirm before writing**
Show the donors to flag (donor id, name, email, unsubscribe date, campaign, reason) and the unmatched email count. Ask the user to confirm. Do not write until they do.
**Step 5: Set the flag**
For each confirmed donor, call `donorperfect-set-flag` with `donor-id` and `flag` set to `{flag}`. Record any failure and continue.
**Step 6: Report**
Flagged, already flagged, failed and unmatched counts, with the flagged rows.
**Rules & Guidelines:**
* `mailchimp-get-campaign-unsubscribe` is on the mailchimp server. `donorperfect-get-code`, `donorperfect-get-donor`, `donorperfect-get-address`, `donorperfect-get-flag` and `donorperfect-set-flag` are on the donorperfect server.
* `donorperfect-set-flag` is the only write, only after Step 4 confirmation. Do NOT call `mailchimp-update-list-member` or `mailchimp-add-list-member`: never resubscribe anyone. Do NOT call `donorperfect-save-donor`.
**Validation:**
* If there are no unsubscribes in the window, say so and stop.
* If one email matches several donors, list them and flag none of them until the user picks.Who it's for
One answer, three teams that use it
Development marketers
Keep direct email compliant
Staff see opt-outs on the donor record before they write.
Flag DonorPerfect donors who unsubscribed in Mailchimp in the last 60 days with NOEMAIL.
Donor database managers
Sync opt-outs monthly
Run it each month and skip anyone already flagged.
Carry this month's Mailchimp unsubscribes into DonorPerfect with our OPTOUT flag.
Development officers
Know why a donor opted out
Each donor comes with the unsubscribe date, campaign and reason.
Which donors unsubscribed from our Year End appeal in Mailchimp, and why?
How it works
What PopdockAI does when you ask
You name the flag and a lookback, and your AI assistant matches recent Mailchimp unsubscribes to DonorPerfect donors. Nothing is written until you confirm.
01
Ask
You name the DonorPerfect flag and a lookback period, 30 days by default.
02
Match
It confirms the flag is active and matches recent unsubscribes to donors.
03
Confirm
You see each donor with the unsubscribe date, campaign and reason.
04
Flag
It sets the flag on the donors you confirmed and reports the result.
What PopdockAI provides
The tools behind the answer
Ready made tools for DonorPerfect and one secure connection to your AI tool. No code, no exports.
donorperfect-get-code
mailchimp-get-campaign-unsubscribe
donorperfect-get-donor
donorperfect-get-address
donorperfect-get-flag
donorperfect-set-flag
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
Every Mailchimp unsubscribe respected in DonorPerfect
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)
