Skip to content

Pull mailing events from SendGrid using either a webhook or timed api calls.

Notifications You must be signed in to change notification settings

OneilGordon/sg-events

Repository files navigation

sg-events

This project contains two unique Azure functions. The sg-event-activity-api function will poll for the most recent 1000 SendGrid mailing events on a 5 minute timer. The sg-events-webhook function will respond to the SendGrid event webhook when it receives an event. Both functions will update a unique CSV file (sgEventData.csv and sgEventDataHOOK.csv respectively) and store them to a blob container.

The environment variables that follow will need to be added as an application setting in function app --> configuration. sgeventactivity_BEARER contains the SendGrid account's bearer token. sgeventactivity_STORAGE contains the Azure blob storage account.

About

Pull mailing events from SendGrid using either a webhook or timed api calls.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages