Send recent ServiceNow incidents to Teams

Customer ServiceIT Service Management

What it does

When someone runs the list_recent_incidents command in Teams, this automation retrieves recent incidents from ServiceNow. It posts the incident details back in the conversation so the team sees what is happening.

Who it's for

IT teams who need to check recent incidents in ServiceNow without leaving Teams.

How teams use this

Check incidents during standup

Run the list_recent_incidents command in a Teams channel during a team standup to see what is open in ServiceNow. The team gets the full picture without opening ServiceNow.

Share incidents with customer support

Invite the bot to a customer support channel so the team can run the command and see recent incidents that may affect customers. This keeps support informed of backend issues.

Filter incidents by priority or status

Add a filter condition to the ServiceNow search so only high-priority or open incidents are listed. This requires setting up a condition in the incident search step.

Include assignment details in the list

Set the ServiceNow search to include the assigned team member and due date for each incident. This gives the team more context when reviewing incidents in Teams.

How it works

  1. Run the list incidents command. Type the list_recent_incidents command in a Teams channel or direct message to fetch incidents from ServiceNow.
  2. Fetch recent incidents. Search the Incident table in ServiceNow and retrieve the list of recent incidents with their details and status.
  3. Post incident details in Teams. Reply in the same Teams conversation with all recent incident details so the team can review them without switching apps.