Slack Notification from Servicenow

Karishma Mehta1
Tera Contributor

Hello Experts,

 

I need help with sending Slack notification from ServiceNow.

The requirement is to  send Slack notification to the host when a pre-registered visitor checks in for their visit at a kiosk

Thanks in advance

 

8 REPLIES 8

@Karishma Mehta1 

Please look into interactive messages in slack: https://api.slack.com/messaging/interactivity
You need to send an interactive message, and have a scripted REST API in ServiceNow prepared to receive the response.

 

Looks like you are using Post Actionable Message, which I assume does this. When accept/reject is clicked from Slack, SN should receive a response and process it

Looks like the Slack spoke provides inbound decisions, I believe you just need to configure the flow. The decision table that accepts inbound calls from Slack is "Slack Inbound Policy".


Flow: Respond to Slack Approval Action : https://<instance>.service-now.com/sys_hub_flow.do?sys_id=423dfff8533200106370ddeeff7b127f

Indeed I am using the same approach. Configured inbound decisions and using subflow Respond to Slack Message Action. However, when I click on Reject at Slack side, I am getting error in ServiceNow "Slack inbound authentication failed.Please check the slack configurations table"

Satishkumar B
Giga Sage
Giga Sage

@Karishma Mehta1 Check this:

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/notification...
https://docs.servicenow.com/bundle/washingtondc-it-service-management/page/product/site-reliability-...
https://www.servicenow.com/community/developer-articles/servicenow-slack-integration-to-send-slack-m...

…………………………………………........................................................................................
Please Mark it helpful 👍and Accept Solution !! If this helps you to understand.

…………………………………………........................................................................................