How to send direct message from servicenow to slack

Community Alums
Not applicable
I am integrating slack with service now. Requirement is to send approval request to slack which shows two buttons i.e "Approve" and "Reject". When user click on that button response should send back to service now and corresponding request should get approved and again message should send back to slack saying your request has been approved.
 
I am able to create button's but how to send response back to service now on that part I stuck. 
3 REPLIES 3

Community Alums
Not applicable

Hi Elijah,

Thanks for responding.

I followed the way mentioned in link already but in that i am facing issue:

 

Question 1:

I am able to create button in slack when request has been raised in servicenow. However, that request should be visible to approvers only in channel (in slack) and not to entire channel. How to restrict that

Question 2:

When one approver approves that request, and other member's approval is not required then i want to send notification to other member that request ha been approved by <user name>. I am stucked here.

Question 3:

I tried to send direct message and I created scripted rest API, I given to slack, but when user hits that api from slack it shows "Method not supported" error. How to remove that error.

 

 

Could you help?

Hi Pooja

 

Have you completed slack approval integration? If yes please let me know i am stuck while approving from slack. Getting 401 error.