Notify Slack when ServiceNow assigns incident task to group

Customer ServiceIT Service ManagementRecipe ToolsBots

What it does

When an incident task is assigned to a group in ServiceNow, this automation finds the group's Slack channel and notifies members. Someone in that channel sees who got the task and can act on it right away.

Who it's for

IT teams who need incident task assignments from ServiceNow to reach the right Slack channel instantly.

Apps used

How teams use this

Route incident tasks to the right team

When ServiceNow assigns an incident task to a support group, the team's Slack channel gets a notification with task details and member names. No one has to check ServiceNow to know they have work.

Escalate tasks to a different group

Point this automation at a different ServiceNow group so escalated incident tasks go to a senior team's Slack channel instead. The flow and message format stay the same.

Include task priority and due date

Add fields from the incident task record so the Slack message shows priority level and due date alongside the assignment. That gives the team context to prioritize their work.

Notify on-call engineers of urgent tasks

Set a condition to filter only high-priority incident tasks and send those to an on-call channel in Slack. Engineering teams get alerts only for work that needs immediate attention.

How it works

  1. Detect incident task assigned to group. A new record is inserted into the Workato Triggers table in ServiceNow when an incident task is assigned to a group in real time.
  2. Get group and Slack channel. Search the sys_user_group table in ServiceNow to retrieve the group record and find the linked Slack channel identifier for that group.
  3. Retrieve group members from ServiceNow. Search the sys_user_grmember and User tables in ServiceNow to get the names and details of everyone in that group so they can be notified.
  4. Post assignment to Slack channel. Send a message to the group's Slack channel with the incident task details and the list of assigned members so they see it immediately.