go-lambda-mailchimp icon indicating copy to clipboard operation
go-lambda-mailchimp copied to clipboard

Simple AWS lambda written in golang to subscribe users on Mailchimp list - Made with Apex

Golang AWS Lambda Mailchimp subscriber

License

Simple AWS lambda written in golang to subscribe users on Mailchimp list

To deploy and test you can use Apex :)

Install

At the first, you need to install Apex, it's very simple:

curl https://raw.githubusercontent.com/apex/apex/master/install.sh | sh

After configure your AWS Credentials, then run:

apex deploy

Run Locally

create a event.json file like this:

{"email_address": "[email protected]", "status": "subscribed", "merge_fields": {"FNAME": "Vinicius Souza"}}

save on project root folder.

Then run:

apex invoke newsletter-subscribe < event.json

Release History

  • 0.0.1
    • Subscribe users with first name on mailchimp 3.0 API

Meta

Vinicius Souza – @iamvsouza[email protected]

Distributed under the MIT license. See License

https://github.com/vsouza