Posted on

How to send / implement welcome email for new customer on Amazon cloud

Create a Customers table that contains customer information in Amazon DynamoDB. To send an welcome email to each new customer, you could enable a stream on that table, and then associate the stream with a Lambda function. The Lambda function would execute whenever a new stream record appears, but only process new items added to the Customers table. For any item that has an EmailAddress attribute, the Lambda function would invoke Amazon Simple Email Service (Amazon SES) to send an email to that address.

Leave a Reply

Your email address will not be published. Required fields are marked *