Send last 5 ServiceNow incidents to Slack

BotsCustomer ServiceIT Service ManagementRecipe Tools

What it does

When someone runs the ServiceNow List Incidents command in Slack, this automation searches ServiceNow for incidents filed by that person. It sends the five most recent incidents back to the channel so they can see their open requests.

Who it's for

IT teams who need to check their ServiceNow incidents without leaving Slack.

How teams use this

Check open incidents from Slack

Run the ServiceNow List Incidents command to see the five most recent incidents you filed without switching to ServiceNow. The results appear in the same thread.

Help someone find their tickets

Invite the bot to a support channel so team members can look up their own incidents during a conversation. The flow works the same way for any person in the channel.

Show only high-priority incidents

Add a condition to filter the results and only display incidents with a priority level set to high or critical. That narrows the list to the most urgent requests.

How it works

  1. Run the incident list command. Type the ServiceNow List Incidents command in a Slack channel or direct message to retrieve open incidents.
  2. Find someone in ServiceNow. Search the ServiceNow User table using the Slack email address to confirm the person has a ServiceNow account set up.
  3. Fetch the five recent incidents. Search the ServiceNow Incident table for records opened by that person, ordered by most recent first, and retrieve details.
  4. Send incidents to Slack. Reply in the same Slack conversation with the list of five incidents so the person can see their open requests at a glance.