https://github.com/cosmicjs/webhook-email-function
Sends emails via Webhook when changes are made in your Cosmic JS Bucket
https://github.com/cosmicjs/webhook-email-function
javascript nodejs serverless webhooks
Last synced: about 1 month ago
JSON representation
Sends emails via Webhook when changes are made in your Cosmic JS Bucket
- Host: GitHub
- URL: https://github.com/cosmicjs/webhook-email-function
- Owner: cosmicjs
- Created: 2018-09-22T16:07:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-22T16:29:27.000Z (over 7 years ago)
- Last Synced: 2025-01-21T10:32:02.211Z (over 1 year ago)
- Topics: javascript, nodejs, serverless, webhooks
- Language: JavaScript
- Homepage: https://cosmicjs.com/docs/functions
- Size: 22.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webhook Email Function

### Installation
1. [Login to Cosmic JS](https://cosmicjs.com) and go to Your Bucket > Settings > Functions
2. Add this GitHub repo and click "Install Function"

3. Add your AWS credentials, SENDGRID_API_KEY, TO, and FROM environment variables.

4. Deploy the function and get your endpoint.
5. Add your POST endpoint to your webhooks area to Your Bucket > Settings > Webhooks. This webhook can send an email whenever content is added, edited or deleted (your preference).

### Maintainence
That's it! No managing or maintaining a server, just code and deploy!