The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Slack Notifier",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "slack-notify",
"responseMode": "responseNode",
"options": {}
},
"id": "webhook-slack-notify",
"name": "Slack Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"jsCode": "// Validate incoming request\nconst input = $input.first().json.body;\n\nif (!input.channel || !input.text) {\n throw new Error('Missing required fields: channel and text');\n}\n\nreturn [{\n json: {\n channel: input.channel,\n text: input.text,\n validated: true\n }\n}];"
},
"id": "validate-input",
"name": "Validate Input",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
450,
300
]
},
{
"parameters": {
"channel": "={{ $json.channel }}",
"text": "={{ $json.text }}",
"options": {}
},
"id": "slack-send",
"name": "Send Slack Message",
"type": "n8n-nodes-base.slack",
"typeVersion": 2,
"position": [
650,
300
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={\n \"success\": true,\n \"message\": \"Slack notification sent\",\n \"channel\": \"{{ $json.channel }}\",\n \"timestamp\": \"{{ $now }}\"\n}",
"statusCode": 200
},
"id": "respond-success",
"name": "Success Response",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
850,
300
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={\n \"success\": false,\n \"message\": \"{{ $json.message || 'Unknown error' }}\",\n \"timestamp\": \"{{ $now }}\"\n}",
"statusCode": 400
},
"id": "respond-error",
"name": "Error Response",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
850,
500
]
}
],
"settings": {
"executionOrder": "v1",
"saveDataErrorExecution": "all",
"saveDataSuccessExecution": "all",
"saveExecutionProgress": true,
"timezone": "America/Chicago"
},
"connections": {
"Slack Webhook": {
"main": [
[
{
"node": "Validate Input",
"type": "main",
"index": 0
}
]
]
},
"Validate Input": {
"main": [
[
{
"node": "Send Slack Message",
"type": "main",
"index": 0
}
]
]
},
"Send Slack Message": {
"main": [
[
{
"node": "Success Response",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"tags": [
{
"name": "notification",
"id": "tag-notification-001"
},
{
"name": "slack",
"id": "tag-slack-001"
}
]
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Slack Notifier. Uses slack. Webhook trigger; 5 nodes.
Source: https://github.com/WembassyCo/slack-notifier/blob/30053c8e31170e736a6f69a334fd7d8d2a64f83c/workflows/slack-notify.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow is a production-ready Meta Ads Webhook dispatcher for the Ad Account object. It receives webhook deliveries from Meta, returns the required acknowledgement, routes events by , logs them
🛡️ Jamf Policy Integrity Monitor
Webhook: Failed Login Attempts → Jira Security Case → Slack Warnings
A cornerstone of your Order Management System, this workflow ensures seamless inventory control through fully automated stock checks, leading to a direct reduction in operational costs. It provides re
File Hash Reputation Checker is a security automation workflow that validates file hashes (MD5, SHA1, SHA256) and checks their reputation using the VirusTotal API. It is designed for SOC teams, securi