List recent ServiceNow incidents in Slack using pop up modal
Ready for 3.0What this workflow does
This workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects ServiceNow and Slack. It also calls slack.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Parse Webhook (Edit Fields (Set)): sets 1 field: response
- Route Message (Switch): routes items into 3 branches
- Respond to Slack Webhook (Respond to Webhook): sends the response back to the webhook caller
- Close Modal Popup (Respond to Webhook): sends the response back to the webhook caller
- Send (Respond to Webhook): sends the response back to the webhook caller
- ServiceNow Modal (HTTP Request): calls slack.com (POST)
- ServiceNow: get many (incident)
- Were Incidents Found? (If): checks a condition and branches into true / false
- Sort: sorts the items
- No Matches - Was a Channel Selected? (If): checks a condition and branches into true / false
…plus 10 more steps. See the full node list below.
Services it uses
HTTP calls to: slack.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (12)
- Edit Fields (Set)
n8n-nodes-base.set - Respond to Webhook
n8n-nodes-base.respondToWebhook - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Webhook
n8n-nodes-base.webhook - ServiceNow
n8n-nodes-base.serviceNow - Slack
n8n-nodes-base.slack - If
n8n-nodes-base.if - Sort
n8n-nodes-base.sort - Limit
n8n-nodes-base.limit - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Summarize
n8n-nodes-base.summarize
From the author
Who is this for? This workflow is designed for IT teams, service desk personnel, and incident management professionals who need a streamlined way to monitor and report on recent ServiceNow incidents directly within Slack. What problem is this workflow…