Create a ServiceNow incident from Slack

BotsArtificial IntelligenceCustomer ServiceIT Service Management

What it does

When someone runs the ServiceNow create incident command in Slack, this automation searches ServiceNow for a user matching that person's email. It creates the incident with that user as the opener and notifies the channel of the result.

Who it's for

IT teams who need to open a ServiceNow incident from Slack without leaving the conversation.

How teams use this

Open an incident without leaving Slack

Create a ServiceNow incident from a Slack conversation using the command, and get confirmation back in the thread. The team stays in the conversation and does not need to open ServiceNow.

Route incidents from a support channel

Invite this automation to a customer support channel so incidents can be created from incoming requests. The flow stays the same and only the channel changes.

Add priority and category to new incidents

Extend the command to include prompts for priority level and incident category so the ServiceNow record is created with those fields set. Only the command prompts need to be added.

Filter incidents by urgency before creation

Add a condition that checks the incident severity and only creates the ServiceNow record if the priority meets a threshold. This ensures only critical incidents are logged automatically.

How it works

  1. Run the create incident command. Type the ServiceNow create incident command in a Slack channel or direct message with the incident details.
  2. Search for the user in ServiceNow. Search the ServiceNow user table for a record matching the Slack user's email address so the incident opener is identified.
  3. Create the incident record. Create a new incident in ServiceNow with the matched user as the person who opened it and include the details from Slack.
  4. Confirm the incident in Slack. Reply in the same Slack conversation so the channel knows the ServiceNow incident was created and ask if someone wants to escalate it to Jira.