Recued
Menu
← Back to recipes

Audit subscriptions from mail

by recued-core v3 40 views

Use “Audit subscriptions from mail” in Recued. Find recurring charges in receipt mail and rank them by cost. It reads information without changing data in the connected service.

How it works 42 steps

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

Process (42 steps)
■ window date_period
Apply date_period
■ since date_parse
Parse window start as a date
■ until date_parse
Parse window end as a date
■ mailbox_set compare
Check if setting mail slug has data
■ mailbox_note ternary
Apply ternary
◆ messages_raw core.mail.email.list
List mail email
skip: step.mailbox_set equal false
■ messages default
Apply default
■ scanned_count count
Count items in messages
■ source_stale default
Apply default
■ freshness_note ternary
Apply ternary
■ source_note ternary
Apply ternary
■ subject_tagged map
Extract hot_fields.subject from each item
■ sender_tagged map
Extract hot_fields.from from each item
■ block_tagged map
Extract hot_fields.subject from each item
■ candidates filter
Filter by condition
■ receipts filter
Filter by condition
■ receipt_count count
Count items in receipts
■ has_receipts compare
Check if receipts has data
■ sample slice
Take a subset of
■ flat map
Extract from each item
■ protect pii-protect
Apply pii-protect
✦ extract core.ai.extract
AI extracts structured fields from data
skip: step.has_receipts not_equal true
■ restored pii-restore
Apply pii-restore
■ rows default
Apply default
■ rows_count count
Count items in rows
■ priced_rows filter
Filter by condition
■ priced_count count
Count items in priced rows
■ unpriced_count math
Calculate rows count minus priced count
■ vendors group_by
Group by from
■ recurring filter
Filter by condition
■ recurring_count count
Count items in recurring
■ has_recurring compare
Check if recurring has data
■ recurring_total reduce
Reduce with sum
■ ranked sort
Sort by
■ top_vendors slice
Take a subset of
■ cost_table_first_seen_text_dated map
Extract first_seen from each item
■ cost_table_last_seen_text_dated map
Extract last_seen from each item
■ cost_table to_table
Format results as a data table
■ card to_summary
Format results as a summary card
■ should_notify all
Check if all conditions are true
■ notify_source_suffix ternary
Apply ternary
◆ notify core.notification.send
Send notification
skip: step.should_notify not_equal true
▼
Output
summary card
table cost_table
json rows
Settings 10 configurable

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

period setting = last_90_days
channels setting = [object Object]
mail slug setting = [object Object]
row limit setting = 25
scan limit setting = 500
min charges setting = 2
exclude terms setting = refund,failed,declined,cancelled,canceled
receipt terms setting = receipt,invoice,payment,subscription,billing,your order,renewed,charged
notify enabled setting = false
ai sample limit setting = 120

Uses (3 operations)

Mail List mail email core.mail.email.list
AI models AI extracts structured fields from data core.ai.extract
Notifications Send notification core.notification.send

Trust & control

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

Permissions it requires

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

What it's allowed to do

Read Mail core.mail.email.list read-only
Read AI models core.ai.extract read-only
Read Notifications core.notification.send external change

Data it touches

SurfacesMailAI modelsNotifications

About

Tags

financesubscriptionsrecurringspendmailreceiptsdigestauditai_surfacepack:personal-finance

Details

42 steps 10 configurable settings recipe_id: audit-subscriptions-from-mail