Skip to content

AWS-Lambda-contact-form-sendy-subscribe working

edited March 2020 in Contributions


I have a wordpress site, and I was formerly using mailchimp and a plugin called "MCFWP", or "Mail Chimp for Wordpress" to user subscribed to my lists in mailchimp. I have since migrated my lists to sendy, but I missed having the integration between my contact form on wordpress and my mailing list.

I now have a wordaround. I have a serverless stack that performs the functions of my contact form and integrates to sendy. I put the two files into a github project.

To summarize,
Plain html/jquery on front end posts ajax request

ajax request is received by AWS API Gateway
API Gateway sends it to lambda function
lambda express sends a contact email and calls sendy subscribe API

This discussion has been closed.