Back to Catalog

List recent ServiceNow incidents in Slack using pop up modal

Angel MenendezAngel Menendez
1452 views
2/3/2026
Official Page

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 solving? / Use Case

Manually monitoring incidents in ServiceNow can be time-consuming, and keeping teams updated about new or specific incidents often involves additional manual effort. This workflow automates the process of querying recent incidents from ServiceNow based on user-defined parameters and delivering formatted results directly to Slack. It ensures faster response times and improved incident visibility.

What this workflow does

This workflow integrates Slack and ServiceNow to provide an automated system for retrieving and presenting incident details.

  1. Slack User Interaction: Users initiate the workflow via a Slack modal form, selecting incident parameters like priority and state.
  2. ServiceNow Query: The workflow queries ServiceNow for incidents matching the selected criteria.
  3. Results Delivery: Incident results are sent back to Slack as a message formatted using Block Kit. If no results are found, the workflow notifies the user with a detailed message, either in a Slack channel or via direct message.
  4. Error Handling: If no channel is selected or any issues arise, the workflow ensures graceful fallback with appropriate notifications.

Setup Instructions

  1. Slack Setup:
  2. ServiceNow Integration:
    • Use ServiceNow credentials to connect with n8n.
    • Ensure appropriate permissions for querying incidents.
  3. n8n Workflow Configuration:
    • Import this workflow into n8n.
    • Verify all node configurations, particularly those for ServiceNow API queries and Slack outputs.
    • Set up webhook URLs for Slack event handling.
  4. Testing:
    • Trigger the workflow from Slack to test modal inputs and incident queries.
    • Confirm the output is correctly formatted and delivered to the intended Slack channel or user.

How to Customize this Workflow to Your Needs

  • Modify the ServiceNow query logic to include additional filters or fields.
  • Adjust the Slack Block Kit formatting to match your organization’s preferred notification style.
  • Use conditional logic to add more advanced handling for specific priorities or states.
  • Expand the workflow to include escalation steps, such as notifying a specific team or creating follow-up tasks.

Workflow Highlights

  • Slack Modal Form: Allows users to specify search criteria for incidents interactively.
  • Dynamic Results Delivery: Automatically sends results to a Slack channel or direct message based on user input.
  • Error Handling: Provides fallback notifications when no incidents are found or user inputs are incomplete.
  • Customizable Integration: Easily adaptable to fit different organizational needs, including advanced filtering and formatting options.

n8n Workflow: List Recent ServiceNow Incidents in Slack Using Pop-up Modal

This n8n workflow provides a powerful way to interact with ServiceNow incidents directly from Slack, utilizing a pop-up modal for a rich user experience. It allows users to trigger a request for recent ServiceNow incidents and displays them in an organized, interactive format within Slack.

What it does

This workflow automates the following steps:

  1. Listens for a Slack Command: The workflow is triggered by a specific Slack slash command (e.g., /servicenow-incidents).
  2. Fetches Recent ServiceNow Incidents: It makes an API request to ServiceNow to retrieve a list of recent incidents.
  3. Filters and Prepares Data: The incident data is processed, potentially filtered, and formatted for display.
  4. Sorts Incidents: The incidents are sorted based on a defined criterion (e.g., creation date, priority).
  5. Limits Incident Count: Only a specified number of the most recent incidents are selected for display.
  6. Summarizes Incident Details: Key details for each incident are extracted and summarized.
  7. Checks for Incidents: It verifies if any incidents were found.
  8. Responds to Slack:
    • If Incidents Found: It constructs and sends a Slack pop-up modal containing the list of recent incidents.
    • If No Incidents Found: It sends a message to the user indicating that no recent incidents were found.

Prerequisites/Requirements

To use this workflow, you will need:

  • n8n Instance: A running n8n instance.
  • Slack Account: A Slack workspace where you can create a Slack App and configure a slash command.
  • ServiceNow Account: Access to a ServiceNow instance with API access enabled and appropriate permissions to query incidents.
  • ServiceNow Credentials: Configured ServiceNow credentials in n8n.
  • Slack Credentials: Configured Slack API credentials in n8n.

