* [ ] Schedule lambda to run once per day * [ ] Query relevant crowdactions * [ ] If they have ended in the past 24h 👉invoke processing lambda asynchronously Processing lambda: 1. Load crowdaction details (badge thresholds as implemented in #111 ) 2. Load paricipations for that crowdaction (shared code with #65?) 3. Foreach participation: a. Compute badge b. Add badge to user profile (⚠ Must be atomic operation)
Processing lambda:
a. Compute badge
b. Add badge to user profile (⚠ Must be atomic operation)