ServiceNow incident notifications to Slack workflow
Who is this for? This workflow is ideal for IT operations teams or system administrators who use ServiceNow to track incidents and Slack for team communicati...
🔌 Nodes & Integrations Used (4)
📖 Implementation & Setup Guide
Who is this for?
This workflow is ideal for IT operations teams or system administrators who use ServiceNow to track incidents and Slack for team communication. It provides real-time updates on new ServiceNow incidents directly in a designated Slack channel, ensuring timely response and collaboration.
What problem is this workflow solving? / Use case
Manually monitoring ServiceNow for new incidents can be time-consuming and prone to delays. This workflow automates the process, ensuring that team members are instantly notified of new incidents, complete with all relevant details, in a Slack channel. It enhances operational efficiency and incident response time.
What this workflow does
- **Schedule or Manual Trigger**: The workflow can be triggered manually or set to run automatically every 5 minutes.
- **Retrieve New Incidents**: Fetches incidents created in ServiceNow within the last 5 minutes.
- **Error Handling**: Posts an error message in Slack if there are issues connecting to ServiceNow.
- **Incident Processing**:
- - If new incidents are found, they are sorted in ascending order by their number.
- - Detailed incident information is formatted and sent to a specified Slack channel.
- **No Incidents**: If no new incidents are found, the workflow does nothing.
Setup
- **ServiceNow API Credentials**: Configure ServiceNow Basic Authentication in the workflow to connect to your ServiceNow instance.
- **Slack API Credentials**: Add your Slack API credentials to enable message posting.
- **Slack Channel Configuration**:
- - Define the Slack channel where notifications should be sent.
- - Ensure the channel ID is correctly set in the Slack node.
- **Adjust the Schedule**: Modify the schedule in the `Schedule Trigger` node to suit your requirements.
How to customize this workflow to your needs
- **Notification Format**:
- - Customize the Slack message format to include additional or fewer details.
- - Update the `Blocks` section in the Slack node for personalized messages.
- **Incident Query Parameters**:
- - Adjust the `sysparm_query` parameter in the ServiceNow node to filter incidents based on specific criteria.
- **Error Handling**:
- - Modify the error message in the Slack node for more detailed troubleshooting information.
Features
- **Real-Time Notifications**: Immediate updates on new ServiceNow incidents.
- **Error Handling**: Alerts in Slack if the workflow encounters issues connecting to ServiceNow.
- **Customizable Notifications**: Flexibility to modify incident details sent to Slack.
This workflow streamlines incident management and fosters collaboration by delivering actionable updates directly to your team.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
ServiceNow incident notifications to Slack workflow.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related Messaging & Chat Workflows
View All in Messaging & Chat →Add a bug to Linear via Slack command
Use Case When building a product it's important to discover and eliminate bugs as quickly as possible. Since we're using our product at n8n a lot, we wanted ...
AI Children s Storytelling on Telegram
Production-ready n8n automation template for AI Children s Storytelling on Telegram built by AhiXLight. Seamlessly connects Lm Chat Open Ai, Chain Summarization, Text Splitter Recursive Character Text Splitter with 14 configured nodes.
AI Event Banner Generator with BannerBear
Production-ready n8n automation template for AI Event Banner Generator with BannerBear built by AhiXLight. Seamlessly connects Form Trigger, HTTP Request, Bannerbear with 16 configured nodes.
AI Event Banner Generator with n8n
Production-ready n8n automation template for AI Event Banner Generator with n8n built by AhiXLight. Seamlessly connects Form Trigger, HTTP Request, Bannerbear with 16 configured nodes.