{
  "name": "Detect job and company changes with Lusha bulk enrichment and HubSpot",
  "nodes": [
    {
      "id": "d3b6db4c-54f2-47b4-aba0-c73d3bc5c380",
      "name": "📋 Job Change & Promotion Enrichment",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        -520
      ],
      "parameters": {
        "width": 860,
        "height": 500,
        "content": "## Contact Job Change & Promotion Detection with Lusha\n\n**Who it's for:** AEs & CSMs tracking champions and key contacts\n\n**What it does:** Automatically detects when contacts change jobs or get promo"
      }
    },
    {
      "id": "552714d6-caf9-41e4-ac38-b26f4232a344",
      "name": "📅 1. Daily CRM Pull",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -30,
        70
      ],
      "parameters": {
        "width": 480,
        "height": 270,
        "content": "A daily schedule trigger pulls your existing contacts from HubSpot for re-enrichment.\n\n**Nodes:** Schedule Trigger → HubSpot Get Contacts\n\n💡 Adjust the contact limit based on your Lusha API plan and c"
      }
    },
    {
      "id": "e891a936-da50-4470-8de1-7c6747d0f056",
      "name": "🔄 2. Bulk Re-Enrich with Lusha",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        510,
        70
      ],
      "parameters": {
        "width": 560,
        "height": 270,
        "content": "All contacts are formatted and sent to the Lusha Bulk Enrichment API in a single call. Returns the latest job title, company, seniority, phone, and email for each contact.\n\n**Nodes:** Format for Bulk "
      }
    },
    {
      "id": "120ec35b-f801-4b6c-a846-66409bd94e95",
      "name": "📤 3. Detect Changes & Alert Reps",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        70
      ],
      "parameters": {
        "width": 600,
        "height": 300,
        "content": "A code node compares fresh Lusha data against stored CRM records to detect job title or company changes. Changed contacts trigger a CRM update and a Slack notification to the assigned rep.\n\n**Nodes:**"
      }
    },
    {
      "id": "073cfe02-3b46-4e42-a820-4b2da66f01d0",
      "name": "Daily Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        340
      ]
    },
    {
      "id": "091724db-c942-4093-8056-b2a9926d917c",
      "name": "Get CRM Contacts",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        280,
        340
      ]
    },
    {
      "id": "84a9d045-ae01-41c3-a332-4baec95e6acf",
      "name": "Format for Bulk Enrichment",
      "type": "n8n-nodes-base.code",
      "position": [
        560,
        340
      ]
    },
    {
      "id": "24be2214-9d2c-4d31-b7a4-b7487d375651",
      "name": "Re-Enrich All in Bulk",
      "type": "@lusha-org/n8n-nodes-lusha.lusha",
      "position": [
        840,
        340
      ]
    },
    {
      "id": "f75c1e22-1e3b-4596-9ba8-233bc6d6cebb",
      "name": "Detect Changes",
      "type": "n8n-nodes-base.code",
      "position": [
        1120,
        340
      ]
    },
    {
      "id": "db01889e-ae71-4b5f-9364-b90c3ce81eeb",
      "name": "Has Job Changes?",
      "type": "n8n-nodes-base.if",
      "position": [
        1400,
        340
      ]
    },
    {
      "id": "5d4afdd9-f88f-497f-8856-26c3c1caaff0",
      "name": "Update CRM Record",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1680,
        200
      ]
    },
    {
      "id": "51c03567-3da4-452b-8afb-ff2b8b438e3e",
      "name": "Alert Rep on Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        1680,
        400
      ]
    }
  ],
  "connections": {
    "Daily Schedule": {
      "main": [
        [
          {
            "node": "Get CRM Contacts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Detect Changes": {
      "main": [
        [
          {
            "node": "Has Job Changes?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get CRM Contacts": {
      "main": [
        [
          {
            "node": "Format for Bulk Enrichment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Job Changes?": {
      "main": [
        [
          {
            "node": "Update CRM Record",
            "type": "main",
            "index": 0
          },
          {
            "node": "Alert Rep on Slack",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Re-Enrich All in Bulk": {
      "main": [
        [
          {
            "node": "Detect Changes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format for Bulk Enrichment": {
      "main": [
        [
          {
            "node": "Re-Enrich All in Bulk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}