Create a ServiceNow incident from Slack
BotsCustomer ServiceIT Service Management
What it does
When someone runs a command in Slack, this automation searches ServiceNow for the user and creates an incident using a template. The bot replies in Slack so the channel knows the incident was created.
Who it's for
IT and Operations teams who need to open a ServiceNow incident from Slack without leaving the conversation.
Apps used
How teams use this
Open an incident from Slack
Run the command in a Slack channel to create a ServiceNow incident with a template, and get confirmation in the thread. The team stays in Slack and the incident is ready in ServiceNow.
Route incidents to different teams
Use the same command in different Slack channels so each team can open incidents that route to their ServiceNow queue. Only the channel context changes.
Add priority and category to the template
Extend the command to include prompts for priority level and incident category so the template is filled with those details when created. The automation stays the same and only the template fields change.
Set urgency based on the channel
Add a condition to check which Slack channel the command runs in and set the incident urgency accordingly. Only the urgency assignment changes based on the channel context.
How it works
- Run the incident command. Type the command in a Slack channel or direct message to start the automation and create a ServiceNow incident.
- Find the person in ServiceNow. Search the sys_user table in ServiceNow to match the person who ran the command so the incident is linked to them.
- Create the incident. Create a new record in the incident table using a template so the ticket is ready to work with all standard fields filled.
- Confirm in Slack. Reply in the same Slack conversation so the channel knows the ServiceNow incident was created and is ready for the team.