{
  "name": "Sync new subscribers from Google Sheets to MailerLite without duplicates",
  "nodes": [
    {
      "id": "a43ee8b3-37b3-4f0c-bcf0-60511054a2d7",
      "name": "Get row(s) in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -220,
        40
      ]
    },
    {
      "id": "fbf4d989-1c36-40a1-b6f1-52ee12bde18a",
      "name": "Get a subscriber",
      "type": "n8n-nodes-base.mailerLite",
      "position": [
        260,
        40
      ]
    },
    {
      "id": "23910947-2fe9-4391-945a-d5c080c90ac6",
      "name": "Create subscriber and assign to group",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1180,
        400
      ]
    },
    {
      "id": "c26b4872-32ab-4b48-9a20-2d4be5b6baed",
      "name": "Start Workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -720,
        40
      ]
    },
    {
      "id": "bc39a624-695d-48c7-a295-e40c3a7b84fa",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        180
      ],
      "parameters": {
        "width": 460,
        "height": 300,
        "content": "### Step 1: Manual Trigger 🖐️⚡\n\nThis node acts as a **Manual Trigger** to start the workflow on demand.\n\nWhy this step is important:\n\n- 🖐️ Allows you to control when the workflow runs.\n- 🧪 Useful for "
      }
    },
    {
      "id": "cbce1376-b59f-4a7d-a6a6-ac410ae1ca39",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -420,
        -300
      ],
      "parameters": {
        "width": 460,
        "height": 300,
        "content": "### Step 2: Get Rows from Google Sheets 📊📥\n\nThis node uses the **Get Rows** operation to fetch data from Google Sheets.\n\nWhy this step is important:\n\n- 📋 Retrieves the latest rows of data for processi"
      }
    },
    {
      "id": "3a331aef-f9c8-4368-984f-6221cd1a4a5b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        60,
        200
      ],
      "parameters": {
        "width": 540,
        "height": 360,
        "content": "### Step 3: Get Subscriber from MailerLite 📧🔍\n\nThis node uses the **Get a Subscriber** operation to fetch details of subscribers from the MailerLite system.\n\n- **Success Branch:** Subscribers that are"
      }
    },
    {
      "id": "bf9b2275-debd-4113-830c-736d74cb135a",
      "name": "End workflow",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1160,
        -400
      ]
    },
    {
      "id": "7a52a415-bd9d-4b39-85d6-d3cb8e0b4b8a",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -760
      ],
      "parameters": {
        "width": 500,
        "height": 280,
        "content": "### Step 4: End Workflow for Existing Users 🛑✅\n\nThis **End Workflow** node provides a safe and clean exit for subscribers who are already present in MailerLite.\n\nWhy this step is important:\n\n- 🛡️ Prev"
      }
    },
    {
      "id": "55e7ee44-8deb-4c24-ba01-2cf8dc065acb",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        960,
        600
      ],
      "parameters": {
        "width": 540,
        "height": 300,
        "content": "### Step 4: Create Subscriber & Assign to Group (HTTP Request) 🆕👥\n\nThis node sends an **HTTP Request** to MailerLite to create a new subscriber and assign them to the required group.\n\nWhy this step is"
      }
    },
    {
      "id": "5357d0af-ef67-4a17-b5c9-a861a948d478",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -940,
        -1220
      ],
      "parameters": {
        "width": 560,
        "height": 540,
        "content": "## Prerequisites ⚙️\n\nBefore running this workflow, ensure the following setup is complete:\n\n### Google Sheets\n- ✅ Create and connect your **Google credentials** with both **Google Sheets** and **Googl"
      }
    }
  ],
  "connections": {
    "Start Workflow": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a subscriber": {
      "main": [
        [
          {
            "node": "End workflow",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create subscriber and assign to group",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet": {
      "main": [
        [
          {
            "node": "Get a subscriber",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}