Back to Integrations
integrationServiceNow node
integrationSlack node

ServiceNow and Slack integration

Save yourself the work of writing custom integrations for ServiceNow and Slack and use n8n instead. Build adaptable and scalable Productivity, and Communication workflows that work with your technology stack. All within a building experience you will love.

How to connect ServiceNow and Slack

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

ServiceNow and Slack integration: Create a new workflow and add the first step

Step 2: Add and configure ServiceNow and Slack nodes

You can find ServiceNow and Slack in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure ServiceNow and Slack nodes one by one: input data on the left, parameters in the middle, and output data on the right.

ServiceNow and Slack integration: Add and configure ServiceNow and Slack nodes

Step 3: Connect ServiceNow and Slack

A connection establishes a link between ServiceNow and Slack (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

ServiceNow and Slack integration: Connect ServiceNow and Slack

Step 4: Customize and extend your ServiceNow and Slack integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect ServiceNow and Slack with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

ServiceNow and Slack integration: Customize and extend your ServiceNow and Slack integration

Step 5: Test and activate your ServiceNow and Slack workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from ServiceNow to Slack or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

ServiceNow and Slack integration: Test and activate your ServiceNow and Slack workflow

ServiceNow Incident Notifications to Slack Workflow

Who is this for?

This workflow is ideal for IT operations teams or system administrators who use ServiceNow to track incidents and Slack for team communication. It provides real-time updates on new ServiceNow incidents directly in a designated Slack channel, ensuring timely response and collaboration.

What problem is this workflow solving? / Use case

Manually monitoring ServiceNow for new incidents can be time-consuming and prone to delays. This workflow automates the process, ensuring that team members are instantly notified of new incidents, complete with all relevant details, in a Slack channel. It enhances operational efficiency and incident response time.

What this workflow does

Schedule or Manual Trigger: The workflow can be triggered manually or set to run automatically every 5 minutes.
Retrieve New Incidents: Fetches incidents created in ServiceNow within the last 5 minutes.
Error Handling: Posts an error message in Slack if there are issues connecting to ServiceNow.
Incident Processing:
If new incidents are found, they are sorted in ascending order by their number.
Detailed incident information is formatted and sent to a specified Slack channel.
No Incidents: If no new incidents are found, the workflow does nothing.

Setup

ServiceNow API Credentials: Configure ServiceNow Basic Authentication in the workflow to connect to your ServiceNow instance.
Slack API Credentials: Add your Slack API credentials to enable message posting.
Slack Channel Configuration:
Define the Slack channel where notifications should be sent.
Ensure the channel ID is correctly set in the Slack node.
Adjust the Schedule: Modify the schedule in the Schedule Trigger node to suit your requirements.

How to customize this workflow to your needs

Notification Format:
Customize the Slack message format to include additional or fewer details.
Update the Blocks section in the Slack node for personalized messages.
Incident Query Parameters:
Adjust the sysparm_query parameter in the ServiceNow node to filter incidents based on specific criteria.
Error Handling:
Modify the error message in the Slack node for more detailed troubleshooting information.

Features

Real-Time Notifications**: Immediate updates on new ServiceNow incidents.
Error Handling**: Alerts in Slack if the workflow encounters issues connecting to ServiceNow.
Customizable Notifications**: Flexibility to modify incident details sent to Slack.

This workflow streamlines incident management and fosters collaboration by delivering actionable updates directly to your team.

Nodes used in this workflow

Popular ServiceNow and Slack workflows

ServiceNow Incident Notifications to Slack Workflow

Who is this for? This workflow is ideal for IT operations teams or system administrators who use ServiceNow to track incidents and Slack for team communication. It provides real-time updates on new ServiceNow incidents directly in a designated Slack channel, ensuring timely response and collaboration. What problem is this workflow solving? / Use case Manually monitoring ServiceNow for new incidents can be time-consuming and prone to delays. This workflow automates the process, ensuring that team members are instantly notified of new incidents, complete with all relevant details, in a Slack channel. It enhances operational efficiency and incident response time. What this workflow does Schedule or Manual Trigger: The workflow can be triggered manually or set to run automatically every 5 minutes. Retrieve New Incidents: Fetches incidents created in ServiceNow within the last 5 minutes. Error Handling: Posts an error message in Slack if there are issues connecting to ServiceNow. Incident Processing: If new incidents are found, they are sorted in ascending order by their number. Detailed incident information is formatted and sent to a specified Slack channel. No Incidents: If no new incidents are found, the workflow does nothing. Setup ServiceNow API Credentials: Configure ServiceNow Basic Authentication in the workflow to connect to your ServiceNow instance. Slack API Credentials: Add your Slack API credentials to enable message posting. Slack Channel Configuration: Define the Slack channel where notifications should be sent. Ensure the channel ID is correctly set in the Slack node. Adjust the Schedule: Modify the schedule in the Schedule Trigger node to suit your requirements. How to customize this workflow to your needs Notification Format: Customize the Slack message format to include additional or fewer details. Update the Blocks section in the Slack node for personalized messages. Incident Query Parameters: Adjust the sysparm_query parameter in the ServiceNow node to filter incidents based on specific criteria. Error Handling: Modify the error message in the Slack node for more detailed troubleshooting information. Features Real-Time Notifications**: Immediate updates on new ServiceNow incidents. Error Handling**: Alerts in Slack if the workflow encounters issues connecting to ServiceNow. Customizable Notifications**: Flexibility to modify incident details sent to Slack. This workflow streamlines incident management and fosters collaboration by delivering actionable updates directly to your team.

List recent ServiceNow Incidents in Slack Using Pop Up Modal

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. Slack User Interaction: Users initiate the workflow via a Slack modal form, selecting incident parameters like priority and state. ServiceNow Query: The workflow queries ServiceNow for incidents matching the selected criteria. 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. Error Handling: If no channel is selected or any issues arise, the workflow ensures graceful fallback with appropriate notifications. Setup Instructions Slack Setup: Integrate Slack with n8n using a Slack app. Configure the modal form to accept parameters like priority and state. Check out this video for setting up a modal slack app on YouTube. ServiceNow Integration: Use ServiceNow credentials to connect with n8n. Ensure appropriate permissions for querying incidents. 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. 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.

Build your own ServiceNow and Slack integration

Create custom ServiceNow and Slack workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

ServiceNow supported actions

Upload
Upload an attachment to a specific table record
Delete
Delete an attachment
Get
Get an attachment
Get Many
Get many attachments on a table
Get Many
Get Many
Get Many
Get Many
Create
Delete
Get
Get Many
Update
Create
Delete
Get
Get Many
Update
Create
Delete
Get
Get Many
Update
Get Many
Get Many

Slack supported actions

Archive
Archives a conversation
Close
Closes a direct message or multi-person direct message
Create
Initiates a public or private channel-based conversation
Get
Get information about a channel
Get Many
Get many channels in a Slack team
History
Get a conversation's history of messages and events
Invite
Invite a user to a channel
Join
Joins an existing conversation
Kick
Removes a user from a channel
Leave
Leaves a conversation
Member
List members of a conversation
Open
Opens or resumes a direct message or multi-person direct message
Rename
Renames a conversation
Replies
Get a thread of messages posted to a channel
Set Purpose
Sets the purpose for a conversation
Set Topic
Sets the topic for a conversation
Unarchive
Unarchives a conversation
Get
Get Many
Get & filters team files
Upload
Create or upload an existing file
Delete
Get Permalink
Search
Send
Send and Wait for Approval
Update
Add
Adds a reaction to a message
Get
Get the reactions of a message
Remove
Remove a reaction of a message
Add
Add a star to an item
Delete
Delete a star from an item
Get Many
Get many stars of autenticated user
Get
Get information about a user
Get Many
Get a list of many users
Get User's Profile
Get a user's profile
Get User's Status
Get online status of a user
Update User's Profile
Update a user's profile
Create
Disable
Enable
Get Many
Update

FAQs

  • Can ServiceNow connect with Slack?

  • Can I use ServiceNow’s API with n8n?

  • Can I use Slack’s API with n8n?

  • Is n8n secure for integrating ServiceNow and Slack?

  • How to get started with ServiceNow and Slack integration in n8n.io?

Need help setting up your ServiceNow and Slack integration?

Discover our latest community's recommendations and join the discussions about ServiceNow and Slack integration.
Nicolas N
Muhammed Iqbal P B
Nicolas N

Looking to integrate ServiceNow and Slack in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate ServiceNow with Slack

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon