APIs & Integrations

EmileYannick
Member

Empty card message

I created a custom CRM card which is implemented in the companies page. Not all companies do have data in the other system where the data comes from. So I want to hide the card or show a message in the card when opening a company who doesn't have data in the integrated system.

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee
HubSpot Employee

Empty card message

Hey @EmileYannick,

 

You can retrieve the query parameters - associatedObjectId, from the data fetch request and together with a if/else statement, send a custom response back to those company that doesn't have data in the integrated system. 

 

Learn more about the data fetch request on this documentation - CRM Extensions API Overview (Under the 'Data fetch request' section).

0 Upvotes