Automate ServiceNow Incident Alerts to Slack with n8n

This n8n workflow monitors new incidents in ServiceNow every 5 minutes and automatically posts detailed alerts to a Slack channel. It helps IT teams respond faster to incidents by eliminating manual monitoring and ensuring timely notifications.
serviceNow
slack
scheduleTrigger
+6
Workflow Identifier: 2296
NODES in Use: Manual Trigger, Schedule Trigger, Date & Time, ServiceNow, If, Sort, Slack, No Operation, Sticky Note
Automate ServiceNow alerts with n8n and Slack

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow in n8n checks for new ServiceNow incidents every 5 minutes.
It finds only recently created incidents and sends details to a Slack channel.
This helps stop missing important alerts and speeds up incident fixing.

The workflow saves time and makes sure teams see new issues fast.
It sends incident data like ID, description, severity, and a button to open the incident in ServiceNow.

If there is a problem connecting to ServiceNow, it alerts the team in Slack immediately.
Overall, the workflow removes the need for manual checking and helps respond faster.


Tools and Services Used

  • n8n: Platform to build and run the workflow.
  • ServiceNow API: Provides incident data with basic authentication.
  • Slack API: Posts messages into Slack channels via a Bot user.
  • Self-host n8n (optional): For control over the workflow server, see self-host n8n.

Inputs, Processing, and Outputs

Inputs

  • ServiceNow API credentials with access to incidents.
  • Slack Bot API token with chat permissions.

Processing Steps

  • Schedule Trigger runs every 5 minutes.
  • Date & Time node calculates time 5 minutes ago in UTC.
  • ServiceNow node fetches incidents created after the calculated time.
  • If node checks if new incidents exist.
  • Sort node orders incidents by their number ascending.
  • Slack node sends formatted incident details and a view button to the Slack channel.
  • NoOp node ends workflow gracefully if no incidents are found.
  • Slack node sends error alerts if ServiceNow connection fails.

Output

New incident alerts with all key information in Slack.
Error messages to Slack if connection fails.
Workflow stops quietly if no new incidents.


Beginner Step-by-Step: How to Use This Workflow in n8n

Importing the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open n8n editor where you want to use the workflow.
  3. Click on the menu and choose “Import from File.”
  4. Select the downloaded workflow file to import it.

Configuring Credentials and Settings

  1. Add your ServiceNow API credentials (basic authentication) in n8n’s credential manager.
  2. Add your Slack Bot API token with the needed permissions.
  3. Update any specific IDs such as Slack channel name or ServiceNow instance URL if needed.

Testing and Activating

  1. Run the workflow manually once in n8n to check it fetches incidents and posts to Slack correctly.
  2. Make sure the Slack message looks right and the View Incident button works.
  3. Fix any errors shown in logs before proceeding.
  4. Activate the Schedule Trigger node to run the workflow every 5 minutes automatically.

This is all you do to get the workflow running in production.
No coding or deep setup needed beyond these steps.


Common Issues and How to Fix Them

No incidents found but recent issues exist

Check if the Date & Time node outputs the correct UTC timestamp.
Verify the ServiceNow query uses sys_created_on>={{$json.queryDate}} exactly.

Slack messages don’t appear

Make sure the Slack Bot token has permission to post in the chosen channel.
Confirm the channel ID or name is correct and the bot is added to the channel.

Workflow stops on ServiceNow errors

Enable “Continue On Fail” on the ServiceNow node to avoid full stop.
This routes errors to the Slack error alert node instead.

Time zone issues

Always use UTC time for date calculations in this workflow.
Avoid local time to prevent missing or duplicated incidents.


Customization Ideas

  • Change the running interval in the Schedule Trigger node to 1, 10, or 15 minutes based on incident volume.
  • Add more fields in the Slack message like assignment group or resolution notes by editing Slack Block JSON.
  • Send notifications to multiple Slack channels by duplicating the Slack node and changing the target channel.
  • Filter for only high priority or critical incidents by adding an If node after the ServiceNow fetch node.

Summary

✓ Automatically checks ServiceNow every 5 minutes for new incidents.
✓ Sends detailed incident alerts to Slack channels.
✓ Removes manual effort and reduces chance of missing new issues.
✓ Notifies team quickly for faster incident handling.
✓ Error alerts in Slack for connection problems.
✓ Easy to import, configure, and run in n8n without coding.


Automate ServiceNow alerts with n8n and Slack

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow uses a timestamp calculated 5 minutes before running to filter incidents created after that time.
The Slack Bot needs chat:write permission and must be a member of the channel where it posts messages.
Enable ‘Continue On Fail’ in the ServiceNow node to let the workflow send error alerts instead of stopping.
Yes, the workflow can run on self-host n8n instances, which provides control over the server environment.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.