Webhooks allow applications to create messages inside of specific Slack Channels.

The currently configured Webhooks can be reviewed here: https://geant.slack.com/apps/A0F7XDUAZ-incoming-webhooks?page=1 

The Webhook of note is the ServiceNow one: https://geant.slack.com/services/B2WV0SY20 . The setup of this webhook can be found at: https://geant.slack.com/services/B2WV0SY20#service_setup

The source code for the servicenow REST Web Service can be found here: https://git.geant.net/gitlab/src/servicenow/tree/master/org/geant/servicenow. Specifically the ServiceNowConnector.java file, which demonstrates how to create a message and write it to a particular SLACK channel.

  • No labels