📖 Story
CRED · Missed Reward Categories
Tuesday morning at CRED's Rewards team. The rewards catalog has five spending categories — Travel, Dining, Shopping, Fuel, Entertainment — and the team wants to nudge each user toward categories they haven't touched this month, to boost engagement. redemptions only has a row when a user actually redeemed points in a category, so a category a user never engaged with simply has no row at all. One redemption is also sitting with a NULL points_redeemed — the redemption was initiated but reversed before it completed, so it shouldn't count as the user having actually engaged with that category.