Mass removal of associations from one Contact

Hi everyone.

I’ve received an email from HubSpot that reads:

"Your CONTACT_TO_EMAIL association has a maximum limit of 10000 associated EMAIL records per CONTACT.

The following CONTACT objects have reached 80% usage of CONTACT_TO_EMAIL associations: 112751."

The contact in question is the owner of the profile and he is copied in all emails sent from the major user (myself).

What I would like to do is to remove all existing Email/Tasks associations from that record before the limit is reached (and knowing that I will need to make this operation every time the limit is close).

I tried to follow the instructions here Associate records but it seems that there is not way to have a list of all associated Email and Tasks (and therefore to remove them from the Contact).

Avoiding to put the Contact as cc in all emails is not a solution.

Can someone help me in understanding if there is a way to mass remove the existing associations?

Thanks in advance for your help.

Hi @Tuissed ,

It looks like you’re approaching the association limit for contact-to-email associations. Since you’re dealing with associations between objects and activities (like emails and tasks), here are a couple of options for mass removal:

  • Option 1: Custom Coded Action (Requires Operations Hub Pro or above)

    • If you have Operations Hub Pro or higher, you can build a custom coded workflow action using the Associations API (v4) to remove associations.
    • Ensure you’re using the latest version of the API to avoid issues.
    • You can customize the triggers and conditions. For example, if you want to remove associations for any activities prior to a certain date, such as before January 2023 or January 2024, you can set the workflow to remove all email/task associations that occurred before this date.
  • Option 2: Use an Integration Platform (iPaaS)

    • Another approach is using an integration platform like Make (formerly Integromat), Zapier, or Workato.
    • These tools allow you to set up a scenario with specific triggers (e.g., removing associations before a certain date, such as January 2024 or earlier).
    • Once set, the system will trigger the Associations API to mass disassociate records according to your defined conditions.

Since this is more of a developer-focused issue, I would recommend posting this in the Developers group as well. They can provide additional help if needed.

Stay Awesome & Keep Doing it BIG :fire:

Thanks very much for your comment and instructions.
As we don’t have a Pro profile I would have to try with the suggested
integration platforms, which seems too much tricky for my skills. :disappointed_face:
Anyway thanks again for support.