{
  "name": "Monitor lost backlinks with DataForSEO, Google Sheets and Gmail",
  "nodes": [
    {
      "id": "01249746-9d41-410b-aa1f-f33038201f12",
      "name": "Initialize \"items\" field",
      "type": "n8n-nodes-base.set",
      "position": [
        128,
        624
      ]
    },
    {
      "id": "302d0a5e-7082-4af3-88f3-c49bfdc8ca8a",
      "name": "Merge \"items\" with DFS response",
      "type": "n8n-nodes-base.set",
      "position": [
        800,
        544
      ]
    },
    {
      "id": "d3248755-6b76-4a86-9505-5ef6d9e5febb",
      "name": "Has more pages?",
      "type": "n8n-nodes-base.if",
      "position": [
        1024,
        624
      ]
    },
    {
      "id": "6a03f798-1a64-46bf-b037-06173fbe4999",
      "name": "Filter (has new backlinks)",
      "type": "n8n-nodes-base.filter",
      "position": [
        -304,
        1088
      ]
    },
    {
      "id": "40f28904-5973-4b9a-bc25-c9778ecddb2e",
      "name": "Append columns",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        368,
        1088
      ]
    },
    {
      "id": "9c02c042-6c95-4942-84af-3ba19ca72439",
      "name": "Set final \"items\" field",
      "type": "n8n-nodes-base.set",
      "position": [
        592,
        1088
      ]
    },
    {
      "id": "65056f6a-d5c3-4c76-bcb2-23d8ec744423",
      "name": "Split out items",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        816,
        1088
      ]
    },
    {
      "id": "93ec0102-796e-4cae-901d-375aee4a813c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        448
      ],
      "parameters": {
        "width": 1120,
        "height": 352,
        "content": "## Get lost backlinks with DataForSEO\nCreate a DataForSEO connection, specify a Target Domain, and set up additional parameters if needed."
      }
    },
    {
      "id": "6ed937d0-8a63-4d3f-91b3-967c78e9d246",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -336,
        896
      ],
      "parameters": {
        "width": 2160,
        "height": 384,
        "content": "## Create a Google Sheet with lost backlinks and send it via email\nCreate a Google Sheets connection.\nCreate a Gmail connection and set a receiver."
      }
    },
    {
      "id": "2b0d9190-f707-4d17-a1ed-6bcdf257fd95",
      "name": "Get lost backlinks",
      "type": "n8n-nodes-dataforseo.dataForSeoBacklinksApi",
      "position": [
        576,
        544
      ]
    },
    {
      "id": "56f9f2c5-91e6-4667-86f5-12026c52668e",
      "name": "Set \"items\" field",
      "type": "n8n-nodes-base.set",
      "position": [
        352,
        624
      ]
    },
    {
      "id": "8f267be2-484a-4275-8079-f7036d8c877c",
      "name": "Create spreadsheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -80,
        1088
      ]
    },
    {
      "id": "775afb58-5971-4482-8fda-c9fbd732622d",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1264,
        1088
      ]
    },
    {
      "id": "2228f42d-03a3-468e-aa70-585b39516b7e",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1696,
        1088
      ]
    },
    {
      "id": "bb54ec0f-e627-4784-85e0-0cb87178ced4",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -96,
        624
      ]
    },
    {
      "id": "524ac1d6-6b27-41de-a8c1-4af416c098d8",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1488,
        1088
      ]
    },
    {
      "id": "e3aad525-4606-4c5f-a826-cd740ea1c7a6",
      "name": "Prepare columns for Google Sheets",
      "type": "n8n-nodes-base.set",
      "position": [
        144,
        1088
      ]
    },
    {
      "id": "fd6e2c7c-b6f8-4c0a-94c8-49149708c272",
      "name": "Prepare data for Google Sheets",
      "type": "n8n-nodes-base.set",
      "position": [
        1040,
        1088
      ]
    },
    {
      "id": "038308b0-030d-49f3-b292-4ba0e35a69be",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        464
      ],
      "parameters": {
        "width": 400,
        "height": 496,
        "content": "This workflow runs on a scheduled basis, tracks lost backlinks via the DataForSEO Backlinks API, records them in Google Sheets, and sends daily email updates to help you detect link drops early.\n\n## H"
      }
    }
  ],
  "connections": {
    "Aggregate": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append columns": {
      "main": [
        [
          {
            "node": "Set final \"items\" field",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has more pages?": {
      "main": [
        [
          {
            "node": "Set \"items\" field",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Filter (has new backlinks)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split out items": {
      "main": [
        [
          {
            "node": "Prepare data for Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Initialize \"items\" field",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set \"items\" field": {
      "main": [
        [
          {
            "node": "Get lost backlinks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create spreadsheet": {
      "main": [
        [
          {
            "node": "Prepare columns for Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get lost backlinks": {
      "main": [
        [
          {
            "node": "Merge \"items\" with DFS response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append row in sheet": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set final \"items\" field": {
      "main": [
        [
          {
            "node": "Split out items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Initialize \"items\" field": {
      "main": [
        [
          {
            "node": "Set \"items\" field",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter (has new backlinks)": {
      "main": [
        [
          {
            "node": "Create spreadsheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare data for Google Sheets": {
      "main": [
        [
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge \"items\" with DFS response": {
      "main": [
        [
          {
            "node": "Has more pages?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare columns for Google Sheets": {
      "main": [
        [
          {
            "node": "Append columns",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}