Get Started
Screenshot of n8n workflow
FREE TEMPLATE
Automate ServiceNow to Slack Incident Alerts
4
Views
0
Downloads
14
Nodes
Download Template
Free
Preview Template
Utility Rating
7 / 10
Business Function
IT
Automation Orchestrator
n8n
Integrations
Slack
ServiceNow
Trigger Type
Approx setup time ≈ 35 min
Need help setting up this template?
Ask in our free Futurise community
About
Community
Courses
Events
Members
Templates

How to Automate ServiceNow to Slack Incident Alerts?

Leon Petrou
FREE TEMPLATE
Automate ServiceNow to Slack Incident Alerts
4
Views
0
Downloads
14
Nodes
Download Template
Free
Preview Template
Utility Rating
7 / 10
Business Function
IT
Automation Orchestrator
n8n
Integrations
Slack
ServiceNow
Trigger Type
Approximate setup time ≈ 35 minutes
Need help setting up this template?
Ask in our free Futurise community

Description

Keep your team on top of new tickets without watching dashboards. Every five minutes, new ServiceNow incidents are checked and posted to a Slack channel so people can act fast. Ideal for IT support and operations teams that work in Slack all day.

A schedule trigger runs on a five minute loop, and a manual trigger helps with safe testing. The flow calculates a timestamp from five minutes ago in UTC, queries ServiceNow for incidents created after that time, and checks if any records exist. When records are found, they are sorted by incident number and sent to Slack as a rich message with the ID, description, severity, caller, priority, state, category, open date, and a direct link to the record. If nothing is new, the path ends quietly. If ServiceNow cannot be reached, a clear error message posts to Slack so credentials can be fixed quickly.

Setup is simple. You need a ServiceNow account with access to the incident table and a Slack app that can post to the chosen channel. Expect faster triage, fewer missed tickets, and less context switching because updates arrive where people already work. Most teams see response times drop as alerts appear quickly with all the key details.

Copy link

Tools Required

What this workflow does?

  • Runs on a five minute schedule to look for new incidents
  • Manual test trigger lets you validate changes without waiting
  • Calculates a UTC timestamp from five minutes ago for accurate time windows
  • Queries the ServiceNow incident table using a created after filter and returns display values
  • Checks for the presence of a system ID to confirm new records
  • Sorts incidents by incident number in ascending order for clear reading
  • Sends a Slack block message with key fields and a direct link to the ServiceNow record
  • Posts a Slack error alert if the ServiceNow connection fails
  • Quiet no action path when no new incidents are found

What are the benefits?

  • Reduce manual checks from hourly sweeps to an automated five minute cadence
  • Cut triage time by up to 50 percent with key fields and direct links in Slack
  • Eliminate 100 percent of copy paste steps for incident updates
  • Connect ServiceNow and Slack so teams act in one place
  • Handle higher ticket volume without adding extra manual work

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with ServiceNow and Slack. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create a ServiceNow Basic Auth credential using your instance URL, username, and password. The user must have read access to the incident table.
  4. Open the ServiceNow node. Select your ServiceNow credential. Set Resource to incident and Operation to getAll. In Options, keep the query that filters by sys_created_on greater than the queryDate and enable display values. Click Execute Node to confirm it returns records.
  5. Double click a Slack node. In the Credential dropdown, click Create new credential and follow the on screen steps to connect your Slack workspace. Ensure the app has permission to post messages and is invited to your target channel.
  6. In both Slack nodes, choose the channel where notifications should post. Send a test message to confirm the app can post to that channel.
  7. Open the Schedule Trigger node and set it to run every five minutes. Save the workflow.
  8. Open the DateTime node. Set operation to subtract from date, base time to now in UTC, amount to 5, unit to minutes, and output field name to queryDate.
  9. Check the If node condition so it verifies that the sys_id field exists. Run a test to make sure it routes correctly when records are returned.
  10. In the Sort node, sort by the number field in ascending order to keep incidents in a clear sequence.
  11. Customize the Slack message blocks if needed. Keep the incident link so responders can open the record with one click.
  12. Create a test incident in ServiceNow and trigger the workflow manually. Confirm that a formatted alert arrives in Slack when the incident was created within the last five minutes.
  13. Troubleshoot common issues: if a Slack error alert says ServiceNow failed, refresh or fix the ServiceNow credential. If no alerts arrive, check channel permissions, confirm the app is added to the channel, and verify time zone settings match UTC.

Need help or want to customize this?

Similar Templates

n8n
IT
Automate Slack ServiceNow Incident Lookup
Give your team a fast way to check ticket details without leaving chat. Type a slash command in Slack with an incident ID and get clear results right away. Ideal for IT support, on call teams, and busy service desks. Here is how it runs end to end. A Webhook node receives the Slack request. A Set node pulls the incident ID from the text field. The ServiceNow node searches the incident table using the number provided and returns display values. A Switch node checks the result and sends one of three replies. If found, the response shares key incident details back to Slack using a JSON block. If not found, the reply explains the ID is invalid. If ServiceNow fails, users see a clear error message. This cuts context switching and speeds up triage. To put it in place, you need a Slack slash command and a ServiceNow account with basic auth. Point the Slack command to the n8n Webhook URL and connect the ServiceNow node with your credentials. Teams can expect faster answers in channels and less time spent hunting in multiple tabs. Great for NOC rooms, war rooms, and help desk channels during busy hours.
10 views
view
n8n
IT
Streamline Slack ServiceNow Incident Search
Teams can search ServiceNow incidents directly from Slack and share results in a channel or a direct message. Users choose state and priority in a simple Slack modal and get the top five recent matches. This fits daily triage, status checks, and quick updates. An n8n webhook receives Slack events and parses the payload. The flow routes the event to open the modal, handle a submission, or respond to a button press with a quick 200 reply. After a submission, the modal closes and n8n queries ServiceNow for incidents that match the chosen state and priority. Results are sorted by most recent, limited to five, formatted for Slack blocks, combined into one message, and posted to the chosen channel or sent as a DM. If nothing matches, a clear notice goes out to the channel or user. Setup needs a Slack app with rights to open modals and post messages, and a ServiceNow account with read access to the incident table. Expect faster triage, less context switching, and fewer copy paste errors. It works well for IT support teams, on call rotations, and managers who need quick checks in standups.
7 views
view
See More Templates

These templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution.Where an original author was identified, attribution has been provided. Some templates did not include author information. If you know who created this template, please let us know so we can add the appropriate credit and reference link. If you are the author and would like this template removed from the library, email us at info@futurise.com and we will remove it promptly.