Get user session information through CRM cardSOLVE
Jun 3, 2020 10:58 AM
I'm trying to create a Hubspot app where the user can call a external app throught a CRM card.
The user logs in Hubspot via SSO tool. In some point of the operation, we desire that the user clicks in a button and be redirected, or opens a modal to a external app. The goal here is to create a "user experience" where, on click event in Hubspot UI plugin (CRM card), the session data is passing to the external app, without requiring the user to make another login process. This card coud be at contact or deal screen.
Is that possible? I already seen others plugins with something similar. If it's so, where I can find the documentation for this?
Solved! Go to Solution.
Jun 3, 2020 4:09 PM
This sounds like an excellent use case for the CRM Extensions API. The CRM Extensions API allows users to view and update data for an external database via a CRM card. Using the Actions feature, you can also trigger an iFrame modal with an external URL when a user clicks on an action hook (this could be a button in the CRM Extension card for example). You can review our documentation on that here.
Jun 5, 2020 4:32 PM
userEmail of the user requesting data are included in the outgoing request as query parameters. That would be the extent of the session information we can provide for the API.