Skip to content

les-projets-cagnottes/slack-events-catcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Les Projets Cagnottes - slack-events-catcher

Release Integration

Getting Started

Checkout this repository and run

npm install
node src/index.js

Authenticate with core component

Create a file core-token containing an API token in the project directory. It will be consumed by the slack-events-catcher to be used in API calls.

Local Testing

Use ngrok to start a tunnel and keep the window open

ngrok http 3000

In the Slack App, navigate to :

  • Interactivity & Shortcuts : set the Request URL as <Ngrok URL>/slack/interactive
  • Event Subscriptions : set the Request URL as <Ngrok URL>/slack/events
  • Slash Commands :
    • /projet-cagnotte | <Ngrok URL>/slack/events | Hello, world ! | [hello]