Skip to content

Forwards inbound webhooks to multiple emails - so we don't have to touch vercel sendgrid forwarding

Notifications You must be signed in to change notification settings

prosperity-tech/forward.webhook.life.li

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forward.webhook.life.li

Forwards requests from a given SendGrid webhook to your localhost URLs without touching sendgrid.

  • Incoming webhooks are sent in sendgrid and should be set in the format of https://forward-webhook-life-li.preview.life.li/api/forward?key=<UseCase> Alt text

  • If you want the use-case to forward it to a specific URL then make an env variable with that use case (e.g. TECHNICAL_PARTNER_SUPPORT) and add a comma seperated list of webhooks.

  • When sendgrid gets an email https://forward-webhook-life-li.preview.life.li/api/forward?key=TECHNICAL_PARTNER_SUPPORT it forwards it to webhooks listed in env on vercel TECHNICAL_PARTNER_SUPPORT and SHARED_FORWARD_URL. Alt text

  • Keep in mind you have to redeploy for the env variables to work.

  • In the future all staging emails should use this setup, so everyone can test things locally.

About

Forwards inbound webhooks to multiple emails - so we don't have to touch vercel sendgrid forwarding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published