{
  "name": "Send personalized data engineer hiring emails with PredictLeads, OpenAI and Gmail",
  "nodes": [
    {
      "id": "0994f250-29af-4dba-b32c-0616c6818b05",
      "name": "About This Workflow",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        0
      ],
      "parameters": {
        "width": 420,
        "height": 400,
        "content": "ABOUT THIS WORKFLOW\n\nFinds companies hiring data engineers, enriches them with tech stack data from PredictLeads, and sends AI-personalized service offering emails.\n\nSetup: PredictLeads API, OpenAI AP"
      }
    },
    {
      "id": "09f381c9-4081-49fc-8454-f6e89ee47de8",
      "name": "📋 Trigger & Discovery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        -336
      ],
      "parameters": {
        "width": 640,
        "height": 712,
        "content": "## ⏰ Trigger & Job Discovery\n\n**Nodes:**  \n⏰ Daily Schedule → set domain → 🔍 Fetch Data Engineer Job Openings\n\n**Description:**  \nThe workflow starts on a daily schedule that automatically triggers th"
      }
    },
    {
      "id": "422c5e63-31e9-44ba-aebb-0e25eb8ac5a4",
      "name": "🔬 Enrichment",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        -384
      ],
      "parameters": {
        "width": 700,
        "height": 792,
        "content": "## 🔍 Company Enrichment\n\n**Nodes:**  \n🔀 Split by Company → 🏢 Get Company Info → 💻 Get Technology Stack\n\n**Description:**  \nEach company identified in the job discovery step is processed individually.\n"
      }
    },
    {
      "id": "864a20ec-1360-4c35-a123-56866a2b6490",
      "name": "🤖 AI Personalization",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1904,
        -368
      ],
      "parameters": {
        "width": 748,
        "height": 776,
        "content": "## 🤖 AI Personalization & Outreach\n\n**Nodes:**  \n⚙️ Build Personalized Prompt → 🤖 Generate Personalized Email → 📧 Send Personalized Email\n\n**Description:**  \nA detailed prompt is created by combining "
      }
    },
    {
      "id": "92932612-99c4-4825-af59-821ada8f828d",
      "name": "⏰ Daily Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        480,
        160
      ]
    },
    {
      "id": "9e6b96ec-d5f9-4569-b12a-4d03babd6baa",
      "name": "🔍 Fetch Data Engineer Job Openings",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        880,
        160
      ]
    },
    {
      "id": "74d79b87-8988-4bb1-8840-8bb1f097a027",
      "name": "🔀 Split by Company",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1216,
        160
      ]
    },
    {
      "id": "70587664-5c2e-4e57-aca4-c0c2a2a06641",
      "name": "🏢 Get Company Info",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1424,
        176
      ]
    },
    {
      "id": "dbc36738-26bc-41a5-bbcc-85dbd00a5458",
      "name": "💻 Get Technology Stack",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1632,
        176
      ]
    },
    {
      "id": "d54afd86-8349-4075-af47-50adc5517d54",
      "name": "⚙️ Build Personalized Prompt",
      "type": "n8n-nodes-base.code",
      "position": [
        2000,
        176
      ]
    },
    {
      "id": "2b8624a1-b5cf-4c54-bc5a-5e52c4b417f2",
      "name": "🤖 Generate Personalized Email",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2224,
        176
      ]
    },
    {
      "id": "9435379a-ff57-40e0-9e36-446d7bd48bbb",
      "name": "📧 Send Personalized Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2464,
        176
      ]
    },
    {
      "id": "d7a8f631-9e7f-44c7-b10a-c82b0f5f7e18",
      "name": "set domain",
      "type": "n8n-nodes-base.set",
      "position": [
        688,
        160
      ]
    }
  ],
  "connections": {
    "set domain": {
      "main": [
        [
          {
            "node": "🔍 Fetch Data Engineer Job Openings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⏰ Daily Schedule": {
      "main": [
        [
          {
            "node": "set domain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🏢 Get Company Info": {
      "main": [
        [
          {
            "node": "💻 Get Technology Stack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔀 Split by Company": {
      "main": [
        [],
        [
          {
            "node": "🏢 Get Company Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "💻 Get Technology Stack": {
      "main": [
        [
          {
            "node": "⚙️ Build Personalized Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📧 Send Personalized Email": {
      "main": [
        [
          {
            "node": "🔀 Split by Company",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⚙️ Build Personalized Prompt": {
      "main": [
        [
          {
            "node": "🤖 Generate Personalized Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🤖 Generate Personalized Email": {
      "main": [
        [
          {
            "node": "📧 Send Personalized Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔍 Fetch Data Engineer Job Openings": {
      "main": [
        [
          {
            "node": "🔀 Split by Company",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}