Skip to content

AndreaGriffiths11/slack-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title description tags
Express Slack Webhook
An ExpressJS server with a POST request to emit a message on Slack
express
typescript

Slack webhook starter

This example starts an ExpressJS server containing a post request to emit a message on Slack.

Deploy on Railway

✨ Features

  • Express
  • TypeScript
  • Slack webhook route

πŸ’β€β™€οΈ How to use

  • Create a Slack app with an incoming webhook.
  • Click the deploy button and add the SLACK_WEBHOOK_URL.
  • Install dependencies yarn
  • Connect to your Railway project railway link
  • Start the development server railway run yarn dev

πŸ“ Notes

The server started simply returns Hello from the webhook! :rocket:. You can consume whatever information you'd like from your custom webhook, parse it and send it to Slack accordingly.

You can read the documentation for formatting your messages here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •