/serverless-statuspage-to-slack-converter

Convert Statuspage alerts to Slack incoming webhooks via serverless function (lambda)

Primary LanguageJavaScriptMIT LicenseMIT

Serverless Statuspage to Slack webhook converter

This repository will allow you to use serverless Netlify Functions to convert Statuspage alerts to Slack Incoming Webhooks posts.

Note: This project has no dependencies. Running npm install or yarn install is not required.

How to use:

  1. Fork this repository.
  2. Create a Netlify account if you do not already have one.
  3. Create a new Netlify site.
  4. Link your Netlify account to your repo.
  5. Subscribe to a Statuspage webhook using the following URL:
https://<your-site-name>.netlify.app/.netlify/functions/convert?target=

where <your-site-name> is replaced by your Netlify site name and the value of target is the unique end to the Slack incoming webhook URL (everything after https://hooks.slack.com/services/)

Credits:

Original conversion code by NReilingh