Recued
Menu
← Back to recipes

Daily morning brief

by recued-core v5 34 views

Use “Daily morning brief” in Recued. Morning cockpit over your own warehouse: today's confirmed events, inbound threads whose last message is theirs and still unanswered, and the contacts carrying the most open loops. Returns a summary card, two tables, and the raw rows behind them.

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
■ today_label date_format
Format as a date
◆ events_raw core.data.calendar.list
List data calendar
■ events default
Apply default
■ event_count count
Count items in events
■ events_dated map
Extract from each item
■ events_table to_table
Format results as a data table
■ mail_since_ms math
Calculate: {{step.today_end_ms}} - {{config.lookback_days}} * 86400000
■ quiet_cutoff_ms math
Calculate: {{step.today_end_ms}} - {{config.quiet_days}} * 86400000
◆ messages_raw core.mail.email.list
List mail email
skip: config.mail_slug is_empty
■ messages default
Apply default
■ messages_flat map
Extract from each item
■ my_email_set compare
Check if setting my email has data
■ outbound filter
Filter by condition
■ all_threads group_by
Group by thread_id
■ outbound_threads group_by
Group by thread_id
■ all_threads_keyed map
Extract from each item
■ outbound_keys map
Extract from each item
■ their_word_last filter
Filter by condition
■ waiting_threads filter
Filter by condition
■ waiting_sorted sort
Sort by
■ waiting_rows slice
Take a subset of
■ waiting_count count
Count items in waiting threads
■ waiting_dated map
Extract last_at from each item
■ waiting_table to_table
Format results as a data table
■ open_loop_entries default
Apply default
■ open_loop_count count
Count items in open loop entries
■ open_loop_targets pluck
Extract target_id from each item
■ open_loop_text join
Join items with ", "
■ mail_scanned count
Count items in messages
■ inbound_note ternary
Apply ternary
■ mailbox_set compare
Check if setting mail slug has data
■ mailbox_note ternary
Apply ternary
■ mail_section_note ternary
Apply ternary
■ card to_summary
Format results as a summary card
▼
Output
summary card
table events_table
table waiting_table
json waiting_rows
json open_loop_entries
Settings 11 configurable

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

end hour setting = 9
my email setting =
weekdays setting = 1,2,3,4,5
mail slug setting = [object Object]
row limit setting = 20
quiet days setting = 2
scan limit setting = 500
start hour setting = 7
calendar slug setting =
lookback days setting = 14
open loop limit setting = 5

Uses (4 operations)

Triggers Time watch core.watch.time
Enrichments List data enrichment core.data.enrichment.list
Calendar List data calendar core.data.calendar.list
Mail List mail email core.mail.email.list

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 Calendar core.data.calendar.list read-only
Read Mail core.mail.email.list read-only

Data it touches

SurfacesTriggersEnrichmentsCalendarMail
Warehousedata.calendardata.enrichment

About

Tags

morningbriefdigestcockpitcalendarmailopen-loopreactivepack:daily-ops

Details

38 steps 11 configurable settings recipe_id: daily-morning-brief