Write a before insert trigger on Account that sets a default Rating when none is provided:
| AnnualRevenue | Rating |
|---|---|
| ≥ 1,000,000 | Hot |
| ≥ 100,000 | Warm |
| otherwise / null | Cold |
If the user already supplied a Rating, leave it unchanged.
Your trigger runs against bulk inserts of up to 500 records, delivered in chunks of 200 exactly like Salesforce.
Trigger.new directly in the before context.Only the challenge's base org data.