How to Set Up Slack Notifications for New Incoming Messages

This guide explains how to send Slack notifications automatically whenever a new inbound message is received (from WhatsApp, Live Chat, Instagram, etc.) using Webhook + n8n workflow automation.


Overview

What this setup does:

  • Listens for new inbound messages in your system

  • Sends a real-time notification to a Slack channel

  • Works for all channels (WhatsApp, Live Chat, Instagram, etc.)

Tools used:

  • K-LINK Developer Tools

  • Webhook (Inbound Message Event)

  • n8n (workflow automation)

  • Slack App (Bot + Permissions)


Step 1: Create a New App in Developer Tools

  1. Go to Settings β†’ Developer Tools

  2. Click Create New App

  3. Enter:

    • App Name: Slack Noti (or any name)

    • Environment: Production

  4. Click Create App

  5. Click Manage on the created app


Step 2: Enable Inbound Message Webhook

  1. Scroll to Webhook / Notification Settings

  2. Enable:

    • Inbound Message Received

  3. This event will trigger whenever:

    • A new message arrives from any channel

    • WhatsApp, Live Chat, Instagram, etc.

πŸ“Œ The system will now send a webhook payload when a new message comes in.


Step 3: Create a Webhook in n8n

3.1 Create a New Workflow

  1. Open n8n

  2. Create a New Workflow

  3. Add a Webhook Node

    • HTTP Method: POST

    • Path: auto-generated

  4. Save the node


3.2 Copy Webhook URL

  1. Copy the Test Webhook URL

  2. Go back to Developer Tools β†’ App Settings

  3. Paste the webhook URL into the Inbound Message Webhook Endpoint

  4. Click Save


Step 4: Test the Webhook

  1. In n8n, click Listen for Webhook

  2. Send a test message from any channel (e.g. Live Chat)

  3. Confirm:

    • Webhook receives payload

    • Message content appears in n8n

βœ… If you see the message data, webhook is working correctly.


Step 5: Create a Slack App

5.1 Create Slack App

  1. Go to Slack API β†’ Your Apps

  2. Click Create New App

  3. Choose From Scratch

  4. Enter:

    • App Name: K-LINK

    • Workspace: Select your workspace

  5. Click Create App


5.2 Configure OAuth & Permissions

  1. Go to OAuth & Permissions

  2. Under Bot Token Scopes, add:

    • chat:write

    • channels:read

    • channels:write

  3. Click Install App to Workspace

  4. Copy:

    • Bot User OAuth Token

    • Signing Secret


Step 6: Connect Slack to n8n

  1. In n8n, add a Slack Node

  2. Choose Send Message

  3. Create New Credentials

  4. Paste:

    • Access Token: Bot User OAuth Token

    • Signing Secret

  5. Save credentials


Step 7: Send Webhook Data to Slack

  1. Connect:

    • Webhook Node β†’ Slack Node

  2. Configure Slack node:

    • Select Slack Channel

    • Message content example:

  3. Save workflow

  4. Activate workflow


Step 8: Final Test

  1. Send a new message from any channel

  2. Confirm:

    • Webhook receives message

    • Slack receives notification instantly

πŸŽ‰ Done! Slack notifications are now live.

Last updated