Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Alerts & Notifications

Alerts & Notifications

Post New ServiceNow Incidents to Slack

Every five minutes, new incidents are fetched from ServiceNow and their details are posted to Slack, or an error message if the query fails.

What it does

## Sorting and Posting Incident Details to Slack This section begins with the Sort Incidents in Ascending Order node, which organizes the retrieved ServiceNow incidents by their incident number in ascending order. This ensures that incidents are processed and displayed in a logical sequence. The sorted incidents are then passed to the Post Incident Details to Slack Channel node, which formats and sends a detailed message to a designated Slack channel. The message includes key information such as the incident ID, description, severity, caller, priority, state, category, and the date the incident was opened. A "View Incident" button is also provided, linking directly to the ServiceNow record for quick access. This section ensures clear, organized communication of incident details, enabling efficient team collaboration and resolution.

The steps

  1. When clicking ‘Test workflow’
  2. Run Every 5 Minutes
  3. Get 5 Minute Ago Timestamp
  4. Get Incidents from ServiceNow
  5. Check if New Incidents
  6. Post Error Message if Error with ServiceNow
  7. Sort Incidents in Ascending Order
  8. Post Incident Details to Slack Channel
  9. No Incidents, Do Nothing

Similar automations