Recued
Menu
← Back to recipes

Contact Local Time & Business Hours

by recued-core v1 56 views

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

How it works 19 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

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

Configurable at install. Defaults shown — change them anytime in Recued.

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

Uses (5 ingredients)

Ingredient contact-reader-hubspot contact-reader-hubspot
Ingredient timezone-lookup-by-phone-hubspot timezone-lookup-by-phone-hubspot
Ingredient timezone-lookup-by-address-hubspot timezone-lookup-by-address-hubspot
Ingredient current-time-in-timezone-hubspot current-time-in-timezone-hubspot
Ingredient next-business-window-hubspot next-business-window-hubspot

About

Tags

hubspot contacttimezonebusiness hourshubspot

Details

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