docs(hubspot): add FAQ for Retrieve associated objects returning No data - #2292
Merged
Merged
Conversation
Contributor
george-dilthey
marked this pull request as ready for review
August 26, 2026 14:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Added a new FAQ entry to
docs/hubspot-integration-overview.mdexplaining why the HubSpot "Retrieve associated objects" action returns No data even when the association exists in HubSpot. The entry explains the type/ID mismatch root cause and gives a concrete Contact→Deal example with fix steps.Why
Intercom conversation #215475556467216: a customer (Aryan Arora) was trying to retrieve deals associated with a HubSpot contact using the "Retrieve associated objects" action. The column returned
{"results":[],"totalFound":0}and Clay showed No data, even though the association existed in HubSpot. Fin escalated to a human agent.The human agent (Krithik) investigated with the support copilot and identified the root cause: the customer's From Object Type was set to Company while From Object ID was mapped to a contact's ID (or vice versa). Because Clay passes both values directly to HubSpot's CRM v4 API without any validation that they match, HubSpot hits the wrong endpoint path and returns empty results. The docs had no FAQ covering this scenario — only a FAQ about the 20-result limit.
The existing FAQ "Why does 'Retrieve associated objects' return at most 20 results, even when HubSpot shows more?" covers a different "no results" scenario (too many results, not a type/ID mismatch). The new FAQ fills the gap for the zero-results-despite-existing-association case.
Source link(s)
/workspace/public-actions/apps/hubspot-new-ui/actions/hubspot-retrieve-associations/action-code.ts:61— URL is constructed directly fromfromObjectTypeIdandfromObjectIdwith no cross-validation;action-code.ts:72-77— empty results →SUCCESS_NO_DATA/ "No data" path;action-definition.ts:27—isPublic: trueUncertainties
None. The behavior is confirmed by code (verifier PASS) and the root cause is conclusively established from the support copilot Slack thread.
Related observations
The support copilot thread also noted that a duplicate HubSpot deal (
343191749325) was created as a side effect — the customer's table had a "Create Deal" step that ran because the lookup returned empty. This is a user-table configuration issue, not a docs issue.Closes DOC-2038