Send ServiceNow incident details to Slack

BotsArtificial IntelligenceSales EnablementCustomer ServiceIT Service ManagementRecipe Tools

What it does

When someone runs the ServiceNow show incident command in Slack, this automation looks up that incident number. It replies with the incident details, or says so when the number does not match.

Who it's for

IT teams who need ServiceNow incident details in Slack without opening the ticket.

How teams use this

Check an incident from the on-call channel

Look up the incident number in Slack so the on-call team sees the details without opening ServiceNow. Nothing else has to change for the team to use it.

Give support the ticket behind a mention

Invite the bot to the support channel so an incident number in the thread returns the ServiceNow details. The flow stays the same and only the channel changes.

Brief leaders on a major incident

Run the command in a leadership channel when a major incident is underway, so they see the current details in the thread.

Include the latest work note

Add the most recent ServiceNow work note to the reply so the channel sees what changed, not only the incident fields. That is the only extra piece this setup needs.

How it works

  1. Ask for an incident number. Type the ServiceNow show incident command with the incident number in a Slack channel or direct message.
  2. Search incidents by number. Search the ServiceNow incident table for that number so the reply uses the live ticket.
  3. Post the incident details. If the incident is found, reply in Slack with its details and a link back to the record in ServiceNow.
  4. Reply when it is not found. If ServiceNow returns no incident, reply in Slack to say the number did not match, so it can be checked and tried again.