Connectors

/

HubSpot

/

Add HubSpot list members to a Constant Contact list
Write
Cross-Connector

Sync a HubSpot list to Constant Contact without mailing opt-outs

For marketers who keep Constant Contact lists in step with HubSpot and want nobody who unsubscribed added, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Add HubSpot list members to a Constant Contact list
Add everyone on the Q4 webinar invitees list in HubSpot to the Q4 webinar list in Constant Contact.
212 HubSpot members checked: 38 to add, 168 already present, 6 excluded. - To add: 38 contacts, including Jordan Lee at Fabrikam - Already present: 168, left unchanged - Excluded: 6 unsubscribed or opted out in HubSpot Shall I add the 38 contacts to Q4 webinar?
HubSpot
Sample figures. Your results come from your own account.
hubspot-get-contact-list-membership
constant-contact-get-contact-list
constant-contact-get-contact
hubspot-get-contact-subscriptions
hubspot-get-contacts
constant-contact-add-contact
constant-contact-get-contact-list-member

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

List syncs between HubSpot and Constant Contact risk mailing opt-outs

Keeping a Constant Contact list in step with a HubSpot list means exporting members, comparing addresses and importing the gap. One careless import can email people who unsubscribed in HubSpot.

Without PopdockAI

  • Export the HubSpot list and the Constant Contact list
  • Compare addresses in a spreadsheet
  • Check each person's HubSpot subscription by hand
  • Import the gap and hope no opt-out slipped in

With PopdockAI

  • Members missing from Constant Contact are found for you
  • Anyone unsubscribed or opted out in HubSpot is excluded with their status
  • You see who will be added before anything happens
  • Existing contacts are left unchanged and the list is spot checked

The prompt

Use this prompt

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

Prompt
**Objective:** Make sure every member of the HubSpot list {hubspot-list-name} exists in Constant Contact, adding the missing ones to the Constant Contact list {constant-contact-list-name}, without adding anyone who has unsubscribed in HubSpot.

**Step 1: Read the HubSpot list**

Call `hubspot-get-contact-list-membership` with `list-name` set to {hubspot-list-name}. If nothing comes back, call it again with `list-name.contains` set to {hubspot-list-name}, list the distinct `list-name` values found and stop. Keep each member's `contact-email`.

**Step 2: Resolve the Constant Contact list**

Call `constant-contact-get-contact-list` with `name` set to {constant-contact-list-name}. If not exactly one list comes back, list what was found (try `name.contains`) and stop. Do not create a list. Keep its `list-id`.

**Step 3: Find who is missing**

For each member email, call `constant-contact-get-contact` with `email-address` set to it. Sort members into: already in Constant Contact, and missing.

**Step 4: Check consent for the missing ones**

For each missing email, call `hubspot-get-contact-subscriptions` with `recipient-email` set to it. Exclude anyone with any subscription that is unsubscribed or opted out. For each remaining email, call `hubspot-get-contacts` with `email` set to it to get `first-name`, `last-name`, `company-name`, `job-title` and `phone-number`.

**Step 5: Show the plan and ask**

Show three tables: to add (email, name, company), already in Constant Contact, and excluded for consent with the HubSpot status. Ask the user to confirm the additions. Do not continue without an explicit yes. If more than 100 would be added, ask the user to confirm the count specifically.

**Step 6: Add the missing contacts**

After confirmation, call `constant-contact-add-contact` once per contact with `email`, `first-name`, `last-name`, `company-name`, `job-title`, `phone` and `list-id` from Step 2. Leave `permission-to-send` unset. Record each success or error and carry on after an error.

**Step 7: Confirm**

Call `constant-contact-get-contact-list-member` with `list-id` and spot-check up to 10 of the added addresses with `email-address`. Report added, failed (with the error), already present and excluded counts.

**Rules & Guidelines:**

* `hubspot-get-contact-list-membership`, `hubspot-get-contact-subscriptions` and `hubspot-get-contacts` are on the HubSpot server. `constant-contact-get-contact-list`, `constant-contact-get-contact`, `constant-contact-add-contact` and `constant-contact-get-contact-list-member` are on the Constant Contact server.
* The only write tool this prompt may call is `constant-contact-add-contact`, once per confirmed contact, after Step 5.
* Never call `constant-contact-update-contact`, `constant-contact-add-contact-list`, `constant-contact-update-contact-list`, `hubspot-update-contact` or any HubSpot add or update tool.
* Contacts already in Constant Contact are reported, not changed. No tool here adds an existing contact to a list.

**Validation:**

* Match email addresses case-insensitively and trimmed. Skip members with a blank email and list them.
* If HubSpot returns no subscription records for an address, treat it as not unsubscribed but flag it in the plan.
* If `constant-contact-add-contact` reports the contact already exists, count it as already present, not as a failure.

Who it's for

One answer, three teams that use it

Email marketers

Fill a Constant Contact list from HubSpot

Bring a HubSpot list into Constant Contact before a send without the export, spreadsheet and import routine.

Add everyone on the Spring launch list in HubSpot to the Spring launch list in Constant Contact.

Event marketers

Invite the right people to your event

Move registrants or invitees from HubSpot into the Constant Contact list you mail from, with opt-outs left out.

Sync the Contoso roadshow invitees list in HubSpot into the Roadshow list in Constant Contact.

Marketing compliance

Keep unsubscribed people off your sends

Every addition is checked against HubSpot consent first, and the people excluded are shown with their status.

Which members of the Partners list in HubSpot would be excluded if I added them to Constant Contact, and why?

How it works

What PopdockAI does when you ask

You name the two lists and your AI assistant works out who is missing and who must be left out. Nobody is added until you have reviewed the list and said yes.

01

Ask

You name the HubSpot list and the Constant Contact list.

Your AI tool

02

Compare

It finds members not yet in Constant Contact.

hubspot-get-contact-list-membership
hubspot-get-contacts
constant-contact-get-contact-list
constant-contact-get-contact

03

Check

It excludes anyone unsubscribed or opted out in HubSpot.

hubspot-get-contact-subscriptions

04

Confirm

You see who will be added, and after your yes it adds them and spot checks the list.

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

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

constant-contact-get-contact-list

Returns Constant Contact contact lists with their description, active member count and favorite flag. Filter by name, member count and favorite.
get-data

constant-contact-get-contact

Returns Constant Contact contacts with their name, email, company, job title, phone, location, tags and email permission. Filter by email address or domain, last name, company, state, permission and created date.
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

constant-contact-add-contact

Creates a Constant Contact contact from an email address, name, company, job title, phone and email permission, optionally adding it to one contact list.
get-data

constant-contact-get-contact-list-member

Returns the members of Constant Contact contact lists with their email permission. Filter by list name or ID, contact, email address and permission.
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

Matching lists with no opt-outs mailed

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