/
/
Honor Drip opt outs in HubSpot too
For marketing teams who use Drip and HubSpot side by side and need Drip unsubscribes respected in HubSpot, just by asking their AI assistant.
On this page
Connector
Connect Drip, pick your AI tool and paste the prompt.
The problem
People who left Drip still get HubSpot marketing email
An unsubscribe in Drip does not reach HubSpot subscription types, so opted out people keep getting email. Checking each one by hand gets skipped until someone complains.
Without PopdockAI
- Export unsubscribed subscribers from Drip
- Look up each person in HubSpot
- Check their status for the right subscription type
- Unsubscribe them one by one, or not at all
With PopdockAI
- Unsubscribed Drip people are read with their consent details
- Each HubSpot status is checked by email, never by name
- You approve the group and can leave people out
- It only removes consent and rechecks a sample afterwards
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Unsubscribe from the HubSpot subscription type `{subscription-name}` the people who have unsubscribed in Drip (checking up to `{max-records}` (default 50) unsubscribed Drip subscribers), after the user confirms, so HubSpot stops sending marketing email to people who opted out in Drip.
**Step 1: Resolve the HubSpot subscription type**
Call `hubspot-get-subscriptions` with `name.contains` set to `{subscription-name}` and `active` set to true. Exactly one must match. If none or several match, list them (name, purpose, communication-method) and stop. Keep its `subscription-type-id` and `name`.
**Step 2: Unsubscribed people in Drip**
Call `drip-get-subscriber` with `status` set to unsubscribed and `max-records` set to `{max-records}` (50 if blank). Keep `email`, `first-name`, `last-name`, `status` and `gdpr-consent`.
**Step 3: Check each person in HubSpot**
For each distinct email address:
* Call `hubspot-get-contact-subscriptions` with `recipient-email` set to the email. Find the row whose `subscription-id` equals the `subscription-type-id` from Step 1. If its `status` is not subscribed (NOT_SUBSCRIBED or equivalent), put the person in "already unsubscribed in HubSpot". If it is subscribed, or its value is unclear, put them in "will unsubscribe" and keep the raw status.
* If no row for that subscription comes back, call `hubspot-get-contacts` with `email` set to the email. If no contact comes back, put the person in "not in HubSpot". If a contact comes back, put them in "will unsubscribe" with HubSpot status "no record".
**Step 4: Confirm**
Show the subscription type name and id, then the groups: will unsubscribe (email, name, Drip status, gdpr-consent, HubSpot current status), already unsubscribed in HubSpot (count), not in HubSpot (list). Ask the user to confirm the "will unsubscribe" group, or to name people to leave out. Do nothing more until they confirm.
**Step 5: Unsubscribe in HubSpot**
Only after confirmation, call `hubspot-unsubscribe-contact` once per confirmed person, with `email` set to their email and `subscription-id` set to the `subscription-type-id`. Do not send `legal-basis` unless a call fails asking for one; then stop, tell the user GDPR is on for the portal, and ask which legal basis to use before continuing.
**Step 6: Verify and report**
Call `hubspot-get-contact-subscriptions` again for up to 5 of the people you changed and show their new status (HubSpot can take a minute to update). Then the totals: unsubscribed, failed (with the error), already unsubscribed, not in HubSpot.
**Rules & Guidelines:**
* `drip-get-subscriber` is on the Drip server; `hubspot-get-subscriptions`, `hubspot-get-contact-subscriptions`, `hubspot-get-contacts` and `hubspot-unsubscribe-contact` are on the hubspot server.
* `hubspot-unsubscribe-contact` is the only write tool this prompt may call, once per confirmed person, after Step 4. Do NOT call `hubspot-subscribe-contact`, and call no other hubspot-add, hubspot-update, hubspot-rename, hubspot-remove, hubspot-subscribe, hubspot-unsubscribe or hubspot-import tool.
* Drip is read-only here. Do NOT call `drip-add-subscriber`, `drip-update-subscriber`, `drip-unsubscribe-subscriber`, `drip-add-subscriber-tag`, `drip-remove-subscriber-tag`, `drip-add-subscriber-to-campaign`, `drip-remove-subscriber-from-campaign`, `drip-remove-subscriber-from-all-campaigns`, `drip-start-subscriber-workflow`, `drip-remove-subscriber-from-workflow`, `drip-activate-campaign`, `drip-pause-campaign`, `drip-activate-workflow` or `drip-pause-workflow`.
* This prompt only ever removes consent. Never subscribe or resubscribe anyone in either system.
* Match on email address only, compared case-insensitively with surrounding spaces trimmed. Never match on name alone.
**Validation:**
* If Drip returns no unsubscribed people, say so and stop.
* If everyone is already unsubscribed in HubSpot, or not in HubSpot, report the counts and stop without asking for confirmation.
* If one unsubscribe call fails, report it with the error and continue with the rest.Who it's for
One answer, three teams that use it
Email marketers
Stop emailing people who already said no
Carry Drip unsubscribes into HubSpot before your next send, so nobody who opted out hears from you again.
Unsubscribe anyone who left Drip from our HubSpot Newsletter subscription type.
Privacy and compliance
Honor opt outs across both platforms
Each change is confirmed and a sample is rechecked afterwards, giving you a clear record that consent was respected.
Check the last 100 Drip unsubscribes against HubSpot Marketing Information and show me who is still subscribed.
Customer support
Close out unsubscribe complaints for good
When someone says they still get email, bring HubSpot in line with Drip so the complaint does not come back.
Make sure every Drip unsubscribe is also out of the HubSpot Events emails.
How it works
What PopdockAI does when you ask
You name the HubSpot subscription type and your AI assistant compares it with Drip unsubscribes. No one is unsubscribed until you approve the group.
01
Resolve
It finds the one active HubSpot subscription type you name.
02
Read
It pulls up to 50 unsubscribed Drip subscribers, or the number you give.
03
Check
It looks up each person's HubSpot status for that subscription type by email.
04
Confirm
You approve the group to unsubscribe, then it unsubscribes them and rechecks a sample.
What PopdockAI provides
The tools behind the answer
Ready made tools for Drip and one secure connection to your AI tool. No code, no exports.
hubspot-get-subscriptions
drip-get-subscriber
hubspot-get-contact-subscriptions
hubspot-get-contacts
hubspot-unsubscribe-contact
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
An opt out in Drip is an opt out everywhere
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)
