This article provides guidance for when your HubSpot integration returns Company Owner in your metadata instead of a named string value.
Environment: HubSpot integration.
Typically, Company Owner is returned as a value in your metadata when HubSpot has defined that field as an innumerable and the expectation of a string is inaccurate. When we query for the value of this field, HubSpot passes the ID rather than the name associated with it.
Before adjusting your metadata fields, check your integration setup. Check that the integration is authenticated with the correct account in HubSpot. If you have multiple HubSpot accounts, select the account that you want to sync with Pendo from the list of accounts. If the wrong account was authenticated, re-authenticate with the correct account.
After checking your account setup, ensure that the Company Owner field is passing the correct ID in your HubSpot settings.
Set up your data mappings for both Visitor and Account metadata. The values for the Pendo IDs must exactly match the values in HubSpot. Verify that the fields you've selected in your data mappings sync with the fields that you want to pull from HubSpot.
For more information about the HubSpot Integration, see this Setup HubSpot Integration Article.