How to get response back from slack in servicenow ?

ujjwala_678
Tera Contributor
Hello Experts,
I have a request to send approval request to slack which shows two buttons i.e "Accept" and "Reject". When user click on that button response should send back to service now and corresponding request should be updated with response and comments will be updated
 
I am able to create button's but how to send response back to service now on that part I stuck and how to update the comments with user response
Could anyone suggest me anything on this?
 
Thank you in advance!
16 REPLIES 16

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @ujjwala_678 

 

https://www.servicenow.com/community/itsm-forum/slack-and-servicenow-integration/m-p/640261

https://www.servicenow.com/community/now-platform-forum/slack-integration-using-slash-command/m-p/11...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Amit Verma
Kilo Patron
Kilo Patron

Hi @ujjwala_678 

 

Could you please elaborate on your integration approach ? Did you integrated it using Slack REST API ? Also, on ServiceNow end, any configuration you did ?

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

hi @Amit Verma ,

I have created a subflow to post message in slack channel using 'Post actionable message'  , the message displays two buttons accept or reject
i want to fetch user response on those two button and that needs to be updated in the comments section of the record

 

Thank you,

Hi @ujjwala_678 

 

Thank you for the clarification. You need to configure Inbound Decisions to get the response from "Post an actionable Message". You need to do the below configuration :

 

  1. In the Condition, ensure that you specify the value of Action ID as the action ID which you have configured for the Outbound configuration. You can specify other conditions as per your requirement.
  2. In Answer, select the subflow you had configured.

Refer the official documentation on the below links and you should be good to go :

https://docs.servicenow.com/bundle/vancouver-integrate-applications/page/administer/integrationhub-s...

https://docs.servicenow.com/bundle/vancouver-integrate-applications/page/administer/integrationhub-s...

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.