- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 12-14-2023 02:31 AM
If you're looking to streamline communication and provide your organisation's users with features such as ticket status checks, issue/request submissions, and service desk chats via organisation's existing Slack bot, then this article is for you.
Here's how you can simplify communication by integrating your self configured Slack bot with ServiceNow's virtual agent.
Step 1: Plugin Installation
Obtain the Virtual Agent plugin (com.glide.cs.chatbot) and Conversational Integration with Slack(sn_va_slack)
Step 2 : Create a bot in Slack
-> Log in to Slack API.
-> Navigate to Your Apps and click Create New App, select 'From Scratch' option.
-> Navigate to Interactivity > Shortcuts in the left menu and turn on Interactivity. Update the Request URL
the request URL must be https://<instance-name>/api/now/v1/cs/adapter/slack/actions.
-> Configure Event Subscriptions - Click Event Subscriptions in the left menu and turn on Enable Events.
Update the Request URL (the request URL must be https://<instance-name>.service-now.com/api/now/v1/cs/adapter/slack/events.)
--> Under Subscribe to bot events, click Add Bot User Event and add message.im
. And Click Save
--> Navigate to the Incoming Webhook tab and slide the Activate Incoming Webhooks toggle switch to enable it.
--> Configure OAuth & Permissions. :
- Click OAuth & Permissions from the left menu and navigate to Scopes > Bot Scopes.
- Select Add an OAuth Scope and add the following scopes:
- chat:write
- files:read
- files:write
- im.history
- incoming-webhook
- team:read
- users:read
- users:read.email
--> Navigate to OAuth & Permissions, click Install to Workspace.
And click Allow
--> Navigate to App Home and click on checkbox -'Allow users to send Slash commands and messages from the messages tab' under Show Tabs -> Message tab.
Step 3: Copy Integration attributes.
Take a note of integration attribute from slack as below:
--> On the Basic Information page, expand the App Credentials section and then copy the values in the Signing Secret fields. Save it in a secure location for later use.
--> Launch the Slack workspace in browser and copy the value for Team ID from browser's address bar (starting with 'T") Save it in a secure location for later use.
Step 4: Channel & Integration Configuration.
--> Navigate to All-> Conversation Interface -> Channel and Integrations
--> Click on Add Integrations button and select Integrate with Self-configured bot under 'Integrate Slack now' section:
-> All available Virtual agent topics will be displayed ( Note: for this demo, I've created 'Report IT Issue' topic to create incident)
-> When particular topic is selected, it will prompt for user inputs and provide the respective bot responses like below:
In conclusion, integrating ServiceNow with Slack bot can greatly simplify communication within your organization. By following the four steps of plugin installation, creating a bot in Slack, copying integration attributes, and configuring the channel and integration, you can provide your users with convenient features such as ticket status checks, issue/request submissions, and service desk chats all through your existing Slack bot. This integration not only improves communication efficiency but also saves time and effort in navigating multiple platforms. Give it a try and see the positive impact it can have on your organization.
- 1,936 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
This inputs is incredibly informative and helpful, providing easy-to-follow explanations. In short, it's a practical idea to improve team collaboration. Thanks!!