Fetching Hubspot Company ID together with Contact

I have a Hubspot “Contact Created” trigger, and I want to fetch, together with the contact, the Primary associated company. In the “Get a Contact” node I choose Add More Fields and then add the associated company id. See attached screenshot. Still, the workflow doesn’t include it.

Any advice?
Thanks

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

The issue is that while you’ve correctly added the “associatedcompanyid” field in the HubSpot “Get a Contact” node, you might need to explicitly request this property in the API call. Try this:

1. In your HubSpot node, go to “Additional Fields”

2. Add a new field with:

  • Property: `associatedcompanyid`

  • Value: `true`

This should force the API to return the company ID. If it still doesn’t appear, check if the contact actually has a primary company associated in HubSpot.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.