Hi team!!
I'm working on a Public App for the HubSpot Marketplace using the ui-extension framework.
I've encountered a challenge with a specific use case: Within a custom card on the Deal object, I need to call an external API that returns a file encoded in base64. The goal is to save this file directly into the HubSpot File resource.
I've been researching solutions, and so far, the only approach I've found involves managing access and refresh tokens and creating an intermediary external API to interact with the HubSpot File API.
I'm wondering if there are any alternative, more direct methods to achieve this file saving functionality. Has anyone tackled a similar scenario or have any insights to share?
Any guidance or suggestions would be greatly appreciated.