Deal Amount Validator
Validates deal amount field presence, positivity, and stage-appropriate range compliance.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Data fetch
deal
deal-reader-hubspot
Fetch reader from hubspot
▼
Process (8 steps)
amount_exists
compare
Check if deal amount exists
amount_positive
compare
Check if deal amount is greater than 0
min_for_stage
switch
Map deal stage to one of: proposal, closed_won, closed_lost, negotiation, prospecting, qualification
max_for_stage
switch
Map deal stage to one of: proposal, closed_won, closed_lost, negotiation, prospecting, qualification
amount_ge_min
compare
Check if deal amount is at least min for stage
amount_le_max
compare
Check if deal amount is at most max for stage
in_range
all
Check if all conditions are true
validation_checklist
to_checklist
Format results as an actionable checklist
▼
Output
checklist
validation_checklist
Uses (1 ingredient)
Ingredient
deal-reader-hubspot
deal-reader-hubspot