Setup/Usage

  1. Import the Workflow:
    • Copy the provided JSON code.
    • In your n8n instance, go to "Workflows" and click "New".
    • Click the "Import from JSON" button and paste the copied JSON.
  2. Configure Credentials:
    • ServiceNow Node (ID: 503): Select or create your ServiceNow API credentials. Ensure they have the necessary permissions to read incident records.
    • Slack Node (ID: 40): Select or create your Slack API credentials. These should have permissions to post messages and open modals.
  3. Configure Webhook Trigger (ID: 47):
    • The "Webhook" node acts as the entry point for your Slack slash command.
    • Copy the "Webhook URL" from this node.
  4. Configure Slack Slash Command:
    • In your Slack workspace, create a new Slack App or modify an existing one.
    • Go to "Slash Commands" and create a new command (e.g., /servicenow-incidents).
    • Set the "Request URL" to the Webhook URL you copied from the n8n Webhook node.
    • Ensure the "Method" is set to POST.
  5. Customize Workflow Logic:
    • HTTP Request (ID: 19): This node is currently named "HTTP Request" but based on the overall flow, it likely interacts with ServiceNow. You might need to adjust its URL, headers, and authentication to correctly fetch incidents from your ServiceNow instance. It's recommended to replace this with a dedicated ServiceNow node if you need more advanced querying or to ensure robust integration.
    • Edit Fields (Set) (ID: 38): Customize the fields you want to extract and rename from the ServiceNow incident data.
    • Loop Over Items (Split in Batches) (ID: 39): This node processes each incident.
    • Limit (ID: 1237): Adjust the number of incidents you want to display in the Slack modal.
    • Sort (ID: 1240): Define how you want to sort the incidents (e.g., by sys_created_on in descending order).
    • Summarize (ID: 1241): Refine how incident details are summarized for the modal.
    • If (ID: 20): This node checks if incidents were found. Review its condition if you modify the data structure.
    • Slack (ID: 40): Customize the message and modal content for both the "Incidents Found" and "No Incidents" branches. Ensure the trigger_id from the incoming Slack webhook is used to open the modal correctly.
    • Respond to Webhook (ID: 535): This node sends an immediate response to Slack to acknowledge the command, preventing a timeout.
  6. Activate the Workflow: Enable the workflow in n8n.

Now, when a user types your configured slash command (e.g., /servicenow-incidents) in Slack, the workflow will execute, fetch recent incidents, and display them in an interactive modal.

Related Templates

Auto-create TikTok videos with VEED.io AI avatars, ElevenLabs & GPT-4

💥 Viral TikTok Video Machine: Auto-Create Videos with Your AI Avatar --- 🎯 Who is this for? This workflow is for content creators, marketers, and agencies who want to use Veed.io’s AI avatar technology to produce short, engaging TikTok videos automatically. It’s ideal for creators who want to appear on camera without recording themselves, and for teams managing multiple brands who need to generate videos at scale. --- ⚙️ What problem this workflow solves Manually creating videos for TikTok can take hours — finding trends, writing scripts, recording, and editing. By combining Veed.io, ElevenLabs, and GPT-4, this workflow transforms a simple Telegram input into a ready-to-post TikTok video featuring your AI avatar powered by Veed.io — speaking naturally with your cloned voice. --- 🚀 What this workflow does This automation links Veed.io’s video-generation API with multiple AI tools: Analyzes TikTok trends via Perplexity AI Writes a 10-second viral script using GPT-4 Generates your voiceover via ElevenLabs Uses Veed.io (Fabric 1.0 via FAL.ai) to animate your avatar and sync the lips to the voice Creates an engaging caption + hashtags for TikTok virality Publishes the video automatically via Blotato TikTok API Logs all results to Google Sheets for tracking --- 🧩 Setup Telegram Bot Create your bot via @BotFather Configure it as the trigger for sending your photo and theme Connect Veed.io Create an account on Veed.io Get your FAL.ai API key (Veed Fabric 1.0 model) Use HTTPS image/audio URLs compatible with Veed Fabric Other APIs Add Perplexity, ElevenLabs, and Blotato TikTok keys Connect your Google Sheet for logging results --- 🛠️ How to customize this workflow Change your Avatar: Upload a new image through Telegram, and Veed.io will generate a new talking version automatically. Modify the Script Style: Adjust the GPT prompt for tone (educational, funny, storytelling). Adjust Voice Tone: Tweak ElevenLabs stability and similarity settings. Expand Platforms: Add Instagram, YouTube Shorts, or X (Twitter) posting nodes. Track Performance: Customize your Google Sheet to measure your most successful Veed.io-based videos. --- 🧠 Expected Outcome In just a few seconds after sending your photo and theme, this workflow — powered by Veed.io — creates a fully automated TikTok video featuring your AI avatar with natural lip-sync and voice. The result is a continuous stream of viral short videos, made without cameras, editing, or effort. --- ✅ Import the JSON file in n8n, add your API keys (including Veed.io via FAL.ai), and start generating viral TikTok videos starring your AI avatar today! 🎥 Watch This Tutorial --- 📄 Documentation: Notion Guide Need help customizing? Contact me for consulting and support : Linkedin / Youtube

Dr. FirasBy Dr. Firas
39510

Track competitor SEO keywords with Decodo + GPT-4.1-mini + Google Sheets

