Create Google Calendar focus block
Use “Create Google Calendar focus block” in Recued. It checks the calendar's free/busy for that time first and creates the block only when nothing is booked then, unless you allow overlaps. It asks for approval before making changes.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (40 steps)
summary
trim
Trim whitespace from setting summary
start_time
trim
Trim whitespace from setting start time
end_time
trim
Trim whitespace from setting end time
description
trim
Trim whitespace from setting description
has_summary
compare
Check if summary has data
start_ms
date_parse
Parse start time as a date
end_ms
date_parse
Parse end time as a date
inputs_ok
all
Check if all conditions are true
window_start_utc
date_format
Format as a date
skip: step.inputs_ok equal false
window_end_utc
date_format
Format as a date
skip: step.inputs_ok equal false
calendar
recued-core.google-calendar.calendar_list.read
Read calendar list on google calendar
freebusy
recued-core.google-calendar.freebusy.query
Query freebusy on google calendar
skip: step.inputs_ok equal false
fb_calendars
to_list
Apply to_list
fb_entry
default
Apply default
fb_errors
default
Apply default
fb_error_count
count
Count items in fb errors
has_fb_error
compare
Check if fb error count is greater than 0
fb_reason_note
ternary
Apply ternary
busy_rows
default
Apply default
busy_timed
map
Extract from each item
busy_unreadable
filter
Filter by condition
busy_unreadable_count
count
Count items in busy unreadable
overlaps
filter
Filter by condition
overlap_count
count
Count items in overlaps
checked
all
Check if all conditions are true
free
all
Check if all conditions are true
allowed
any
Check if any of the conditions are true
skip_create
any
Check if any of the conditions are true
created_event
recued-core.google-calendar.event.create
Create event on google calendar
skip: step.skip_create equal true
skipped
compare
Check if skip create equals true
overlap_lines
map
Extract from each item
overlap_text
join
Join items with "; "
fb_text_checked
ternary
Apply ternary
fb_text_inputs
ternary
Apply ternary
freebusy_text
ternary
Apply ternary
outcome_not_made
ternary
Apply ternary
outcome_skipped
ternary
Apply ternary
outcome_made
ternary
Apply ternary
outcome
ternary
Apply ternary
card
to_summary
Format results as a summary card
▼
Output
summary
card
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
summary
setting
=
Focus block
end time
setting
=
location
setting
=
time zone
setting
=
UTC
start time
setting
=
calendar id
setting
=
primary
description
setting
=
Protected focus time created by Recued.
send updates
setting
=
none
allow overlap
setting
=
false
Uses (3 operations)
Pack operation
Read calendar list on google calendar
recued-core.google-calendar.calendar_list.read
Pack operation
Query freebusy on google calendar
recued-core.google-calendar.freebusy.query
Pack operation
Create event on google calendar
recued-core.google-calendar.event.create
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.