Real-time Monitoring of New ServiceNow Tickets with Slack Notifications

This workflow implements real-time monitoring of newly created tickets in the ServiceNow system. It automatically retrieves the most recently created tickets every 5 minutes, organizes their details, and pushes them to a designated Slack channel. Additionally, if any exceptions occur during the connection process, error notifications will be sent promptly to enable the operations team to respond quickly. This process effectively enhances ticket handling efficiency, ensures that critical events are not overlooked, and improves collaboration and information flow among teams.

Tags

ServiceNow MonitoringSlack Notifications

Workflow Name

Real-time Monitoring of New ServiceNow Tickets with Slack Notifications

Key Features and Highlights

This workflow enables real-time monitoring of newly created tickets in the ServiceNow system. It automatically fetches tickets created within the last 5 minutes every 5 minutes, sorts the ticket details in ascending order by ticket number, and pushes the information to a designated Slack channel. The workflow also includes exception monitoring; if an error occurs while connecting to ServiceNow, it immediately sends an error notification to alert the operations team for prompt response.

Core Problems Addressed

  • Real-time tracking of new ServiceNow tickets to avoid missing critical events.
  • Automatic delivery of key ticket information to the team, enhancing response speed and collaboration efficiency.
  • Timely detection and feedback of connection issues with ServiceNow to ensure stable operation of the monitoring system.

Use Cases

  • IT operations teams monitoring ServiceNow tickets to quickly grasp new incidents and requests.
  • Customer service or support teams promptly receiving user issue reports to improve service response times.
  • Enterprise-wide multi-channel alert integration to prevent information delays or omissions.

Main Process Steps

  1. Scheduled Trigger: The workflow automatically initiates every 5 minutes.
  2. Time Calculation: Calculate the timestamp for 5 minutes prior to the current time.
  3. Ticket Query: Use the timestamp as a filter to call the ServiceNow API and retrieve all tickets created within the last 5 minutes.
  4. New Ticket Check: Determine whether any new ticket data has been returned.
  5. No New Ticket Handling: If no new tickets are found, terminate the workflow without further action.
  6. Ticket Sorting: Sort the retrieved tickets in ascending order by ticket number to ensure orderly presentation.
  7. Notification Push: Format the ticket details (ticket ID, description, severity, requester, priority, status, category, opened time, etc.) and send them to the specified Slack channel, including a “View Ticket” link.
  8. Error Handling: If connection to ServiceNow fails (e.g., due to expired authentication), automatically send an error alert to Slack to prompt the team for investigation.

Involved Systems or Services

  • ServiceNow: Ticket management system providing incident data.
  • Slack: Team communication channel for pushing ticket details and error alerts.
  • n8n: Automation platform enabling scheduling, data processing, and integration.

Target Users and Value

  • IT Operations Managers: Gain real-time visibility into system events for rapid incident response.
  • Technical Support Teams: Improve ticket handling efficiency and optimize customer service experience.
  • Enterprise Management: Obtain timely operational insights to support decision-making.
  • Automation Engineers: Quickly build stable monitoring and notification workflows using a low-code platform.

By automating seamless integration between ServiceNow and Slack, this workflow significantly enhances the timeliness of ticket monitoring and team collaboration efficiency, making it an ideal solution for enterprise digital operations and intelligent alerting.

Recommend Templates

Send Daily Weather Updates via Message Using the Gotify Node

This workflow automatically retrieves weather data for Berlin every day and sends instant push notifications via the Gotify service, helping users quickly stay updated on the latest weather conditions. Users do not need to check manually, which enhances the efficiency of planning for both personal and professional activities, such as travel planning and event organization. By utilizing scheduled triggers and real-time notifications, it ensures that users receive timely information about weather changes, thereby improving the accuracy and safety of their plans.

Weather AlertAuto Reminder

Slack Webhook - Verify Signature

This workflow is designed to verify the message signatures from Slack Webhooks, ensuring the authenticity of the message source and preventing malicious requests and data tampering. By implementing a signature verification mechanism using the HMAC SHA256 algorithm, users can enhance security in automated processes integrated with Slack, avoiding phishing and forgery attacks. It is suitable for enterprise security teams and developers, simplifying the security protection of automated systems and ensuring the credibility of Webhook data.

Slack Signature VerificationWebhook Security

Qualys Create Report Workflow (Qualys Security Scan Report Automated Generation Workflow)

This workflow achieves the fully automated generation and sharing of security scan reports. Triggered by Slack, it automatically retrieves the report template and initiates the generation process, regularly checking the status. Finally, it downloads the report and uploads it to the designated Slack channel. This process significantly reduces manual operations and operational burdens, ensuring that the security operations center can timely access the latest security reports, enhancing team collaboration and response efficiency, while simplifying compliance management.

Qualys AutomationSecurity Report

Send File to Kindle through Telegram Bot

This workflow receives files sent by users via a Telegram bot and automatically sends them to a Kindle device, streamlining the file transfer process. Users only need to send the files without the need for manual downloading or forwarding; the system handles everything automatically, enhancing efficiency and convenience. It is suitable for users who wish to quickly upload eBooks or documents to their Kindle, addressing the cumbersome issues of traditional transfer methods and making the digital reading experience smoother.

Telegram BotKindle Transfer

Prevent Concurrent Workflow Runs Using Redis

This workflow effectively prevents concurrent execution of the same workflow by utilizing Redis for state management, avoiding resource conflicts and data inconsistencies. It supports setting, getting, and deleting state markers, ensuring that only one instance is running at any given time, and provides a timeout mechanism to automatically release the locked state, thereby enhancing the system's stability and reliability. It is suitable for scenarios that require strict control over workflow execution, such as automated task management and status tracking of complex processes.

Workflow ConcurrencyRedis Lock Management

Analyze_Crowdstrike_Detections__search_for_IOCs_in_VirusTotal__create_a_ticket_in_Jira_and_post_a_message_in_Slack

This workflow is designed to automate the response to security incidents by periodically retrieving threat detection data from CrowdStrike, analyzing it item by item, and querying VirusTotal for enhanced intelligence. It automatically creates Jira tickets to standardize security incident management and promptly notifies the security team via Slack, ensuring efficient response and handling. The overall process optimizes the analysis of detection data, reduces manual operations, and improves the speed and accuracy of threat identification and resolution, making it suitable for the automation needs of security operations centers and enterprise environments.

Security AutomationCrowdStrike Integration

Upload a File and Retrieve a List of All Files in a Bucket

This workflow automates the process of downloading files from web requests, uploading them to a specified Amazon S3 bucket, and retrieving a list of all files within that bucket. By streamlining file upload and management operations, users can efficiently handle files, reduce manual intervention and error rates. It is suitable for scenarios such as cloud storage management, regular file synchronization, and real-time monitoring of storage content, thereby enhancing enterprise work efficiency.

File UploadS3 Storage

Google Calendar to Slack Status & Philips Hue

This workflow automatically syncs the meeting status from Google Calendar to the Slack user status and intelligently controls the Philips Hue lighting system to reflect team members' availability in real time. By utilizing the color coding of calendar events, it flexibly adjusts Slack statuses and lighting modes to enhance communication efficiency in the office. It is suitable for remote and hybrid work scenarios, helping to optimize resource usage and reduce distractions, while also improving personal time management and creating a more intelligent work environment.

Calendar SyncSmart Lighting