Skip to content

☎️ Global contact availability public app card built with HubSpot's UI Extensions. It takes the guesswork out of asking the question "is now a good time to call?"

License

Notifications You must be signed in to change notification settings

hubspotdev/uie-contact-call-availability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HubSpot UI Extensions: Contact Global Availability

This repository accompanies a video series that teaches you how to build a custom HubSpot UI Extension card from scratch. The series demonstrates creating a Contact's Global Availability Public App card that shows real-time local time, availability status, and public holiday information directly within HubSpot contact records.

📺 Video Series

This project is part of a multi-part tutorial series:

🎯 Project Overview

Global Contact Availability public app card built with HubSpot's UI Extensions

The Contact Global Availability app is a HubSpot Public App that creates a custom UI Extension card displaying:

  • Real-time local time for contacts
  • Current availability status (in/out of office)
  • Public holiday information
  • Next best call time recommendations

The app consists of three main components:

  1. HubSpot UI Extension - The frontend card interface
  2. Next.js Backend API - Handles availability logic and external API integrations

📁 Repository Structure

contact-availability/ - HubSpot UI Extension

The main HubSpot project containing the UI Extension card implementation.

  • src/app/extensions/ - Contains the UI Extension card components and configuration
  • src/app/webhooks/ - Webhook handlers for app events
  • src/app/public-app.json - Public app configuration and metadata
  • hsproject.json - HubSpot project configuration

Each directory contains its own README with detailed implementation information.

contact-availability-backend/ - Next.js API Backend

A Next.js application that provides the backend API endpoints for the UI Extension.

  • app/api/ - API route handlers for availability logic
  • app/utils/ - Utility functions for timezone and availability calculations
  • public/ - Static assets
  • package.json - Dependencies and build scripts

This directory contains its own README with API documentation and setup instructions.

🚀 Quick Start

  1. Clone the repository

    git clone https://github.com/hubspotdev/uie-contact-call-availability.git
    cd uie-contact-call-availability
  2. Follow the video series to understand the complete implementation process

  3. Check individual directory READMEs for specific setup instructions

📚 Prerequisites

  • HubSpot Developer Account
  • Node.js and Yarn installed
  • Vercel account (for backend deployment)
  • API keys for external services (Abstract Timezone API, Nager.Date)

🔗 Resources

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

This repository serves as a learning resource for the video series. For questions or issues related to the tutorial content, please refer to the video descriptions and resources provided in each episode.

About

☎️ Global contact availability public app card built with HubSpot's UI Extensions. It takes the guesswork out of asking the question "is now a good time to call?"

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published