# Create Custom Object Association in Custom code in Workflow

**URL:** <https://community.hubspot.com/t/create-custom-object-association-in-custom-code-in-workflow/45838>\
**Category:** APIs & Integrations\
**Tags:** workflows, sdk\
**Created:** [October 22, 2021, 8:08pm UTC](https://community.hubspot.com/t/create-custom-object-association-in-custom-code-in-workflow/45838 "2021-10-22T20:08:02Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![NMueller](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@NMueller](https://community.hubspot.com/u/NMueller)\
**Post date:** [May 26, 2022, 6:50pm UTC](https://community.hubspot.com/t/create-custom-object-association-in-custom-code-in-workflow/45838/5 "2022-05-26T18:50:20Z")

</div>

Gah! Just discovered, I need to utilize V4 API documentation as seen here [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/associations) to get this working. I’ve updated my custom code in workflow, and it is working now with V4 formatted request:

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/9/1962bdaedadd5a3dd30d87b1550b2a0dd800fc04.png)

---

_[View the full topic](https://community.hubspot.com/t/create-custom-object-association-in-custom-code-in-workflow/45838)._
