Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

mailchimp-slack-list-updates

serverless Build Status Code Coverage MIT license GitHub tag

Get mailing list updates from MailChimp in your Slack channel 🚀

Features

  • Runs on serverless (AWS Lambda by default, but configurable for other providers in serverless.yml)
  • Gets the number of subscribers in a MailChimp list
  • Hits a Slack webhook with a message
  • Three random emoji included in each message 💎 🌮 🐳
  • Runs every other day (customizable in serverless.yml)

Example Message

Mailing list subscriber count as of today: *80* :dromedary_camel: :open_book: :baby_chick:

Deploy

Follow these steps to get started. You'll need:

Then, to deploy:

$ serverless deploy

Then set the environment variables (from above) in the Lambda console.

To test immediately (without waiting for the scheduled event), invoke the function from the CLI:

$ serverless invoke --function run

Test

Run tests with npm test. Check code coverage with npm run coverage.

About

Get mailing list updates from MailChimp in your Slack channel 🚀

Topics

Resources

License

Packages

No packages published