Deal Risk Scorer
Computes weighted risk subscores for activity, close date, and contacts, with optional AI narrative.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Data fetch
deal
?
contacts
?
▼
Process (14 steps)
guard_deal
guard
Stop if deal result properties is empty
days_since_activity
date_diff
Calculate days between deal result properties notes last contacted and now
activity_risk
math
Calculate: min(100, {{step.days_since_activity}} * 5)
days_until_close
date_diff
Calculate days between now and deal result properties closedate
skip: step.deal.result.properties.closedate is_null
close_date_risk
math
Calculate: min(100, max(0, (30 - {{step.days_until_close}}) * 3))
skip: step.days_until_close is_null
stale_contacts
count
Count items in contacts result results
contact_risk
math
Calculate: min(100, {{step.stale_contacts}} * 25)
total_risk
weighted_score
Weighted score from: activity risk (NaN%), close date risk (NaN%), contact risk (NaN%)
meets_threshold
compare
Check if total risk is at least setting ai threshold
ai_ready
all
Check if all conditions are true
ai_context
pick
Keep only specific fields from
skip: step.ai_ready equal false
ai_narrative
?
skip: step.ai_ready equal false
risk_checklist
to_checklist
Format results as an actionable checklist
risk_summary
to_summary
Format results as a summary card
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
hubspot
setting
=
enable ai
toggle
=
on
ai threshold
number
=
50
close weight
number
=
0.3
activity weight
number
=
0.4
contacts weight
number
=
0.3
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.