A quick demo of using direct API requests to MailChimp in a node app. I've setup a list with a custom merge field called "SUPERPOWER". The steps below will help you create a list to run this against. Then again, you can probably learn enough to build your own by looking at index.js.
- Go to MailChimp and set up a list with a custom merge field called "SUPERPOWER".
- Take note of the MailChimp list's
- put your MailChimp account info in index.js
- let
npm install
to do its magic - run the demo with
node index.js
- go to
/signup.html
to subscribe a new email to the list - add a superpower to that subscribers record at
/update.html