Hello,
I’ve never tried this, always using an intermediary server to have maximum freedom in processing my data.
But I suppose you’ll need to use custom code to give (build) the Hubspot API the data it expects (see documentation here: Accounts Dashboard | HubSpot).