HH Components Reference Guide
Hubhus <hh-*> components are server-side tags that dynamically fetch and display campaign data — calendar events, leads, booking availability, maps, date calculations, and more — in emails, forms, and pages.
TL;DR
Use <hh-*> components in HTML editors (emails, webpages, booking pages) to pull live data. Main categories: Calendar events (<hh-calendar.events>), Leads (<hh-leads>), Booking availability (<hh-booking.available>), Maps (<hh-gmap.*>), Date formatting (<hh-date.format>), Data fields (<hh-data-fields.value>). Also see the community Interactive Component Generator (not an official Hubhus feature).
8 component categories
Calendar events
Fetch and display a lead's calendar events inline. Use <hh-calendar.events> with attributes: from/to (date range), include-resource, include-service, count-only (return total count instead of rendering events). Supports custom HTML template inside the tag using placeholders for event fields.
Leads
Fetch and render a list of leads from a campaign. Use <hh-leads> with: campaign, filter-status, filter-field/filter-value, count (max results), count-only. Use to display related leads, count leads in status, or create summary dashboards.
Booking availability
Check or display available booking slots. Use <hh-booking.available> to check if slots exist for a booking form, get optimal time slots, or use as a condition in automations to trigger only when availability exists.
Calendar resources
List resource groups or services: <hh-calendar.resource-groups>, <hh-calendar.services>. Useful for dynamically populating dropdowns or displays in booking pages.
Date formatting and calculation
Format dates and perform date arithmetic: <hh-date.format value="..." format="dd/MM/yyyy" /> and <hh-date.calculate value="..." add-days="7" />. Use in hidden form inputs to pre-fill computed dates (e.g. "appointment date + 30 days" for a follow-up field).
Data fields
Read and render JSON data field values: <hh-data-fields.value slug="df_myfield" />. Use to display structured data stored in a lead's data field — e.g. render a JSON quotation array as a formatted table on a webpage.
Maps
Embed Google Maps in lead profiles or pages: <hh-gmap.street-view location="%lead_full_address%" style="min-height:400px;" /> for Street View, <hh-gmap.map> for regular map. Use in custom content boxes on the lead profile page to visualize lead address.
Other components
Additional components include: <hh-files> (list lead files), <hh-relations> (display related leads), <hh-nps> (NPS score display), and others. See the full list in the community component generator.
Common searches
hh-components • hh-calendar.events • hh-leads • hh-gmap • hh-date.format • data fields component • street view • booking availability component
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article