Connectors

/

Drip

/

Apply Drip unsubscribes to HubSpot subscriptions
Write
Cross-Connector

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.

Try PopdockAI free
Get a live demo
Apply Drip unsubscribes to HubSpot subscriptions
Check our unsubscribed Drip subscribers and unsubscribe them from the HubSpot Product Updates emails.
6 people unsubscribed in Drip are still subscribed to Product Updates in HubSpot. - Will unsubscribe: 6 people, including sam@contoso.com - Already unsubscribed in HubSpot: 37 - Not in HubSpot: 7 Shall I unsubscribe the 6, or leave anyone out?
Drip
Sample figures. Your results come from your own account.
hubspot-get-subscriptions
drip-get-subscriber
hubspot-get-contact-subscriptions
hubspot-get-contacts
hubspot-unsubscribe-contact

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Drip

Drip
Run it on your own Drip data.

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

Try PopdockAI free

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.

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

Your AI tool

02

Read

It pulls up to 50 unsubscribed Drip subscribers, or the number you give.

drip-get-subscriber

03

Check

It looks up each person's HubSpot status for that subscription type by email.

hubspot-get-contact-subscriptions
hubspot-get-contacts

04

Confirm

You approve the group to unsubscribe, then it unsubscribes them and rechecks a sample.

Your AI tool

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.

get-data

hubspot-get-subscriptions

Returns the email subscription types defined in HubSpot from the HubSpot connector. Filter by name, communication method, active, purpose.
get-data

drip-get-subscriber

Returns Drip people (subscribers) with name, email, location, tags, status, GDPR consent, lead score and lifetime value. Filter by exact email, email domain, tag, status, country, minimum lead score, minimum lifetime value or date added.
get-data

hubspot-get-contact-subscriptions

Returns each recipient's email subscription statuses and legal basis from the HubSpot connector. Filter by id, name, status, recipient email.
get-data

hubspot-get-contacts

Returns contact records from HubSpot CRM, with email, phone, company, lifecycle stage, lead status, owner and location from the HubSpot connector. Filter by company id, state region, contact owner, email, last name, create date, company name, record id, lifecycle stage, lead status.
run-action

hubspot-unsubscribe-contact

Unsubscribes an email address from a HubSpot subscription type. Required: Email, Subscription ID. Optional: Legal basis, Legal basis explanation. Writes to HubSpot.
Read only.Nothing in Drip 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

An opt out in Drip is an opt out everywhere

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