Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Slack Event Subscriptions with secure ServiceNow Scripted REST API

Bharat Shinde
Tera Contributor

Hi,

 

I am using Slack App and enable Event Subscriptions for specific slack channel. Also implemented Scripted REST API in ServiceNow as a listener for slack event and manage to get the slack channel thread replies into SN. But has few queries:

 

1. Currently Scripted REST API resource is not having the 'Requires authentication' checked hence slack event can post data.

2. If I checked the 'Requires authentication' box then it is not able to communicate as it need authentication, not sure how i set this up so SN api will be secure.

3. Also I would like to attach any files/images replied in slack thread to incident along with reply text.

4. Currently i manage to add only replies threads as a work_note column of SN Incident but they also updating as Guest user not as a specific slack user name.

 

Any thoughts around this will be appreciable!

 

Regards,

Bharat

0 REPLIES 0