Recued
Menu
← Back to recipes

How old are the Plaid balances I am reading

by recued-core v2 35 views

Use “How old are the Plaid balances I am reading” in Recued. Reads a linked Item's status next to its accounts, because /accounts/get returns confident numbers whether or not the connection still works. Plaid's own docs: /accounts/get "retrieves cached information" and the balance "will reflect the balance at the time of the last successful Item update".

How it works 21 steps

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

Process (21 steps)
■ stale_after clamp
Clamp setting stale days between 1 and 90
◆ item_raw recued-core.plaid.item.read
Read item on plaid
■ have_item template
Generate text from a template
fail: step.item_raw.result.item is_null
■ defaults defaults
Apply defaults
■ errored compare
Check if error code has data
■ defaults_2 defaults
Apply defaults
■ have_freshness compare
Check if last ok has data
■ age_days date_diff
Calculate days between last ok and now
■ fail_minus_ok_days date_diff
Calculate days between last ok and last fail
■ failing_now compare
Check if fail minus ok days is at least 0
■ stale compare
Check if age days is at least stale after
■ consent_days date_diff
Calculate days between now and item raw result item consent expiration time
◆ acct_raw recued-core.plaid.account.search
Search account on plaid
■ accounts default
Apply default
■ account_count count
Count items in accounts
■ stamped filter
Filter by condition
■ stamped_count count
Count items in stamped
■ unstamped filter
Filter by condition
■ unstamped_count count
Count items in unstamped
■ card to_summary
Format results as a summary card
■ account_table to_table
Format results as a data table
▼
Output
summary card
table account_table
Settings 1 configurable

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

stale days setting = 3

Uses (2 operations)

Pack operation Read item on plaid recued-core.plaid.item.read
Pack operation Search account on plaid recued-core.plaid.account.search

Trust & control

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

Permissions it requires

Read your Plaid connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

plaid plaidbankingfreshnessfinanceread-only

Details

21 steps 1 configurable settings recipe_id: review-stale-balances-plaid