Connectors

/

HubSpot

/

Subscribe a HubSpot list to a Drip campaign
Write
Cross-Connector

Enrol a HubSpot list in a Drip campaign without opt-outs

For marketers who want HubSpot contacts in a Drip email series, screened for consent and duplicates, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Subscribe a HubSpot list to a Drip campaign
Subscribe the members of our Trial signups list in HubSpot to the Onboarding series in Drip.
220 members screened for the Onboarding series. - Will subscribe: 174 - Already in campaign: 31 - Excluded: 11, opted out in HubSpot or unsubscribed in Drip - No email: 4 Shall I subscribe the 174?
HubSpot
Sample figures. Your results come from your own account.
drip-get-campaign
hubspot-get-contact-list-membership
hubspot-get-contact-subscriptions
drip-get-subscriber
drip-get-campaign-subscriber
drip-add-subscriber-to-campaign

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

HubSpot

HubSpot
Run it on your own HubSpot data.

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

Try PopdockAI free

The problem

A straight list import into Drip can email people who said no

Moving a HubSpot contact list into a Drip email series means screening every member first. Anyone opted out in HubSpot or unsubscribed in Drip must be left out, and people already in the campaign should not be added twice.

Without PopdockAI

  • Export the HubSpot list
  • Check each person's HubSpot subscriptions
  • Look them up in Drip for status and campaigns
  • Import and hope nobody who said no slipped in

With PopdockAI

  • Every member is screened against HubSpot and Drip statuses
  • People already in the campaign are left alone
  • Excluded people are shown with the system that opted them out
  • Only confirmed people are subscribed, with each result reported

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Subscribe the members of the HubSpot contact list `{list-name}` to the Drip email series campaign named like `{campaign-name}`, after the user confirms. Never subscribe anyone who has opted out in either system.

**Step 1: Resolve the Drip campaign**

Call `drip-get-campaign` with `name.contains` set to `{campaign-name}`. Exactly one campaign must match; if none or several match, list them and stop. Keep its campaign-id and status.

**Step 2: List members in HubSpot**

Call `hubspot-get-contact-list-membership` with `list-name` set to `{list-name}` and `max-records` 200. Drop members with no contact-email.

**Step 3: Screen each member**

For each email:

* call `hubspot-get-contact-subscriptions` with `recipient-email` set to it; exclude the person if any subscription status is not subscribed (NOT_SUBSCRIBED or equivalent);
* call `drip-get-subscriber` with `email` set to it; exclude the person if Drip status is unsubscribed;
* call `drip-get-campaign-subscriber` with `email` set to it and `campaign-id` set to the campaign-id; mark the person as already in the campaign if anything comes back.

**Step 4: Confirm**

Show the campaign name and status, then four groups: will subscribe, already in campaign, excluded (opted out, with which system), no email. Ask the user to confirm the "will subscribe" group. Do nothing more until they confirm.

**Step 5: Subscribe**

Only after confirmation, call `drip-add-subscriber-to-campaign` once per confirmed person, with `email` set to their email and `campaign_id` set to the campaign-id. Report each result, then the totals: subscribed, failed (with the error).

**Rules & Guidelines:**

* `drip-get-campaign`, `drip-get-subscriber`, `drip-get-campaign-subscriber` and `drip-add-subscriber-to-campaign` are on the drip server; `hubspot-get-contact-list-membership` and `hubspot-get-contact-subscriptions` are on the hubspot server.
* `drip-add-subscriber-to-campaign` is the only write tool this prompt may call, and only after the user confirms. Do NOT call `drip-activate-campaign`, `drip-add-subscriber`, `drip-update-subscriber` or any HubSpot add or update tool.
* If the campaign is not active, say that subscribed people will not receive mail until it is activated, and leave activating it to the user.

**Validation:**

* If the list has no members, or everyone is excluded or already subscribed, report that and stop without asking for confirmation.
* If one subscribe call fails, report it and continue with the rest.

Who it's for

One answer, three teams that use it

Lifecycle marketers

Start an onboarding series from a list

Enrol a HubSpot list in a Drip series with opt-outs and existing members screened out.

Subscribe the New customers October list in HubSpot to the Welcome series in Drip.

Email marketers

Launch a nurture without consent risk

See who will be excluded and why before anyone is added to the campaign.

Who on the Webinar leads list in HubSpot would be excluded from the Nurture campaign in Drip?

Marketing operations

Avoid double enrolment

People already in the campaign are skipped, and inactive campaigns are flagged for you to activate.

Add the Contoso trial users list from HubSpot to the Trial conversion series in Drip, skipping anyone already in it.

How it works

What PopdockAI does when you ask

You name the HubSpot list and the Drip series, and your AI assistant screens every member. Nobody is subscribed until you have seen the four groups and confirmed.

01

Ask

You name the HubSpot contact list and the Drip email series.

Your AI tool

02

Screen

It checks HubSpot subscriptions, Drip status and existing campaign membership.

drip-get-campaign
hubspot-get-contact-list-membership
hubspot-get-contact-subscriptions
drip-get-subscriber
drip-get-campaign-subscriber

03

Confirm

You see four groups and approve who will be subscribed.

No items found.

04

Subscribe

It subscribes each confirmed person and reports every result.

Your AI tool

What PopdockAI provides

The tools behind the answer

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

get-data

drip-get-campaign

Returns Drip email series campaigns with status, active and unsubscribed counts, number of emails, sender and opt-in settings. Filter by name, status, minimum active subscribers or created date.
get-data

hubspot-get-contact-list-membership

Returns which contacts belong to which contact lists from the HubSpot connector. Filter by list name, contact id, contact email, list id.
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

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

drip-get-campaign-subscriber

Returns the people subscribed to each Drip email series campaign, with the campaign's status and the person's tags and lead score. Filter by campaign id or name, a person's email, subscriber status or minimum lead score.
run-action

drip-add-subscriber-to-campaign

Subscribes a person to a Drip email series campaign by email address. Drip creates the person if they are not in Drip yet.
Read only.Nothing in HubSpot 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

Enrolment with no opt-outs or duplicates

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