This workflow automates competitor keyword research using OpenAI LLM and Decodo for intelligent web scraping. Who this is for SEO specialists, content strategists, and growth marketers who want to automate keyword research and competitive intelligence. Marketing analysts managing multiple clients or websites who need consistent SEO tracking without manual data pulls. Agencies or automation engineers using Google Sheets as an SEO data dashboard for keyword monitoring and reporting. What problem this workflow solves Tracking competitor keywords manually is slow and inconsistent. Most SEO tools provide limited API access or lack contextual keyword analysis. This workflow solves that by: Automatically scraping any competitor’s webpage with Decodo. Using OpenAI GPT-4.1-mini to interpret keyword intent, density, and semantic focus. Storing structured keyword insights directly in Google Sheets for ongoing tracking and trend analysis. What this workflow does Trigger — Manually start the workflow or schedule it to run periodically. Input Setup — Define the website URL and target country (e.g., https://dev.to, france). Data Scraping (Decodo) — Fetch competitor web content and metadata. Keyword Analysis (OpenAI GPT-4.1-mini) Extract primary and secondary keywords. Identify focus topics and semantic entities. Generate a keyword density summary and SEO strength score. Recommend optimization and internal linking opportunities. Data Structuring — Clean and convert GPT output into JSON format. Data Storage (Google Sheets) — Append structured keyword data to a Google Sheet for long-term tracking. Setup Prerequisites If you are new to Decode, please signup on this link visit.decodo.com n8n account with workflow editor access Decodo API credentials OpenAI API key Google Sheets account connected via OAuth2 Make sure to install the Decodo Community node. Create a Google Sheet Add columns for: primarykeywords, seostrengthscore, keyworddensity_summary, etc. Share with your n8n Google account. Connect Credentials Add credentials for: Decodo API credentials - You need to register, login and obtain the Basic Authentication Token via Decodo Dashboard OpenAI API (for GPT-4o-mini) Google Sheets OAuth2 Configure Input Fields Edit the “Set Input Fields” node to set your target site and region. Run the Workflow Click Execute Workflow in n8n. View structured results in your connected Google Sheet. How to customize this workflow Track Multiple Competitors → Use a Google Sheet or CSV list of URLs; loop through them using the Split In Batches node. Add Language Detection → Add a Gemini or GPT node before keyword analysis to detect content language and adjust prompts. Enhance the SEO Report → Expand the GPT prompt to include backlink insights, metadata optimization, or readability checks. Integrate Visualization → Connect your Google Sheet to Looker Studio for SEO performance dashboards. Schedule Auto-Runs → Use the Cron Node to run weekly or monthly for competitor keyword refreshes. Summary This workflow automates competitor keyword research using: Decodo for intelligent web scraping OpenAI GPT-4.1-mini for keyword and SEO analysis Google Sheets for live tracking and reporting It’s a complete AI-powered SEO intelligence pipeline ideal for teams that want actionable insights on keyword gaps, optimization opportunities, and content focus trends, without relying on expensive SEO SaaS tools.

Ranjan DailataBy Ranjan Dailata
161

Two-way property repair management system with Google Sheets & Drive

This workflow automates the repair request process between tenants and building managers, keeping all updates organized in a single spreadsheet. It is composed of two coordinated workflows, as two separate triggers are required — one for new repair submissions and another for repair updates. A Unique Unit ID that corresponds to individual units is attributed to each request, and timestamps are used to coordinate repair updates with specific requests. General use cases include: Property managers who manage multiple buildings or units. Building owners looking to centralize tenant repair communication. Automation builders who want to learn multi-trigger workflow design in n8n. --- ⚙️ How It Works Workflow 1 – New Repair Requests Behind the Scenes: A tenant fills out a Google Form (“Repair Request Form”), which automatically adds a new row to a linked Google Sheet. Steps: Trigger: Google Sheets rowAdded – runs when a new form entry appears. Extract & Format: Collects all relevant form data (address, unit, urgency, contacts). Generate Unit ID: Creates a standardized identifier (e.g., BUILDING-UNIT) for tracking. Email Notification: Sends the building manager a formatted email summarizing the repair details and including a link to a Repair Update Form (which activates Workflow 2). --- Workflow 2 – Repair Updates Behind the Scenes:\ Triggered when the building manager submits a follow-up form (“Repair Update Form”). Steps: Lookup by UUID: Uses the Unit ID from Workflow 1 to find the existing row in the Google Sheet. Conditional Logic: If photos are uploaded: Saves each image to a Google Drive folder, renames files consistently, and adds URLs to the sheet. If no photos: Skips the upload step and processes textual updates only. Merge & Update: Combines new data with existing repair info in the same spreadsheet row — enabling a full repair history in one place. --- 🧩 Requirements Google Account (for Forms, Sheets, and Drive) Gmail/email node connected for sending notifications n8n credentials configured for Google API access --- ⚡ Setup Instructions (see more detail in workflow) Import both workflows into n8n, then copy one into a second workflow. Change manual trigger in workflow 2 to a n8n Form node. Connect Google credentials to all nodes. Update spreadsheet and folder IDs in the corresponding nodes. Customize email text, sender name, and form links for your organization. Test each workflow with a sample repair request and a repair update submission. --- 🛠️ Customization Ideas Add Slack or Telegram notifications for urgent repairs. Auto-create folders per building or unit for photo uploads. Generate monthly repair summaries using Google Sheets triggers. Add an AI node to create summaries/extract relevant repair data from repair request that include long submissions.

Matt@VeraisonLabsBy Matt@VeraisonLabs
208