# Associated contact

**URL:** <https://community.hubspot.com/t/associated-contact/70457>\
**Category:** Tickets & Conversations\
**Created:** [December 2, 2022, 4:11pm UTC](https://community.hubspot.com/t/associated-contact/70457 "2022-12-02T16:11:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DAndrione](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@DAndrione](https://community.hubspot.com/u/DAndrione)\
**Post date:** [December 2, 2022, 4:11pm UTC](https://community.hubspot.com/t/associated-contact/70457/1 "2022-12-02T16:11:11Z")

</div>

Goog morning!

I’m new to Hubspot and I’m struggling to find a way to associate a ticket with specific company role.

When a new company is created we have multiple contacts assigned to it: sales rep, technical SME.

When we start a deal with a company we exchange with Sales but when the deal is closed and it become a customer we should start create ticket with their technical contact.

Is there a way to apply a label like “technical SME” and ask the ticket creator to just select the company and then the technical SME contact appear?

Thanks guys  
Dario

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [December 2, 2022, 4:38pm UTC](https://community.hubspot.com/t/associated-contact/70457/2 "2022-12-02T16:38:56Z")

</div>

Hi @DAndrione

Just to confirm, you are talking about a contact on the customer’s side, not your company, correct?

This should be doable with [assciation labels in HubSpot,](https://knowledge.hubspot.com/account/property-field-types-in-hubspot#:~:text=HubSpot%20user%3A,ownership%20of%20records.) assuming you have a Pro or Enterprise subscription.

I haven’t used them much myself to be honest, but in principle you should be able to define labels (roles) for contacts associated with a company and then use workflows to trigger actions for either all associated contacts or specific labels.

Let me know if that works.

Frank

---

<div class="post-metadata">

**Author:** ![DAndrione](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@DAndrione](https://community.hubspot.com/u/DAndrione)\
**Post date:** [December 2, 2022, 5:41pm UTC](https://community.hubspot.com/t/associated-contact/70457/3 "2022-12-02T17:41:44Z")

</div>

Thanks for your quick reply.

The label part should be clear.

What I am unsure is How to create a ticket and have an easy way to pick the appropriate label.

How the workflow can sort this out?

Thanks again Frank

---

<div class="post-metadata">

**Author:** ![MrJustinGivens](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mrjustingivens/32/49537_2.png) [@MrJustinGivens](https://community.hubspot.com/u/MrJustinGivens)\
**Post date:** [December 2, 2022, 10:59pm UTC](https://community.hubspot.com/t/associated-contact/70457/4 "2022-12-02T22:59:18Z")

</div>

Hey @DAndrione I’m thinking you could achieve them through Workflows and Custom Code Actions.

You’ll need operations hub pro/ent, you could do the following:

Create a new ticket in a specific pipeline named “Technical SME” with the Company select (no contact), then a workflow could watch for new tickets, get the company’s associated technical SME, and assign as the contact.

Then move the “temporary ticket” to the main ticket pipeline.

|   

| ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/0/40cc787756b6137ca25557bbbb2b39bcb5e81c51.png) |   

## Justin Givens
   
HUG Leader & Community Champion   
Resident HubSpot Nerd | Image in a Box |   
 | |   
 |   

|   

| ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/f/df8ab0b76490437a0abf747fa46bfe096cf763c9.png) |

 | (256) 886-8269 | (256) 434-5877 |
|   

| ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/9/992ff01c4147f751a8a53f26652ceccd4d6469c6.png) |

 | [justin@imageianbox.com](mailto:justin@imageianbox.com) |
|   

| ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/2/520394ca2408f265ba1533bc5831a595c1d8670a.png) |

 | [imageinabox.com](https://hubs.li/Q01tWccd0) |
|   

| |

 | [Schedule a time to talk](https://hubs.li/Q01rg9zR0) |
|   

| ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/5/25588810465c97cdab214427a9386cc6ea794cbb.png) |

 | [Let's connect on LinkedIn](https://www.linkedin.com/in/justindgivens/) |

 |

 |
| |
| |

---

<div class="post-metadata">

**Author:** ![DAndrione](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@DAndrione](https://community.hubspot.com/u/DAndrione)\
**Post date:** [December 3, 2022, 9:13pm UTC](https://community.hubspot.com/t/associated-contact/70457/5 "2022-12-03T21:13:33Z")

</div>

Hello @MrJustinGivens

How I can get the company’s associated technical SME, and assign as the contact? where I could find the right property to modify?

thanks

---

<div class="post-metadata">

**Author:** ![MrJustinGivens](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mrjustingivens/32/49537_2.png) [@MrJustinGivens](https://community.hubspot.com/u/MrJustinGivens)\
**Post date:** [December 3, 2022, 9:24pm UTC](https://community.hubspot.com/t/associated-contact/70457/6 "2022-12-03T21:24:22Z")

</div>

You can use the API association v4 calls to find contacts based on a company id by as association label.

That endpoint is this:

`/crm/v4/objects/{objectType}/{objectId}/associations/{toObjectType}`

To find your associations for companies you are use this endpoint:

`/crm/v4/objects/{objectType}`

Let me know if you have any follow-up questions.

|   

| ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/0/40cc787756b6137ca25557bbbb2b39bcb5e81c51.png) |   

## Justin Givens
   
HUG Leader & Community Champion   
Resident HubSpot Nerd | Image in a Box |   
 | |   
 |   

|   

| ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/f/df8ab0b76490437a0abf747fa46bfe096cf763c9.png) |

 | (256) 886-8269 | (256) 434-5877 |
|   

| ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/9/992ff01c4147f751a8a53f26652ceccd4d6469c6.png) |

 | [justin@imageianbox.com](mailto:justin@imageianbox.com) |
|   

| ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/2/520394ca2408f265ba1533bc5831a595c1d8670a.png) |

 | [imageinabox.com](https://hubs.li/Q01tWccd0) |
|   

| |

 | [Schedule a time to talk](https://hubs.li/Q01rg9zR0) |
|   

| ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/5/25588810465c97cdab214427a9386cc6ea794cbb.png) |

 | [Let's connect on LinkedIn](https://www.linkedin.com/in/justindgivens/) |

 |

 |
| |
| |

---

<div class="post-metadata">

**Author:** ![DAndrione](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@DAndrione](https://community.hubspot.com/u/DAndrione)\
**Post date:** [December 3, 2022, 9:37pm UTC](https://community.hubspot.com/t/associated-contact/70457/7 "2022-12-03T21:37:18Z")

</div>

I flagged this as solution as I suppose this works but I am really new to API calls so I need to study a little bit to apply it. Any learning material is appreciated! Anyway.. thanks!

---

<div class="post-metadata">

**Author:** ![MrJustinGivens](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mrjustingivens/32/49537_2.png) [@MrJustinGivens](https://community.hubspot.com/u/MrJustinGivens)\
**Post date:** [December 3, 2022, 10:19pm UTC](https://community.hubspot.com/t/associated-contact/70457/8 "2022-12-03T22:19:01Z")

</div>

@DAndrione if you want to talk this out over phone or zoom just let me know.
