Skip to content
Recued
Menu
← Back to recipes

Expected quotation email watcher timeout

by recued-core v1

Low-frequency timeout role for recued-core/expected-quotation-email. It moves a bounded batch of expired rows from active to timed_out, deletes the active copy only after the durable timeout write succeeds, and notifies the owner once per batch.

Complete workflow

Workflow pack for one-off expected inbound quotation emails. The entry recipe stores only bounded matching/routing state; the hidden event watcher moves a matched source pointer to owner-visible needs_owner state; an hourly timeout role moves expired watches out of active; and the review/close recipe lists needs_owner and timed_out rows before re-reading one source message for an ephemeral draft. Message bodies, deal context, and generated drafts are never persisted in data.shared, and no recipe sends email.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Expected quotation email watcher timeout
This recipe Background automation

Low-frequency timeout role for recued-core/expected-quotation-email. It moves a bounded batch of expired rows from active to timed_out, deletes the active copy only after the durable timeout write succeeds, and notifies the owner once per batch.

watchertimeoutowner-reviewclosed-loop
by recued-core pinned v1

Register a one-time watcher for a future inbound quotation email from a known sender and bounded match terms. The durable row stores only matching/routing scalars and source identifiers; past-deal context is supplied later to the review recipe and is never persisted in data.shared.

emailmailexpected-emailquotation
by recued-core pinned v1
Expected quotation email watcher
Background automation

Hidden event watcher for watch-for-expected-quotation-email. It matches a sender, subject, and body purpose deterministically, then moves the small linkage row to owner-visible needs_owner state. It never stores the source body, past-deal context, or a generated draft; review-expected-quotation-draft re-reads the source and generates an ephemeral draft on demand.

emailmailexpected-emailquotation
by recued-core pinned v1

Owner-invoked review for a matched quotation email. It lists small needs_owner linkage rows, re-reads exactly one matched source message, and generates an ephemeral copyable draft from review-time past-deal context. It never persists the source body, context, or generated draft and never sends mail.

emailmailquotationquote
by recued-core pinned v1
View pack details, dependencies, and permissions →
How it works 16 steps

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

Data fetch
active_watches ?
Process (15 steps)
now date_add
Add 0 minutes to
rows_with_timeout filter
Filter by condition
timeout_checks is_past
Check if is in the past
expired_checks filter
Filter by condition
expired_rows map
Extract from each item
timeout_rows slice
Take a subset of
timeout_count count
Count items in timeout rows
timeout_keys replace
Replace text in item key
timeout_values merge
Combine objects together
write_timed_out ?
delete_active ?
skip: item.result.ok not_equal true
moved_rows filter
Filter by condition
moved_count count
Count items in moved rows
notify_owner ?
skip: step.moved_rows is_empty
summary to_summary
Format results as a summary card
Settings 2 configurable

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

channels setting = in_app
batch limit setting = 25

Trust & control

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

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Send notifications
Declared by the recipe — Recued grants these at install, where you review them before approving.

Data it touches

Warehousedata.shared

About

Tags

watchertimeoutowner-reviewclosed-looprole:timeoutbundle:expected-quotation-email

Details

16 steps 2 configurable settings recipe_id: timeout-expected-quotation-email-watches