A HubSpot private app that provides a CRM card for uploading and viewing images on contact, company, deal, and ticket records.
- Image Upload: Users can upload multiple images directly from the CRM record
- Image Gallery: View all previously uploaded images in a clean gallery format
- File Management: Images are stored in HubSpot's File Manager
- Property Storage: Image URLs are saved to a custom property (
image_urls) on the record
- Active HubSpot account
- HubSpot CLI installed and configured
- Access to developer projects (currently in public beta under "CRM Development Tools")
-
Install dependencies:
npm install
-
Configure your HubSpot private app token in the serverless function environment
-
Deploy the app:
hs project dev
Once deployed, the "Image Upload & Gallery" card will appear in the sidebar of CRM records. Users can:
- Click the file upload area to select images
- Preview selected images before uploading
- Click "Upload" to save images to HubSpot File Manager
- View all previously uploaded images in the gallery section
- Frontend: React component using HubSpot UI Extensions
- Backend: Serverless function for handling file uploads to HubSpot Files API
- Storage: Images stored in HubSpot File Manager, URLs saved to
image_urlsproperty - Supported Objects: Contacts, Companies, Deals, Tickets