I always go Lambda-first. Except for this.
AWS FOR THE REAL WORLD
⏱️
Reading time: 8 minutes
🎯
Main Learning: How to pause Step Function workflows for human approval using the callback pattern
Hey 👋🏽 I've used this pattern in almost every project I've built. Whenever you need a human in the loop - approvals, reviews, manual checks - and you still want to see what's happening, Step Functions are perfect. Lambda is my go-to for almost everything.
But for workflows where someone needs to approve or reject something? I always reach for Step Functions. In this issue, I'll show you the "Wait for Callback" pattern. We'll build a content moderation system where admins approve or reject blog posts before they go live. Rather watch a video? I've recorded one for you. Rather reading it? Check out the deep dive 👇🏽
That's it for this week! The callback pattern is one of those things that once you know it, you'll use it everywhere. Approval workflows, manual QA checks, payment confirmations - anywhere a human needs to be in the loop. Clone the repo, deploy it to your account, and break things. See you soon! Sandro & Tobi |