If you're building a customer engagement platform or chatbot system and working with Zalo Notification Service , one challenge you’ll encounter is securely receiving and processing webhook feedback events . This guide walks you through how to build a robust, scalable serverless solution using AWS Lambda , Amazon SQS , and Amazon S3 , all in Node.js 22.x . 🎯 What We’re Building A complete serverless pipeline to handle Zalo’s user_feedback webhook: Receive the webhook securely using an AWS Lambda. Verify the X-ZEvent-Signature to authenticate Zalo. Push the payload into an Amazon SQS queue. Consume the SQS messages via another Lambda. Store the feedback data in Amazon S3 for analytics or audit logging. 🧱 Step 1: Understanding Zalo’s Webhook Zalo sends a POST request to your webhook URL when a user submits feedback via a ZNS template. Example payload: { "event_name": "user_feedback", "message": { "note"...
Comments