---
title: How You Can Automatically Apply Association Labels in HubSpot Using Zapier
description: Learn how to automate applying association labels in HubSpot using Zapier. Streamline workflows, ensure data consistency, and get tips from Ryan Schweighart.
image: https://www.whimpact.co/hubfs/2024.06.05%20whinsight%20thumbnail.png
---

[Skip to content](https://www.whimpact.co/wh1nsights/how-you-can-automatically-apply-association-labels-in-hubspot-using-zapier#main-content)

[![whimpact logo](https://www.whimpact.co/hs-fs/hubfs/whimpact%20logo.png?width=333&height=250&name=whimpact%20logo.png)](https://www.whimpact.co)

- [About WHI](https://www.whimpact.co/about)
- [Learn - WHInsights](https://www.whimpact.co/wh1nsights)

Open main navigation

Close main navigation

- [About WHI](https://www.whimpact.co/about)
- [Learn - WHInsights](https://www.whimpact.co/wh1nsights)
- [Start Your Assessment](https://www.whimpact.co/whintensive)

[Start Your Assessment](https://www.whimpact.co/whintensive)

 Jun 5, 2024 11:33:53 AM

# How You Can Automatically Apply Association Labels in HubSpot Using Zapier

![Picture of Ryan Schweighart](https://www.whimpact.co/hs-fs/hubfs/Chat_photo-1.jpg?width=50&name=Chat_photo-1.jpg) [Ryan Schweighart](https://www.whimpact.co/wh1nsights/author/ryan-schweighart)

Be a hero and share this WHInsight: [Share this page via Email](mailto:?body=https://www.whimpact.co/wh1nsights/how-you-can-automatically-apply-association-labels-in-hubspot-using-zapier) [facebook-f icon](http://www.facebook.com/share.php?u=https://www.whimpact.co/wh1nsights/how-you-can-automatically-apply-association-labels-in-hubspot-using-zapier) [Share this page on LinkedIn](http://www.linkedin.com/shareArticle?mini=true&url=https://www.whimpact.co/wh1nsights/how-you-can-automatically-apply-association-labels-in-hubspot-using-zapier) [Share this page on Twitter](https://twitter.com/intent/tweet?url=https://www.whimpact.co/wh1nsights/how-you-can-automatically-apply-association-labels-in-hubspot-using-zapier)

Hi, I'm Ryan Schweighart, founder of Whole Hart Impact, where I help businesses grow leveraging HubSpot and Zapier. Today's WHInsight is inspired by common questions in the HubSpot and Zapier communities about automatically applying association labels. While this can be done within HubSpot workflows, today we'll focus on how to do this within Zapier.

### Steps to Apply Association Labels

1. **Setup Association Labels in HubSpot**:
   
     - Go to **Settings** > **Objects**.
     - Create a **contact to company** association label (e.g., "Billing Contact").
     - Create a **contact to deal** association label.
2. **Create a Webhook in HubSpot**:
   
     - Go to **Settings** > **Integrations** > **Private Apps**.
     - Create or use an existing private app.
     - Go to the **Webhooks** tab and create a subscription for when an association changes, accepting the scope updates.
3. **Setup Zapier**:
   
     - In Zapier, create a new Zap with the trigger step set to **Webhook**.
     - Select **Catch Hook** as the event and copy the provided URL.
     - Paste this URL as the target URL for your private app in HubSpot.
4. **Filter and Process Data in Zapier**:
   
     - Add a filter step to only trigger when a company is associated with a deal.
     - Use an API request step to get detailed information about the association, including labels.
     - Use a **Code by Zapier** step to extract the contact with the "Billing Contact" label from the webhook response. Here's the code I used from step 4 of the video: 
           - `// Parse the response_body from the input data to a JSON object const response = JSON.parse(inputData.response_body);`
             
             `// Initialize a variable to store the toObjectId let toObjectId;`
             
             `// Loop through the results array in the response object`  
             `for (let i = 0; i < response.results.length; i++) {`  
             `  // Check if the label in the associationTypes array matches "Billing Contact"`  
             `  if (response.results[i].associationTypes[1].label === "Billing Contact") {`  
             `    // If it does, assign the corresponding toObjectId to the toObjectId variable`  
             `    toObjectId = response.results[i].toObjectId;`  
             `    // Break the loop as we have found the toObjectId we need`  
             `    break;`  
             `  }`  
             `}`
             
             `// Assign the toObjectId to the output object output = { toObjectId };`
5. **Create the Association in HubSpot**: 
     - In Zapier, add a step to create the association in HubSpot, mapping the contact and deal IDs, and applying the "Billing Contact" label.

### Example Workflow

1. **Setup Association Labels**:
   
     - In HubSpot, create the necessary association labels for contacts to companies and contacts to deals.
2. **Create a Webhook**:
   
     - Configure a private app in HubSpot to send data when associations change.
3. **Configure Zapier**:
   
     - Use the provided webhook URL in your private app.
     - Add a filter to only trigger on relevant associations.
     - Extract necessary details using a code step.
4. **Apply Association Labels**:
   
     - Use the extracted data to create the desired associations in HubSpot.

### Troubleshooting

If you encounter any issues, ensure that:

- Association labels are correctly set up.
- Webhook URL is correctly configured.
- Filters in Zapier are correctly set to trigger only on desired events.

### Conclusion

Automating the application of association labels in HubSpot using Zapier can streamline your workflow and ensure consistent data management. If you have any questions or need further assistance, feel free to comment below or contact me directly. If you want more content on HubSpot and Zapier, let me know, and I'll create more guides.

Happy WHImpacting and bye for now!

[Systemize Your Busyness](https://www.whimpact.co/wh1nsights/tag/systemize-your-busyness)

## Related posts

[![](https://www.whimpact.co/hs-fs/hubfs/2026-03-05_whinsight.png?height=200&name=2026-03-05_whinsight.png)](https://www.whimpact.co/wh1nsights/track-form-submission-sources-with-hubspot-using-a-hidden-form-property)

[Systemize Your Busyness](https://www.whimpact.co/wh1nsights/tag/systemize-your-busyness)

## [Track Form Submission Sources with HubSpot using a Hidden Form Property](https://www.whimpact.co/wh1nsights/track-form-submission-sources-with-hubspot-using-a-hidden-form-property)

![Picture of Ryan Schweighart](https://www.whimpact.co/hs-fs/hubfs/Chat_photo-1.jpg?width=50&name=Chat_photo-1.jpg) [Ryan Schweighart](https://www.whimpact.co/wh1nsights/author/ryan-schweighart) 

 Mar 6, 2026 3:25:54 PM

Primary Question How do you track form submission sources in HubSpot using hidden properties?

[Read more](https://www.whimpact.co/wh1nsights/track-form-submission-sources-with-hubspot-using-a-hidden-form-property)

[![](https://www.whimpact.co/hs-fs/hubfs/0.%20WHInsight/2026-03-24_whinsight_thumbnail_Automate-Lead-Management-with-HubSpot-and-Zapier.png?height=200&name=2026-03-24_whinsight_thumbnail_Automate-Lead-Management-with-HubSpot-and-Zapier.png)](https://www.whimpact.co/wh1nsights/how-to-track-property-changes-in-hubspot)

[Systemize Your Busyness](https://www.whimpact.co/wh1nsights/tag/systemize-your-busyness)

## [How to Track Property Changes in HubSpot](https://www.whimpact.co/wh1nsights/how-to-track-property-changes-in-hubspot)

![Picture of Ryan Schweighart](https://www.whimpact.co/hs-fs/hubfs/Chat_photo-1.jpg?width=50&name=Chat_photo-1.jpg) [Ryan Schweighart](https://www.whimpact.co/wh1nsights/author/ryan-schweighart) 

 Mar 24, 2026 6:24:15 PM

Overview This guide shows how to track property changes in HubSpot—specifically how to store and...

[Read more](https://www.whimpact.co/wh1nsights/how-to-track-property-changes-in-hubspot)

[![](https://www.whimpact.co/hs-fs/hubfs/2024.05.22%20thumbnail.png?height=200&name=2024.05.22%20thumbnail.png)](https://www.whimpact.co/wh1nsights/customize-hubspots-help-desk-sidebar-to-conditionally-show-certain-properties)

[Systemize Your Busyness](https://www.whimpact.co/wh1nsights/tag/systemize-your-busyness)

## [Customize HubSpot’s Help Desk Sidebar to Conditionally Show Certain Properties](https://www.whimpact.co/wh1nsights/customize-hubspots-help-desk-sidebar-to-conditionally-show-certain-properties)

![Picture of Ryan Schweighart](https://www.whimpact.co/hs-fs/hubfs/Chat_photo-1.jpg?width=50&name=Chat_photo-1.jpg) [Ryan Schweighart](https://www.whimpact.co/wh1nsights/author/ryan-schweighart) 

 May 22, 2024 2:49:59 PM

[Read more](https://www.whimpact.co/wh1nsights/customize-hubspots-help-desk-sidebar-to-conditionally-show-certain-properties)

---

[![Whole Hart Impact Logo 43-2](https://www.whimpact.co/hs-fs/hubfs/Whole%20Hart%20Impact%20Logo%2043-2.png?width=266&height=200&name=Whole%20Hart%20Impact%20Logo%2043-2.png "Whole Hart Impact Logo 43-2")](https://www.whimpact.co)

[![SolutionPartnerTierBadges_FINAL_PARTNER_ORANGE](https://www.whimpact.co/hs-fs/hubfs/SolutionPartnerTierBadges_FINAL_PARTNER_ORANGE.png?width=200&height=200&name=SolutionPartnerTierBadges_FINAL_PARTNER_ORANGE.png "SolutionPartnerTierBadges_FINAL_PARTNER_ORANGE")](https://app.hubspot.com/marketplace/20619232/solutions/whole-hart-impact)

[![hubspot community champions logo](https://www.whimpact.co/hs-fs/hubfs/logos/hubspot%20community%20champions%20logo.png?width=170&height=170&name=hubspot%20community%20champions%20logo.png "hubspot community champions logo")](https://community.hubspot.com/u/rschweighart/summary)

- [About WHI](https://www.whimpact.co/about)
- [Get $500, Give $1,000 - WHIntroductions](https://www.whimpact.co/whintroductions)
- [Pricing - WHImplementation](https://www.whimpact.co/whimplementation)
- [Grow - WHIntensive](https://www.whimpact.co/whintensive)
- [Learn - WHInsights](https://www.whimpact.co/wh1nsights)
- [Careers - WHImpacters](https://www.whimpact.co/careers)

### I want to hear from you!

[ryan@whimpact.co](mailto:ryan@whimpact.co)

+1 (405) 972-6809

Located in Carlsbad, CA -- Available worldwide

---

Copyright © 2026, Whole Hart Impact

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Ryan Schweighart",
    "url" : "https://www.whimpact.co/wh1nsights/author/ryan-schweighart"
  },
  "dateModified" : "2024-06-05T16:33:53.256Z",
  "datePublished" : "2024-06-05T16:33:53.000Z",
  "headline" : "How You Can Automatically Apply Association Labels in HubSpot Using Zapier",
  "image" : [ "https://www.whimpact.co/hubfs/2024.06.05%20whinsight%20thumbnail.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://www.whimpact.co/wh1nsights/how-you-can-automatically-apply-association-labels-in-hubspot-using-zapier",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.whimpact.co/hubfs/Whole%20Hart%20Impact%20Logo%2043-1.png"
    },
    "name" : "Whole Hart Impact, LLC"
  }
}
```