← All N8N workflows
Messaging & emailRespond To WebhookService NowEdit FieldsSwitchWebhook

Receive Slack Webhook Slash Command

Configured with Respond To Webhook, Service Now, Switch, Webhook. Review the connections and setup before adapting this template.

Workflow preview
TriggerWebhookWebhookTransformExtract Incident IDfrom ResponseEdit FieldsIntegrationSearch For Incident inServiceNowService NowWeb / APISend Incident Detailsto SlackRespond To WebhookWeb / APINotify User no Incidentwas FoundRespond To WebhookWeb / APINotify User of Errorwith ServiceNowRespond To WebhookRoutingParse ServiceNowResponseSwitch

Node categories in this workflow

  • Trigger
  • Transform
  • Integration
  • Web / API
  • Routing

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
WebhookTriggerWebhookSee node parameters
Extract Incident ID from ResponseTransformEdit FieldsSee node parameters
Search For Incident in ServiceNowIntegrationService Nowincident / getAll
Send Incident Details to SlackWeb / APIRespond To WebhookSee node parameters
Notify User no Incident was FoundWeb / APIRespond To WebhookSee node parameters
Notify User of Error with ServiceNowWeb / APIRespond To WebhookSee node parameters
Parse ServiceNow ResponseRoutingSwitchSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • serviceNowBasicApi

Workflow notes

Receive Slack Webhook Slash Command

Receive Slack Webhook Slash Command

This section begins with the Webhook node, which listens for incoming Slack Slash Command requests. When triggered, it extracts the incident ID from the request payload using the Extract Incident ID from Response node. The incident ID is then passed forward for further processing. This setup allows users to initiate ServiceNow incident lookups directly from Slack.

Search ServiceNow for Incident

Search ServiceNow for Incident

In this section, the Search For Incident in ServiceNow node queries the ServiceNow platform using the extracted incident ID. If the query returns a valid incident, the details are prepared for the Slack response. If no incident is found, the workflow routes this outcome for a corresponding Slack notification. The Parse ServiceNow Response node evaluates the outcome of the ServiceNow query. This ensures accurate and responsive communication with ServiceNow.

Respond to Slack Webhook

Respond to Slack Webhook

Based on the ServiceNow result:

  • The Send Incident Details to Slack node formats and sends detailed incident information to Slack.
  • The Notify User no Incident was Found node sends a user-friendly notification indicating the incident ID was invalid.
  • The Notify User of Error with ServiceNow node alerts the user if the ServiceNow connection fails. This ensures users receive the right response for every scenario, enabling seamless incident management directly from Slack.
Receive Slack Webhook Slash Command

Receive Slack Webhook Slash Command

Purpose and structure

This folder contains the Receive Slack Webhook Slash Command workflow. Its executable nodes use respondToWebhook, serviceNow, set, switch, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Webhook

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Stickynote/0684_Stickynote_Respondtowebhook_Send_Webhook.json MIT; preserve source notices.

More in Messaging & email