Recued
Menu
← Back to recipes

Focus block proposer

by recued-core v1 11 views

Use “Focus block proposer” in Recued. Detect half of the focus-block loop. It reads information without changing data in the connected service.

How it works 34 steps

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

Process (34 steps)
today_window date_period
Apply date_period
today_start_ms date_parse
Parse today window start as a date
day_start_ms math
Calculate: {{step.today_start_ms}} + {{config.day_offset}} * 86400000
day_end_ms math
Calculate: {{step.day_start_ms}} + 86400000
work_start_ms math
Calculate: {{step.day_start_ms}} + {{config.work_start_hour}} * 3600000
work_end_ms math
Calculate: {{step.day_start_ms}} + {{config.work_end_hour}} * 3600000
events_raw ?
events default
Apply default
timed_events filter
Filter by condition
event_count count
Count items in timed events
events_with_duration map
Extract from each item
booked_ms reduce
Reduce with sum
booked_hours math
Calculate: {{step.booked_ms}} / 3600000
booked_hours_rounded round
Round booked hours to 1 decimal places
many_events compare
Check if event count is at least setting busy event threshold
many_hours compare
Check if booked hours is at least setting busy hours threshold
is_meeting_heavy any
Check if any of the conditions are true
events_sorted sort
Sort by
boundaries map
Extract from each item
boundaries_plus_close flatten
Flatten nested lists in
gap_candidates filter
Filter by condition
gap_rows map
Extract from each item
gaps_bounded filter
Filter by condition
gaps_measured map
Extract from each item
focus_blocks filter
Filter by condition
focus_blocks_unique unique
Remove duplicates from
focus_blocks_sorted sort
Sort by
proposed_count count
Count items in focus blocks sorted
proposal_table_gap_start_text_dated map
Extract gap_start from each item
proposal_table_gap_end_text_dated map
Extract gap_end from each item
proposal_table to_table
Format results as a data table
heavy_note ternary
Apply ternary
proposals ternary
Apply ternary
card to_summary
Format results as a summary card
Settings 8 configurable

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

day offset setting = 1
scan limit setting = 100
calendar slug setting = primary
work end hour setting = 18
work start hour setting = 9
min block minutes setting = 60
busy event threshold setting = 4
busy hours threshold setting = 4

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Data it touches

Warehousedata.calendar

About

Tags

calendarfocusdeep-workproposaldetectplanningpack:daily-ops

Details

34 steps 8 configurable settings recipe_id: focus-block-proposer