Goodbye PHP & Mailchimp: Build a simple Email List with Airtable and Lambda

In this article you’ll learn…

Build an email list for your startup with AWS Lambda and Airtable. Credit: sebdeck

Airtable: An easy-to-use database

Using Airtable as our database allows us to easily view and share the email addresses of potential customers.

AWS Lambda: The Python script

handler.py — Copy the code from here: https://carbon.now.sh/PM2J6xrPf0mOChag7Xxp

serverless: Let’s deploy the function!

requirements.txt — Copy the code from here: https://carbon.now.sh/W5BPvwg00oNlzexWV5Ld
serverless.yml — Copy the code from here: https://carbon.now.sh/apEwSIP2BnVAtarNDrpU
Screenshot of my AWS Lambda deployment using the serverless tool.
curl request — Copy the code from here: https://carbon.now.sh/kinSRsqkVxpDk38tftNC

Integration into the Landing Page

Excerpt from the HTML page — Copy the code from here: https://carbon.now.sh/JQmRaMBmwG7VYuazPhu9
Excerpt from the JS code — Copy the code from here: https://carbon.now.sh/nIQulsBOcrE3kmCSQ2Bb

Wrapping up

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store