Send ServiceNow ticket details to Slack

BotsCustomer ServiceIT Service ManagementCollaborationRecipe Tools

What it does

When someone runs the ServiceNow show ticket command in Slack, this automation searches ServiceNow for that ticket. It retrieves the assigned user and posts the full details back to the channel so everyone has the information.

Who it's for

IT and Operations teams who need to view ServiceNow ticket details from Slack without leaving the conversation.

How teams use this

Check ticket status from Slack

Run the show ticket command with a ticket number and get the full details posted to the channel. The team stays in Slack and does not need to open ServiceNow.

Route tickets to the right channel

Use this automation in a dedicated ServiceNow channel so all ticket lookups are logged in one place. The command and flow stay the same and only the channel context changes.

Include ticket priority in the message

Add a priority field to the ServiceNow search so the posted message includes priority level along with the ticket details. The automation needs only that extra field mapped.

Filter tickets by status before posting

Set a condition to only post tickets with a specific status so resolved or closed tickets do not clutter the channel. Check the status field and post only open or in-progress records.

How it works

  1. Request the ticket details. Type the ServiceNow show ticket command with a ticket number in a Slack channel or direct message.
  2. Find the ticket in ServiceNow. Search the pm_project_task table in ServiceNow for a record matching that ticket number so the correct ticket is retrieved.
  3. Look up the assigned user. Search the sys_user table in ServiceNow to find the person assigned to the ticket by matching their email address.
  4. Post the ticket to Slack. Reply in the same Slack conversation with the ticket details and assigned user information so the channel has full visibility.