{
  "name": "Monitor toxic backlinks and email weekly Google Sheets reports with DataForSEO",
  "nodes": [
    {
      "id": "c5bf5e7c-2f1c-4b06-b57b-457aba2c1b4b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        -112
      ],
      "parameters": {
        "width": 1104,
        "height": 368,
        "content": "## Get spam backlinks with DataForSEO\nCreate a DataForSEO connection, specify a Target Domain, and set up additional parameters if needed."
      }
    },
    {
      "id": "1574b2d0-58e7-4b4b-8e25-ab9594fcb9b4",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -384,
        48
      ]
    },
    {
      "id": "54ab08f7-38a1-4d5d-8e2b-d21a889a3bff",
      "name": "Create spreadsheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -448,
        512
      ]
    },
    {
      "id": "b5508803-54a2-4310-b34f-2f2e43b4f1b2",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        896,
        512
      ]
    },
    {
      "id": "0a62dc46-24e8-4aca-9649-73c1bfc34fde",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1120,
        512
      ]
    },
    {
      "id": "a6d1b8be-4757-4301-a784-be2345355e7d",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1344,
        512
      ]
    },
    {
      "id": "de159a62-9959-4a26-993f-1bd86b576cb0",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        336
      ],
      "parameters": {
        "width": 2192,
        "height": 368,
        "content": "## Create a Google Sheet with spam backlinks and send it via email\nCreate a Google Sheets connection.\nCreate a Gmail connection and set a receiver."
      }
    },
    {
      "id": "143e92fd-4e07-4634-a3f1-575877888330",
      "name": "Initialize \"items\" field",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        48
      ]
    },
    {
      "id": "025a83b7-f7f8-4818-abab-889246e12332",
      "name": "Set \"items\" field",
      "type": "n8n-nodes-base.set",
      "position": [
        64,
        48
      ]
    },
    {
      "id": "e1af9f42-03fc-4281-9785-a65b5db34b67",
      "name": "Get spam backlinks",
      "type": "n8n-nodes-dataforseo.dataForSeoBacklinksApi",
      "position": [
        288,
        -32
      ]
    },
    {
      "id": "911e9d7d-d7be-4710-a52a-4f539edc9590",
      "name": "Merge \"items\" with DFS response",
      "type": "n8n-nodes-base.set",
      "position": [
        512,
        -32
      ]
    },
    {
      "id": "b61dac6d-6076-49dc-8604-088b4f930a0a",
      "name": "Has more pages?",
      "type": "n8n-nodes-base.if",
      "position": [
        736,
        48
      ]
    },
    {
      "id": "7a07517d-47b3-4af0-a99e-3f9b8f580f34",
      "name": "Filter (has spam backlinks)",
      "type": "n8n-nodes-base.filter",
      "position": [
        -672,
        512
      ]
    },
    {
      "id": "355730f9-841a-4e33-b282-e8982d791068",
      "name": "Set final \"items\" field",
      "type": "n8n-nodes-base.set",
      "position": [
        224,
        512
      ]
    },
    {
      "id": "8d1c194d-e97a-445a-bab9-98cd5171ae51",
      "name": "Prepare data for Google Sheet",
      "type": "n8n-nodes-base.set",
      "position": [
        672,
        512
      ]
    },
    {
      "id": "0df58d2f-d1c0-43da-8f99-1d49bc5ddfe6",
      "name": "Prepare columns for Google Sheet",
      "type": "n8n-nodes-base.set",
      "position": [
        -224,
        512
      ]
    },
    {
      "id": "062f3280-4aac-4f82-ae35-2b2a8c1abcfe",
      "name": "Append columns",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        0,
        512
      ]
    },
    {
      "id": "bb6fdaa5-6e1e-4e6d-9528-57cbdedf633a",
      "name": "Split out items",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        448,
        512
      ]
    },
    {
      "id": "735ccf46-4ccd-4872-af80-f96f1fb6c735",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1216,
        -96
      ],
      "parameters": {
        "width": 448,
        "height": 528,
        "content": "This workflow runs weekly and uses the DataForSEO Backlinks API to automatically retrieve suspicious backlinks (filtered by a spam score threshold) pointing to your domain, then it generates a toxic b"
      }
    }
  ],
  "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 spam backlinks)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split out items": {
      "main": [
        [
          {
            "node": "Prepare data for Google Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Initialize \"items\" field",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set \"items\" field": {
      "main": [
        [
          {
            "node": "Get spam backlinks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create spreadsheet": {
      "main": [
        [
          {
            "node": "Prepare columns for Google Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get spam 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 spam backlinks)": {
      "main": [
        [
          {
            "node": "Create spreadsheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare data for Google Sheet": {
      "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 Sheet": {
      "main": [
        [
          {
            "node": "Append columns",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}