Recued
Menu
← Back to recipes

Seed daily note

by recued-core v5 38 views

Use “Seed daily note” in Recued. Writes today's daily note into the vault: a markdown file holding today's confirmed calendar events, the contacts and projects carrying the most open loops, and a carryover block copied from yesterday's note.

How it works 38 steps

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

Data fetch
▼ open_loops core.data.enrichment.list
List data enrichment
▼
Process (37 steps)
■ today_window date_period
Apply date_period
■ today_start_ms date_parse
Parse today window start as a date
■ today_end_ms date_parse
Parse today window end as a date
■ note_date date_format
Format as a date
■ note_path template
Generate text from a template
■ yesterday_window date_period
Apply date_period
■ yesterday_start_ms date_parse
Parse yesterday window start as a date
■ yesterday_date date_format
Format as a date
■ yesterday_path template
Generate text from a template
■ vault_unset compare
Check if setting vault slug is empty
◆ today_stat core.storage.file.stat
Stat storage file
skip: step.vault_unset equal true
■ already_exists compare
Check if today stat exists equals
◆ yesterday_stat core.storage.file.stat
Stat storage file
skip: step.vault_unset equal true
■ yesterday_exists compare
Check if yesterday stat exists equals
◆ yesterday_read core.storage.file.read
Read storage file
skip: step.yesterday_exists not_equal true
■ yesterday_text decode_base64
Apply decode_base64
■ carryover default
Apply default
◆ events core.data.calendar.list
List data calendar
skip: step.already_exists equal true
■ event_records default
Apply default
■ event_count count
Count items in event records
■ events_timed map
Extract from each item
■ event_lines map
Extract from each item
■ events_text join
Join items with " "
■ open_loop_entries default
Apply default
■ open_loop_count count
Count items in open loop entries
■ open_loop_lines map
Extract from each item
■ open_loops_text join
Join items with " "
■ note_body template
Generate text from a template
■ body_present compare
Check if note body has data
■ skip_write any
Check if any of the conditions are true
■ note_b64 encode_base64
Apply encode_base64
skip: step.skip_write equal true
◆ write core.storage.file.write
Write storage file
skip: step.skip_write equal true
■ written not
Apply not
◆ final_stat core.storage.file.stat
Stat storage file
skip: step.vault_unset equal true
■ final_size default
Apply default
■ final_modified date_format
Format as a date
■ card to_summary
Format results as a summary card
▼
Output
summary card
copyable note_body
json event_records
Settings 8 configurable

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

end hour setting = 9
note dir setting = Daily
weekdays setting = 1,2,3,4,5
start hour setting = 6
vault slug setting =
calendar slug setting =
open loop limit setting = 5
carryover heading setting = ## Notes

Uses (6 operations)

Triggers Time watch core.watch.time
Enrichments List data enrichment core.data.enrichment.list
Files Stat storage file core.storage.file.stat
Files Read storage file core.storage.file.read
Calendar List data calendar core.data.calendar.list
Files Write storage file core.storage.file.write

Trust & control

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

What it's allowed to do

Read Triggers core.watch.time read-only
Read Enrichments core.data.enrichment.list read-only
Read Files core.storage.file.stat read-only
Read Files core.storage.file.read read-only
Read Calendar core.data.calendar.list read-only
Write Files core.storage.file.write external change

Data it touches

SurfacesTriggersEnrichmentsFilesCalendar
Warehousedata.calendardata.enrichment

About

Tags

pack:pkm-vaultpkmvaultdaily-notemarkdowncalendaropen-loopreactive

Details

38 steps 8 configurable settings recipe_id: seed-daily-note