Recued
← Back to recipes

Contact Local Time & Business Hours

by recued-core v1 context

Shows contact's local time, timezone, business hours status, and next available window.

How it works

Data fetch
contact contact-reader-hubspot
Fetch reader from hubspot
Process (18 steps)
tz_phone timezone-lookup-by-phone-hubspot
Fetch lookup by phone from hubspot
tz_address timezone-lookup-by-address-hubspot
Fetch lookup by address from hubspot
timezone_result coalesce
Use the first available value from: tz phone, tz address
local_time_data current-time-in-timezone-hubspot
Fetch time in timezone from hubspot
skip: step.timezone_result is_null
is_weekday any
Check if any of the conditions are true
skip: step.local_time_data is_null
is_within_hours all
Check if all conditions are true
skip: step.local_time_data is_null
is_business_hours all
Check if all conditions are true
skip: step.local_time_data is_null
skip_next_window any
Check if any of the conditions are true
next_window next-business-window-hubspot
Fetch business window from hubspot
skip: step.skip_next_window equal true
local_time_display template
Generate text from a template
skip: step.timezone_result is_null
business_hours_status switch
Map is business hours to one of: true, false
skip: step.is_business_hours is_null
next_window_text switch
Map is business hours to one of: true, false
skip: step.timezone_result is_null
raw_timezone_label template
Generate text from a template
skip: step.timezone_result is_null
safe_timezone_label coalesce
Use the first available value from: raw timezone label, Unknown
safe_local_time coalesce
Use the first available value from: local time display, Unknown
safe_business_hours coalesce
Use the first available value from: business hours status, ?
safe_next_window coalesce
Use the first available value from: next window text, Unknown
summary_output to_summary
Format results as a summary card
Output
summary summary_output

Settings (2)

Configurable at install. Defaults shown — change anytime in the extension.

business end hour number = 17
business start hour number = 9

Tags

hubspot contacttimezonebusiness hourshubspot

Details

19 steps 2 configurable settings recipe_id: contact-timezone-business-hours-hubspot

Install

Install in Recued View publisher Open Kitchen

If the webclient is not paired yet, copy contact-timezone-business-hours-hubspot and paste it after pairing.