Recued
Menu
← Back to recipes

Extract lease key terms

by recued-core v3 36 views

Use “Extract lease key terms” in Recued. Read a lease with the local docling tool and pull out the dates, amounts, and notice windows that matter: term start and end, rent, deposit, renewal, and the last day to give notice. Returns the terms, a note body, and proposed reminders dated from the notice windows.

How it works 25 steps

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

Process (25 steps)
■ has_source compare
Check if setting source has data
⚠ source_guard guard
Stop if has source equals
◆ parsed recued-core.docling.document.to_markdown
To markdown document on docling
■ file_ref default
Apply default
■ has_file compare
Check if file ref has data
⚠ parsed_guard guard
Stop if has file equals
✦ terms core.ai.extract
AI extracts structured fields from data
■ defaults defaults
Apply defaults
■ has_notice_deadline compare
Check if notice deadline has data
■ has_term_end compare
Check if term end has data
■ notice_reminder_at date_add
Add -{{config.lead_days}} days to
skip: step.has_notice_deadline equal false
■ term_end_reminder_at date_add
Add -{{config.lead_days}} days to
skip: step.has_term_end equal false
■ notice_reminders map
Extract from each item
skip: step.has_notice_deadline equal false
■ term_end_reminders map
Extract from each item
skip: step.has_term_end equal false
■ defaults_2 defaults
Apply defaults
■ proposed_reminders flatten
Flatten nested lists in
■ reminder_count count
Count items in proposed reminders
■ reminder_table to_table
Format results as a data table
■ note_body template
Generate text from a template
■ now date_add
Add 0 days to
■ skip_write compare
Check if setting write mode does not equal stage
■ row_key replace
Replace text in setting source
◆ stage_row core.storage.shared.write
Write storage shared
skip: step.skip_write equal true
■ staged not
Apply not
■ card to_summary
Format results as a summary card
▼
Output
summary card
table reminder_table
text note_body
json terms
Settings 5 configurable

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

source setting = [object Object]
lead days setting = 14
write mode setting = preview
property label setting =
staging prefix setting = lease_terms_staging

Uses (3 operations)

Pack operation To markdown document on docling recued-core.docling.document.to_markdown
AI models AI extracts structured fields from data core.ai.extract
Shared store Write storage shared core.storage.shared.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 AI models core.ai.extract read-only
Write Shared store core.storage.shared.write external change

1 more isn't listed here. You'll see it at install.

Data it touches

SurfacesAI modelsShared store
Warehousedata.shared

About

Tags

pack:file-toolkitleaserentalcontractdocumentdoclingextractionremindernotice-windowstagingai_surface

Details

25 steps 5 configurable settings recipe_id: extract-lease-key-terms