• Créditos da HubSpot: Desbloqueie ferramentas poderosas para o crescimento

    Dúvidas?

Mass removal of associations from one Contact

Tuissed
Membro

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 https://knowledge.hubspot.com/records/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.

0 Avaliação positiva
1 Solução aceita
Shadab_Khan
Solução
Conselheiro(a) de destaque | Parceiro Elite
Conselheiro(a) de destaque | Parceiro Elite

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 🔥 

Found my solution helpful? mark it as accepted

Exibir solução no post original

2 Respostas 2
Shadab_Khan
Solução
Conselheiro(a) de destaque | Parceiro Elite
Conselheiro(a) de destaque | Parceiro Elite

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 🔥 

Found my solution helpful? mark it as accepted

Tuissed
Membro
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. 😞
Anyway thanks again for support.
0 Avaliação positiva