Display ServiceNow incident details in Slack using slash command
Who is this for? This workflow is designed for teams using Slack for communication and ServiceNow for incident management. It simplifies incident lookup by e...
🔌 Nodes & Integrations Used (1)
📖 Implementation & Setup Guide
#### **Who is this for?** This workflow is designed for teams using Slack for communication and ServiceNow for incident management. It simplifies incident lookup by enabling team members to fetch incident details directly within Slack via a Slash Command.
#### **What problem is this workflow solving?** Manually switching between Slack and ServiceNow to retrieve incident details can be time-consuming and disrupt workflow efficiency. This workflow bridges the two platforms, providing instant access to critical incident information in Slack, saving time, and improving response efficiency.
#### **What this workflow does?** The workflow listens for a Slash Command in Slack that includes an incident ID, extracts the ID from the incoming payload, queries ServiceNow for the corresponding incident details, and sends a formatted response back to Slack. Depending on the query result, it can: - Display incident details (e.g., ID, description, severity, and priority). - Notify the user if no matching incident is found. - Alert the user if there’s an issue connecting to ServiceNow.
#### **Setup** 1. **Slack Setup:** - Create a Slash Command in Slack with the appropriate endpoint URL. - Configure the command to send a POST request to the webhook endpoint of this workflow. - For details on how to setup the Slack app using Slash commands and n8n, [check out this video](https://youtu.be/z4JuK4qPJ1E).
2. **ServiceNow Setup:** - Create or use an existing account with the necessary permissions to access incident data. - Configure the `ServiceNow` node with your ServiceNow credentials.
3. **n8n Workflow Activation:** - Deploy and activate the workflow in your n8n instance. - Ensure all nodes are properly configured and connected.
#### **How to customize this workflow to your needs** - **Modify Incident Query Parameters:** Adjust the query logic in the `Search For Incident in ServiceNow` node to include additional filters or data points based on your organization’s needs. - **Slack Response Customization:** Customize the Slack response template to display additional incident details or to match your team’s tone and style. - **Error Handling:** Enhance the error handling nodes to include more detailed logs or send alerts to a dedicated Slack channel.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Display_ServiceNow_incident_details_in_Slack_using_slash_command.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related Messaging & Chat Workflows
View All in Messaging & Chat →Add a bug to Linear via Slack command
Use Case When building a product it's important to discover and eliminate bugs as quickly as possible. Since we're using our product at n8n a lot, we wanted ...
AI Children s Storytelling on Telegram
Production-ready n8n automation template for AI Children s Storytelling on Telegram built by AhiXLight. Seamlessly connects Lm Chat Open Ai, Chain Summarization, Text Splitter Recursive Character Text Splitter with 14 configured nodes.
AI Event Banner Generator with BannerBear
Production-ready n8n automation template for AI Event Banner Generator with BannerBear built by AhiXLight. Seamlessly connects Form Trigger, HTTP Request, Bannerbear with 16 configured nodes.
AI Event Banner Generator with n8n
Production-ready n8n automation template for AI Event Banner Generator with n8n built by AhiXLight. Seamlessly connects Form Trigger, HTTP Request, Bannerbear with 16 configured nodes.