Connectors

/

Constant Contact

/

Apply Constant Contact unsubscribes to HubSpot subscriptions
Write
Cross-Connector

Honor Constant Contact opt outs in HubSpot too

For marketing teams who send from both tools and need Constant Contact unsubscribes respected in HubSpot, just by asking their AI assistant.

Try PopdockAI free
Get a live demo
Apply Constant Contact unsubscribes to HubSpot subscriptions
Unsubscribe from the HubSpot Marketing Newsletter anyone who unsubscribed in Constant Contact in the last 30 days.
9 people who unsubscribed in Constant Contact are still subscribed to Marketing Newsletter in HubSpot. - Will unsubscribe: 9 people, including dana@northwindtraders.com - Already unsubscribed in HubSpot: 14 - Opted back in to Constant Contact since: 2, left out - Not in HubSpot: 3 Shall I unsubscribe the 9, or leave anyone out?
Constant Contact
Sample figures. Your results come from your own account.
hubspot-get-subscriptions
constant-contact-get-campaign-unsubscribe
constant-contact-get-contact
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

Constant Contact

Constant Contact
Run it on your own Constant Contact data.

Connect Constant Contact, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

HubSpot keeps emailing people who left your Constant Contact list

An unsubscribe in Constant Contact never reaches HubSpot, so marketing email keeps going out. Fixing it means exporting opt-outs, checking who opted back in and finding each person in HubSpot, which rarely happens on time.

Without PopdockAI

  • Export recent Constant Contact unsubscribes
  • Check whether each person has since opted back in
  • Search HubSpot for every email by hand
  • Change subscription status one contact at a time

With PopdockAI

  • The latest unsubscribe per email is read, re-subscribers left out
  • HubSpot status is checked by email only, never by name
  • You see who will change, who already has and who is missing
  • 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 Constant Contact in the last `{lookback-days}` days (default 30), after the user confirms, so HubSpot stops sending marketing email to people who opted out in Constant Contact.

**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 Constant Contact**

Call `constant-contact-get-campaign-unsubscribe` with `created-date.from` set to today minus `{lookback-days}` days (30 if blank), as YYYY-MM-DD. Keep `email-address`, `first-name`, `last-name`, `created-date` and `reason`. If an address appears more than once, keep the most recent row.

**Step 3: Check each person in HubSpot**

For each distinct email address:

* Call `constant-contact-get-contact` with `email-address` set to the email. If its `permission-to-send` is now explicit or implicit, the person has opted back in: put them in "resubscribed in Constant Contact since" and leave them out.
* 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, Constant Contact unsubscribe date or status, HubSpot current status), already unsubscribed in HubSpot (count), resubscribed in Constant Contact since (list), 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, resubscribed in Constant Contact since, not in HubSpot.

**Rules & Guidelines:**

* `constant-contact-get-campaign-unsubscribe` and `constant-contact-get-contact` are on the Constant Contact 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.
* Constant Contact is read-only here. Do NOT call `constant-contact-add-contact`, `constant-contact-update-contact`, `constant-contact-add-contact-note`, `constant-contact-add-contact-list`, `constant-contact-update-contact-list`, `constant-contact-add-contact-tag`, `constant-contact-update-contact-tag`, `constant-contact-add-campaign`, `constant-contact-update-campaign` or `constant-contact-resend-campaign-to-non-openers`.
* 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 Constant Contact returns no unsubscribed people, say so and stop.
* If everyone is already unsubscribed in HubSpot, resubscribed since, 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

Marketing managers

Keep HubSpot sends in line with opt-outs

Stop marketing email reaching people who already unsubscribed elsewhere, before it becomes a complaint.

Carry the last 14 days of Constant Contact unsubscribes into the HubSpot Product Updates subscription.

Privacy and compliance

Honour every opt-out across systems

Matching is by email only, consent is only ever removed, and any GDPR legal basis is asked about first.

Which people unsubscribed in Constant Contact this quarter but are still subscribed to HubSpot marketing email?

Marketing operations

Sync consent without exports

One request replaces the monthly export, match and bulk edit, with a sample recheck to show it worked.

Unsubscribe from the HubSpot Events subscription anyone who opted out in Constant Contact since June 1.

How it works

What PopdockAI does when you ask

You name the HubSpot subscription type and your AI assistant checks recent Constant Contact unsubscribes against HubSpot by email. Nothing changes until you approve the group.

01

Resolve

It finds the one active HubSpot subscription type you name.

Your AI tool

02

Read

It pulls Constant Contact unsubscribes from the last 30 days or the period you give.

constant-contact-get-campaign-unsubscribe

03

Check

It skips people who opted back in and checks each person's HubSpot status by email.

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

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 Constant Contact 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

constant-contact-get-campaign-unsubscribe

Returns Constant Contact campaign unsubscribes with the reason given. Filter by campaign, campaign activity, contact, email address or domain, reason and date.
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

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 Constant Contact 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

Constant Contact opt-outs respected in HubSpot too

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