{
  "name": "Generate personalized cold emails with GPT-4o-mini and Google Sheets",
  "nodes": [
    {
      "id": "8791c4c6-6b15-486e-806d-53f3add6e8a0",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -864,
        -448
      ]
    },
    {
      "id": "5509f1fa-a7f5-47b8-8e94-9bc0febb3cb4",
      "name": "Add Row1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -592,
        -448
      ]
    },
    {
      "id": "ea570276-818e-46d9-9223-8fbbb0177cf4",
      "name": "Code1",
      "type": "n8n-nodes-base.code",
      "position": [
        544,
        -432
      ]
    },
    {
      "id": "7fc98079-b298-4a40-93a5-4738dc57fb0a",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -384,
        -448
      ]
    },
    {
      "id": "5194c7af-d5e2-4f06-9252-676967261a68",
      "name": "Update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        768,
        -432
      ]
    },
    {
      "id": "817537f3-43fe-4c6e-a7a7-ab492c10c8d7",
      "name": "email writer",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        16,
        -432
      ]
    },
    {
      "id": "08e0e555-3fae-4749-89b7-9ba9579fcac6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        -608
      ],
      "parameters": {
        "width": 304,
        "height": 144,
        "content": "## add google sheet with prospect email name description of there business \nalso create credentials\n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)"
      }
    },
    {
      "id": "90706e9a-c487-4d5a-9ae5-318dd05b8a58",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -560
      ],
      "parameters": {
        "width": 624,
        "height": 240,
        "content": "## this email writer AI node will write the cold email with subject and body\nyou just have to change the prompet on behalf of your business\n**Double click** to edit me. [Guide](https://docs.n8n.io/wor"
      }
    },
    {
      "id": "2ca2806c-2aaa-4cde-bdd5-e279f7cb8150",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        -240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## this code node will separate the body and subject \n**Double click** to edit me. [Guide](https://docs.n8n.io/workflows/sticky-notes/)"
      }
    }
  ],
  "connections": {
    "Code1": {
      "main": [
        [
          {
            "node": "Update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Row1": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "email writer": {
      "main": [
        [
          {
            "node": "Code1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "email writer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update row in sheet": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Add Row1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}