ManualTrigger Automate

For the ManualTrigger Automate on n8n, this workflow runs every 5 minutes to automatically fetch and sort new incidents from ServiceNow, posting detailed notifications to a designated Slack channel. It ensures timely communication of incident updates, enhancing team collaboration and response efficiency. If no new incidents are found, the workflow does nothing, minimizing unnecessary alerts. In case of connection issues with ServiceNow, it promptly notifies the team via Slack, ensuring quick troubleshooting and maintaining workflow reliability.

7/8/2025
14 nodes
Medium
schedulemediumschedule triggerservicenowslacknoopsticky noteautomationadvancedcronlogicconditionalcommunicationnotification
Categories:
Communication & MessagingSchedule TriggeredMedium Workflow
Integrations:
Schedule TriggerServiceNowSlackNoOpSticky Note

Target Audience

IT Support Teams: This workflow is ideal for IT support teams that need to monitor incidents in real-time. It streamlines the process of tracking new incidents created in ServiceNow, ensuring that teams are promptly notified.
Service Desk Managers: Managers can use this workflow to enhance incident management efficiency, ensuring timely responses to new issues.
Automation Enthusiasts: Individuals interested in automating repetitive tasks will find this workflow beneficial for reducing manual monitoring efforts.

Problem Solved

This workflow addresses the challenge of manually tracking new incidents in ServiceNow. By automating the retrieval and notification process, it ensures that support teams are immediately informed of new incidents, allowing for quicker resolution times. The integration with Slack enhances communication, ensuring that all relevant team members stay informed without needing to check ServiceNow frequently.

Workflow Steps

  • Schedule Trigger: The workflow is set to run automatically every 5 minutes, ensuring consistent monitoring.
    2. Get 5 Minute Ago Timestamp: It calculates the timestamp for 5 minutes ago, which serves as a reference for fetching new incidents.
    3. Get Incidents from ServiceNow: The workflow queries ServiceNow for incidents created after the calculated timestamp.
    4. Check if New Incidents: It evaluates whether any new incidents were found. If none are found, the workflow takes no further action.
    5. Sort Incidents: If new incidents exist, they are sorted in ascending order by their incident number for organized processing.
    6. Post Incident Details to Slack Channel: The sorted incident details are formatted and sent to a designated Slack channel, including key information such as incident ID, description, severity, and a link to view the incident.
    7. Error Handling: If there is an error connecting to ServiceNow, a predefined error message is sent to Slack, alerting the team to investigate the issue.
  • Customization Guide

    Users can customize this workflow in several ways:
    - Adjust the Schedule: Modify the schedule trigger to run at different intervals, such as every 10 minutes or hourly, depending on the monitoring needs.
    - Change Notification Channel: Update the Slack channel ID in the Post Incident Details to Slack Channel node to direct notifications to a different channel.
    - Modify Incident Filters: Alter the query parameters in the Get Incidents from ServiceNow node to filter incidents based on different criteria, such as priority or category.
    - Enhance Slack Messages: Customize the message format in the Slack nodes to include additional incident details or change the layout to suit team preferences.

    ManualTrigger Automate - N8N Workflow Directory