Recued
Menu
← Back to recipes

Insurance Risk Assessor

by recued-core v1 30 views

Analyzes insurance application risk using coverage amount, claims history, and geographic factors. Provides risk classification and actionable recommendations.

How it works 25 steps

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

Data fetch
application application-reader-insurance
Fetch reader from insurance
Process (24 steps)
validate_data guard
Stop if application is missing
coverage_risk math
Calculate: min(max({{step.application.requested_coverage_amount}} / {{config.high_coverage_threshold}} * 100, 0), 100)
skip: step.application.requested_coverage_amount is_null
claim_history_risk math
Calculate: min({{step.application.applicant.prior_claims_count}} * 20, 100)
skip: step.application.applicant.prior_claims_count is_null
geo_factors_string join
Join items with ", "
skip: step.application.property.geographic_risk_factors is_null
factors_objs map
Extract from each item
skip: step.application.property.geographic_risk_factors is_null
flood_items filter
Filter by condition
skip: step.factors_objs is_null
flood_score math
Calculate flood items length times 25
skip: step.flood_items is_null
wildfire_items filter
Filter by condition
skip: step.factors_objs is_null
wildfire_score math
Calculate wildfire items length times 25
skip: step.wildfire_items is_null
hurricane_items filter
Filter by condition
skip: step.factors_objs is_null
hurricane_score math
Calculate hurricane items length times 25
skip: step.hurricane_items is_null
geographic_risk math
Calculate: {{step.flood_score}} + {{step.wildfire_score}} + {{step.hurricane_score}}
skip: step.factors_objs is_null
skip_total_risk any
Check if any of the conditions are true
total_risk weighted_score
Weighted score from: coverage risk (50%), claim history risk (30%), geographic risk (20%)
skip: step.skip_total_risk equal true
is_high_risk compare
Check if total risk is at least 70
skip: step.total_risk is_null
is_medium_risk compare
Check if total risk is at least 40
skip: step.total_risk is_null
risk_level_high_check switch
Map is high risk to one of: true
risk_level_medium_check switch
Map is medium risk to one of: true
risk_level coalesce
Use the first available value from: risk level high check, risk level medium check
coverage_check to_checklist
Format results as an actionable checklist
claims_check to_checklist
Format results as an actionable checklist
geo_check to_checklist
Format results as an actionable checklist
recommended_actions switch
Map risk level to one of: Low, High, Medium
skip: step.risk_level is_null
summary_metrics to_summary
Format results as a summary card
skip: step.total_risk is_null
Output
summary summary_metrics
checklist coverage_check
checklist claims_check
checklist geo_check
text recommended_actions
Settings 1 configurable

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

high coverage threshold number = 500000

Uses (1 ingredient)

Ingredient application-reader-insurance application-reader-insurance

About

Tags

insurance-core insurancerisk-assessmentunderwritingapplication

Details

25 steps 1 configurable settings recipe_id: assess-risk-insurance-application