{
  "name": "Turn new high-volume ranked keywords into Asana tasks with DataForSEO",
  "nodes": [
    {
      "id": "df437481-d38f-41b6-bb98-1f686d612da1",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        448,
        64
      ]
    },
    {
      "id": "0711de42-6561-4057-a140-c8c5c7435c1d",
      "name": "Get ranked keywords",
      "type": "n8n-nodes-dataforseo.dataForSeoLabsApi",
      "position": [
        656,
        432
      ]
    },
    {
      "id": "cf54be10-4421-42d7-a6ec-0d2249009315",
      "name": "Get previous keywords",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        224,
        64
      ]
    },
    {
      "id": "f662de6b-233b-4543-9dd3-bde7512111d0",
      "name": "Get targets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1008,
        64
      ]
    },
    {
      "id": "b0bd7f7a-80d8-4eda-9b41-039fedcc34cf",
      "name": "Find new keywords",
      "type": "n8n-nodes-base.code",
      "position": [
        720,
        912
      ]
    },
    {
      "id": "d5c87a26-9e87-4872-9d7e-5f98ebf842a4",
      "name": "Run every Monday",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        64
      ]
    },
    {
      "id": "84624107-b446-42d3-8bc9-fa30582c9d3d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        176,
        -96
      ],
      "parameters": {
        "width": 656,
        "height": 320,
        "content": "## Get previous keywords and clear the sheet\nCreate a Google Sheets connection and select the spreadsheet where keywords should be saved. The sheet must have the same columns as in [this Example](http"
      }
    },
    {
      "id": "39636210-7256-43fa-aac1-451747dc5e20",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        864,
        -96
      ],
      "parameters": {
        "width": 272,
        "height": 320,
        "content": "## Get targets\nSelect a spreadsheet with your target domains. The spreadsheet must have the same columns as in [this Example](https://docs.google.com/spreadsheets/d/1uCvVHKk8rWeQ_FKpZkBfrCB26Q6Uebwwzs"
      }
    },
    {
      "id": "188bd135-29cd-4ee8-9883-6a700c8cdcdd",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        304
      ],
      "parameters": {
        "width": 1248,
        "height": 384,
        "content": "## Getn high-volume ranked keywords with DataForSEO\nCreate a DataForSEO connection and set up additional parameters if needed."
      }
    },
    {
      "id": "68d73814-2f16-4a6f-a8af-d38d8b3924f2",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        752
      ],
      "parameters": {
        "width": 1328,
        "height": 336,
        "content": "## Save high-volume ranked keywords to the spreadsheet, create an Asana task and send a Slack notification\nSelect the same spreadsheet with your keywords as in the first Google Sheets node.\nCreate an "
      }
    },
    {
      "id": "e90caec5-2627-4b7f-beac-dba225fcb0d3",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        -64
      ],
      "parameters": {
        "width": 384,
        "height": 672,
        "content": "This workflow uses the DataForSEO Labs API to detect new high-volume search queries for which your domain started ranking on Google. Newly discovered keywords are logged in Google Sheets, follow-up ta"
      }
    },
    {
      "id": "1c0611f3-8bed-4d3f-8d6d-aecf92ddc69b",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        528,
        912
      ]
    },
    {
      "id": "e8b73185-5477-4ef8-9d16-68a1e7d642aa",
      "name": "Clear sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        672,
        64
      ]
    },
    {
      "id": "98028427-d79e-4b6d-b3c5-3f5d07892852",
      "name": "Create a task",
      "type": "n8n-nodes-base.asana",
      "position": [
        1136,
        912
      ]
    },
    {
      "id": "c1b1df43-8fd2-4c97-9d72-0b42ad1ec0b7",
      "name": "Initialize \"items\" field",
      "type": "n8n-nodes-base.set",
      "position": [
        208,
        512
      ]
    },
    {
      "id": "40c8d87b-47d1-4aae-8f25-67c16a3524a6",
      "name": "Set \"items\" field",
      "type": "n8n-nodes-base.set",
      "position": [
        432,
        512
      ]
    },
    {
      "id": "c00fc6b5-f9a4-4550-a986-4ffd3ab980fd",
      "name": "Merge \"items\" with DFS response",
      "type": "n8n-nodes-base.set",
      "position": [
        864,
        432
      ]
    },
    {
      "id": "e3eb66f8-8986-4a80-a6ef-7b49ca7edc66",
      "name": "Has more pages?",
      "type": "n8n-nodes-base.if",
      "position": [
        1072,
        512
      ]
    },
    {
      "id": "85cd20c2-1977-44e1-a7f8-02b1788dc558",
      "name": "Merge \"items\" with last response",
      "type": "n8n-nodes-base.set",
      "position": [
        1264,
        528
      ]
    },
    {
      "id": "62d81cdb-9c64-4812-a02a-fb643822ffe2",
      "name": "Filter (has new keywords)",
      "type": "n8n-nodes-base.filter",
      "position": [
        928,
        912
      ]
    },
    {
      "id": "b84a4416-dda8-454b-ac3e-9f05692f229e",
      "name": "Split out (items)",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        160,
        912
      ]
    },
    {
      "id": "7fd71859-19a4-4fc4-9800-2e0c41d39cde",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        1328,
        912
      ]
    },
    {
      "id": "977445ac-eff5-4a12-9c11-4767034f6716",
      "name": "Append keyword in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        336,
        912
      ]
    },
    {
      "id": "7f2ccda1-8582-4c5e-b4b2-d93be1a5ea90",
      "name": "Loop over targets",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -16,
        496
      ]
    }
  ],
  "connections": {
    "Aggregate": {
      "main": [
        [
          {
            "node": "Clear sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "Find new keywords",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clear sheet": {
      "main": [
        [
          {
            "node": "Get targets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get targets": {
      "main": [
        [
          {
            "node": "Loop over targets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a task": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        [
          {
            "node": "Loop over targets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has more pages?": {
      "main": [
        [
          {
            "node": "Set \"items\" field",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge \"items\" with last response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run every Monday": {
      "main": [
        [
          {
            "node": "Get previous keywords",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find new keywords": {
      "main": [
        [
          {
            "node": "Filter (has new keywords)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop over targets": {
      "main": [
        [],
        [
          {
            "node": "Initialize \"items\" field",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set \"items\" field": {
      "main": [
        [
          {
            "node": "Get ranked keywords",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split out (items)": {
      "main": [
        [
          {
            "node": "Append keyword in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get ranked keywords": {
      "main": [
        [
          {
            "node": "Merge \"items\" with DFS response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get previous keywords": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append keyword in sheet": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Initialize \"items\" field": {
      "main": [
        [
          {
            "node": "Set \"items\" field",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter (has new keywords)": {
      "main": [
        [
          {
            "node": "Create a task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge \"items\" with DFS response": {
      "main": [
        [
          {
            "node": "Has more pages?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge \"items\" with last response": {
      "main": [
        [
          {
            "node": "Split out (items)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}