Create a ServiceNow request from Slack
Social, UtilitiesIT HelpdeskUtilities
What it does
When someone runs the Create ServiceNow Request command in Slack, this automation matches the Slack user to ServiceNow by email and creates a blank request. It then presents active items from ServiceNow as a list so someone can add them to the request.
Who it's for
IT teams who need to open ServiceNow requests from Slack without leaving the conversation.
Apps used
How teams use this
Open a request without leaving Slack
Run the command to create a blank ServiceNow request and pick items to add, all from the Slack conversation. The team stays in the channel and does not need to open ServiceNow.
Route requests to a different team
Invite the bot to a different Slack channel so another team can create requests for their own workflows. The automation works the same way in each channel.
Add a priority field to new requests
Include a priority prompt in the command so someone can set the request priority when creating it. The automation will pass that value to the ServiceNow request record.
Filter items by category
Add a condition to the Lookup Table search so only items in a specific category appear in the picklist. This narrows the choices and speeds up the request creation.
How it works
- Run the create request command. Type the Create ServiceNow Request command in a Slack channel or direct message to start the process.
- Match the Slack user in ServiceNow. Search the ServiceNow sys_user table for a user record with an email that matches the Slack user who ran the command.
- Create a blank request. Create a new request in the ServiceNow sc_request table with the matched user set as the Open By field.
- Fetch active items to add. Search the Lookup Table for all active ServiceNow items that can be added to the request in the picklist.
- Reply with items to select. Post a message in Slack showing the active items as a picklist so someone can choose which ones to add to the request.