Log incidents from Teams to ServiceNow
Customer ServiceIT Service Management
What it does
When someone runs the cslh_demo command in Teams, this automation checks if the category and short description are present. If both fields exist, it creates an incident in ServiceNow and confirms the result in Teams.
Who it's for
IT teams who need to log incidents from Teams without switching to ServiceNow.
How teams use this
Log an incident without leaving Teams
Run the command with category and description, and get confirmation that the incident was created in ServiceNow. The team stays in the conversation and does not need to open ServiceNow.
Route incidents by category
Use the category field to assign incidents to different ServiceNow queues so the right team sees each report. Only the routing logic changes, not the command itself.
Add priority and impact fields
Include priority and impact prompts in the command so the incident is created with those details in ServiceNow. The automation collects and sends only the extra fields needed.
Escalate high priority incidents
Check the priority field and notify a manager in Teams when an incident is marked critical. This ensures urgent issues get immediate attention from leadership.
How it works
- Run the incident logging command. Type the cslh_demo command in Teams with the incident category and short description.
- Check if required fields exist. Verify that both category and short description are filled in. If either is missing, post a message in Teams to collect the information.
- Retrieve someone's email address. Get the email address of the person who ran the command so ServiceNow knows who reported the incident.
- Create the incident record. Add a new incident to the Incident table in ServiceNow with the category, short description, and reporter email from the Teams command.
- Confirm the incident was logged. Reply in Teams so the channel knows the incident was created in ServiceNow and the process is complete.