Skip to content

Lambda package for Recurlybot, a Slack bot to notify new Recurly subscriptions

License

Notifications You must be signed in to change notification settings

AudienseCo/recurlybot-lambda-apex

Repository files navigation

Recurlybot Lambda Packager

Lambda package for Recurlybot, a Slack bot to notify new Recurly subscriptions.

What's this?

An AWS lambda function that given a POST request from Recurly webhooks publishes a message in a the configured Slack channel via a Slack Incomming Webhook

How to deploy it?

  • Rename project-dist.json as project.json
  • Edit the AWS role and the environment variables
    • SLACK_CHANNEL: the Slack channel where you want to puslish the notifications.
    • SLACK_URL: Slack incomming webhook url.
    • PROFILE_URL: Customer information page in case you want to link the notification to your CRM or to the Recurly account page.
  • Setup AWS credentials for Apex, see http://apex.run/#aws-credentials
  • npm install
  • apex deploy
  • Now visit your AWS Lambda dashboard and connect the Lambda to API Gateway
  • Get the API Gateway public endpoint and setup it in the Recurly Webhooks configuration

About

Lambda package for Recurlybot, a Slack bot to notify new Recurly subscriptions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published