Slack Webhook - Verify Signature

Slack Webhook - Verify Signature

Manual
High
12
Nodes
Manual
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
12
Node Types
8

Node Types

stop And Error
Stop and Error
1 node
execute Workflow Trigger
Execute Workflow Trigger
1 node
code
Make Slack Verif Token
1 node
crypto
Encode Secret String
1 node
if
IF
1 node
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3, Sticky Note4
5 nodes
set
Set Verified to True
1 node
merge
Merge
1 node

Workflow JSON

7.89 KB
{
  "id": "84dT8cFL0FV8ZGPx",
  "meta": {
    "instanceId": "85d2d2ffc8886227640b031e8f18fdfe6c91f530d34ec1a8b1f13727419ae956"
  },
  "name": "Slack Webhook - Verify Signature",
  "tags": [],
  "nodes": [
    {
      "id": "b12fe8e7-45c4-4021-826e-3ae430e34001",
      "name": "Make Slack Verif Token",
      "type": "n8n-nodes-base.code",
      "position": [
        900,
        400
      ],
      "parameters": {
        "jsCode": "function encodeFormData(data) {\n  const encodedData = Object.keys(data)\n    .map(key => encodeURIComponent(key) + '=' + encodeURIComponent(data[key]))\n    .join('&')\n    .replaceAll(\"%20\", \"+\") // Slack does not encode \"+\" signs\n    .replaceAll(\"*\", \"%2A\") // Slack encodes \"*\" signs\n    .replaceAll(\"~\", \"%7E\"); // Slack encodes \"~\" signs\n    \n  return encodedData;\n}\n\nfunction buildSigBaseString(requestJson) {\n  const version = \"v0\"; // Slack Webhook version (Always v0 for the moment)\n  \n  const timestamp = requestJson.headers...

Showing first 1000 characters. Click "Expand" to view the full JSON.