{
  "name": "Cornersight \u2192 Slack hot lead alert",
  "nodes": [
    {
      "parameters": {
        "content": "## Cornersight \u2192 Slack: hot lead alert\nSends a Slack message when someone who fits your ICP **comments** (the strongest signal).\n1. Copy the webhook Production URL into your Cornersight source.\n2. In **Post to Slack**: connect Slack, pick your channel.\n3. Activate.\n\nWant likes too? Delete the second condition in **ICP comment?**.",
        "height": 300,
        "width": 480
      },
      "id": "f0d5ac7b-8c54-455d-91ac-f4d543550107",
      "name": "Read me",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -40,
        -340
      ]
    },
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "cornersight-hot-lead",
        "options": {}
      },
      "id": "491c7197-1722-4e2d-9855-1e80be67576a",
      "name": "Cornersight webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        0
      ],
      "webhookId": "14862566-1e2d-44b8-91bc-f27c196f8a80"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "loose"
          },
          "conditions": [
            {
              "id": "ec7a747e-b1ef-4d36-9bc5-f429d79b9f8c",
              "leftValue": "={{ $json.body.data.isIcp }}",
              "rightValue": "",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              }
            },
            {
              "id": "28ccd298-0503-481d-ab9c-5bda473bc93a",
              "leftValue": "={{ $json.body.data.engagementType }}",
              "rightValue": "Comment",
              "operator": {
                "type": "string",
                "operation": "equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "7f833fa3-1553-48d6-a2a4-fd1a0aff3421",
      "name": "ICP comment?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        240,
        0
      ]
    },
    {
      "parameters": {
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "name",
          "value": "#hot-leads"
        },
        "text": "=:fire: *{{ $json.body.data.name }}* ({{ $json.body.data.jobTitle }} at {{ $json.body.data.companyName }}) commented:\n> {{ $json.body.data.commentText }}\nPost: {{ $json.body.data.postUrl }}\nProfile: {{ $json.body.data.linkedinUrl }}",
        "otherOptions": {}
      },
      "id": "d6af7b7c-34f6-414b-92f9-06516e0d88ab",
      "name": "Post to Slack",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.2,
      "position": [
        480,
        -20
      ]
    }
  ],
  "connections": {
    "Cornersight webhook": {
      "main": [
        [
          {
            "node": "ICP comment?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ICP comment?": {
      "main": [
        [
          {
            "node": "Post to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {}
}