{
  "name": "New Lead \u2192 Instant Slack Alert",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "lead-alert"
      },
      "id": "f06c6918-924b-46ec-8645-ccfa9e84c1fa",
      "name": "Form Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "method": "GET",
        "url": "https://api.apollo.io/v1/people/match?email={{$json.email}}",
        "authentication": "genericCredentialType"
      },
      "id": "fdcb78b8-dab0-48ff-bb35-da346f6eea74",
      "name": "Enrich Lead",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        460,
        300
      ]
    },
    {
      "parameters": {
        "operation": "post",
        "channel": "#leads",
        "text": "\ud83d\udd25 New lead: *{{$json.name}}* from {{$node['Enrich Lead'].json.person.organization_name || $json.company}}\n\ud83d\udce7 {{$json.email}}\n\ud83d\udcac {{$json.description}}\n<https://esipick.ai/admin|View in admin>"
      },
      "id": "c03f0634-c198-42b2-a604-e7532fbf54ea",
      "name": "Slack Alert",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 1,
      "position": [
        680,
        300
      ]
    },
    {
      "parameters": {
        "operation": "append"
      },
      "id": "32e04019-27a9-41d7-9368-a7c0b2046caf",
      "name": "Add to Pipeline Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 1,
      "position": [
        900,
        300
      ]
    }
  ],
  "connections": {
    "Form Webhook": {
      "main": [
        [
          {
            "node": "Enrich Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enrich Lead": {
      "main": [
        [
          {
            "node": "Slack Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack Alert": {
      "main": [
        [
          {
            "node": "Add to Pipeline Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "tags": []
}