Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

rossumai/webhook-slack-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Rossum webhook endpoint that post to Slack

How to run

For testing the webhook, one can use ngrok.

$ ngrok http 5042

Copy the address produced by ngrok (something like: https://aaabbbccc.ngrok.io) and set it to webhook.config.url.

Then start the webserver on localhost...

$ export SLACK_URL="https://hooks.slack.com/services/<secret>"
$ export SECRET_KEY="<Secret key stored in webhook.config.secret>"
$ ./webhook_slack_notification.py

... and enjoy slack notifications whenever any annotation changes its status.

About

Example Rossum webhook endpoint that post to Slack

Topics

Resources

License

Stars

0 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages