{
  "id": "vXxoZka4QvjonJM0",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Check for new app reviews and automatically set ClickUp tasks with DataForSEO",
  "tags": [],
  "nodes": [
    {
      "id": "bb2220cf-6d9d-48db-8709-ee3362fe80ab",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -32,
        160
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "144da200-024d-4365-9465-e2f6ca9f0dd7",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1040,
        0
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData"
      },
      "typeVersion": 1
    },
    {
      "id": "9b04f487-72b3-440f-aa55-4ccbd48a18d3",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1040,
        336
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData"
      },
      "typeVersion": 1
    },
    {
      "id": "3f39f3e8-ca87-4d74-8246-4a5807ae9e4c",
      "name": "Create a task1",
      "type": "n8n-nodes-base.clickUp",
      "position": [
        1248,
        336
      ],
      "parameters": {
        "list": "901216982963",
        "name": "=New App reviews for {{ $('Get app reviews from App Store').item.json.tasks[0].result[0].title }} at App Store",
        "team": "9012521279",
        "space": "90122151611",
        "folder": "901210320057",
        "additionalFields": {
          "content": "=Answer to new App Reviews made today.\n\n{{ $json.data.map(item => item.review).join('\\n\\n') }}"
        }
      },
      "credentials": {
        "clickUpApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7001d6aa-dfdb-498c-97b4-0f4f88e8c6b7",
      "name": "Split Out (items)",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        416,
        0
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "tasks[0].result[0].items"
      },
      "typeVersion": 1
    },
    {
      "id": "575d80ae-b729-410a-9b8e-db734d71376a",
      "name": "Split Out1 (items)",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        400,
        336
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "tasks[0].result[0].items"
      },
      "typeVersion": 1
    },
    {
      "id": "ce08b78d-23c6-4465-adee-8affa2318af9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        -128
      ],
      "parameters": {
        "color": 7,
        "width": 992,
        "height": 304,
        "content": "## Get new Reviews from Google Play Store with DataForSEO\nCreate a DataForSEO connection, specify an App ID, Location and Language"
      },
      "typeVersion": 1
    },
    {
      "id": "5a285a36-8b07-490a-a6cf-db08cdac0fb7",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        208
      ],
      "parameters": {
        "color": 7,
        "width": 992,
        "height": 304,
        "content": "## Get new Reviews from App Store with DataForSEO\nCreate a DataForSEO connection, specify an App ID, Location and Language"
      },
      "typeVersion": 1
    },
    {
      "id": "0bfff3d4-cb27-4dd3-bc8c-9d92d267a292",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1168,
        -128
      ],
      "parameters": {
        "color": 7,
        "width": 368,
        "height": 304,
        "content": "##  Create a task for Google Play Store in ClickUp\nCreate a ClickUp connection. Specify Workspace. Space, Folder, List and additional data for new task."
      },
      "typeVersion": 1
    },
    {
      "id": "be23adb6-e906-4a70-9d2c-0893cbbd83d4",
      "name": "Create a task",
      "type": "n8n-nodes-base.clickUp",
      "position": [
        1248,
        0
      ],
      "parameters": {
        "list": "901216982963",
        "name": "=New App reviews for {{ $(' Get app reviews from Google Play Store').item.json.tasks[0].result[0].title  }} at Google Play Store",
        "team": "9012521279",
        "space": "90122151611",
        "folder": "901210320057",
        "additionalFields": {
          "content": "=Answer to new App Reviews made today.\n\n{{ $json.data.map(item => item.review).join('\\n\\n') }}"
        }
      },
      "credentials": {
        "clickUpApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "9e5e2c7d-7e0f-4786-82d5-b980a2e9a144",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1168,
        208
      ],
      "parameters": {
        "color": 7,
        "width": 368,
        "height": 304,
        "content": "## Create a task for App Store in ClickUp\nCreate a ClickUp connection. Specify Workspace. Space, Folder, List and additional data for new task."
      },
      "typeVersion": 1
    },
    {
      "id": "f64d37ee-db69-4998-8c2d-2f1f5bed4677",
      "name": " Get app reviews from Google Play Store",
      "type": "n8n-nodes-dataforseo.dataForSeoAppDataApi",
      "position": [
        208,
        0
      ],
      "parameters": {
        "app_id": "com.duolingo",
        "sort_by": "newest",
        "operation": "get-app-reviews",
        "depth_reviews": 10,
        "language_name": "english",
        "location_name": "united states"
      },
      "credentials": {
        "dataForSeoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a8aed384-0994-4d94-a9fa-f9f25c91c986",
      "name": "Get app reviews from App Store",
      "type": "n8n-nodes-dataforseo.dataForSeoAppDataApi",
      "position": [
        208,
        336
      ],
      "parameters": {
        "app_id": "570060128",
        "sort_by": "most_recent",
        "resource": "apple",
        "operation": "get-apple-app-reviews",
        "language_name": "english",
        "location_name": "united states",
        "depth_for_reviews": 10
      },
      "credentials": {
        "dataForSeoApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "530f8cba-fd8f-43cc-9870-f7d69f1e0642",
      "name": "Filter only new reviews",
      "type": "n8n-nodes-base.filter",
      "position": [
        624,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 3,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "f8243ed0-7584-4998-b542-450fc9ac1fc1",
              "operator": {
                "type": "dateTime",
                "operation": "after"
              },
              "leftValue": "={{ new Date($json.timestamp) }}",
              "rightValue": "={{ $now.minus(2, 'day') }}"
            }
          ]
        }
      },
      "typeVersion": 2.3,
      "alwaysOutputData": false
    },
    {
      "id": "e95bbf80-0977-4cf9-898d-2489e914a4f5",
      "name": "Filter only new reviews1",
      "type": "n8n-nodes-base.filter",
      "position": [
        608,
        336
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 3,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "f8243ed0-7584-4998-b542-450fc9ac1fc1",
              "operator": {
                "type": "dateTime",
                "operation": "after"
              },
              "leftValue": "={{ new Date($json.timestamp) }}",
              "rightValue": "={{ $now.minus(2, 'day') }}"
            }
          ]
        }
      },
      "typeVersion": 2.3,
      "alwaysOutputData": false
    },
    {
      "id": "2823242f-7d8e-4178-b868-1dab49fdc187",
      "name": "Structure review data for a task",
      "type": "n8n-nodes-base.set",
      "position": [
        832,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "66135948-34f8-4749-b6f8-66b4715d9909",
              "name": "review",
              "type": "string",
              "value": "=Review {{ $itemIndex + 1 }}:\nRating: {{ $('Split Out (items)').item.json.rating.value }}\nDate: {{ $('Split Out (items)').item.json.timestamp }}\nText: {{ $('Split Out (items)').item.json.review_text }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "d4a3e5b8-3bf9-476b-9dc3-60d6792c4214",
      "name": "Structure review data for a task1",
      "type": "n8n-nodes-base.set",
      "position": [
        816,
        336
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "66135948-34f8-4749-b6f8-66b4715d9909",
              "name": "review",
              "type": "string",
              "value": "=Review {{ $itemIndex + 1 }}:\nRating: {{ $('Split Out1 (items)').item.json.rating.value }}\nDate: {{ $('Split Out1 (items)').item.json.timestamp }}\nText: {{ $('Split Out1 (items)').item.json.review_text }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "54960567-e810-4a35-ac2b-57ac10a9b222",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -544,
        -80
      ],
      "parameters": {
        "width": 448,
        "height": 560,
        "content": "This workflow checks for new app reviews on Google Play and App Store daily using the DataForSEO App Data API and automatically creates a ClickUp task for each platform when new reviews are found.\n\n## How it works\n1. Triggers on a daily schedule.\n2. Fetches app reviews from Google Play using the DataForSEO App Data API.\n3. Filters out only new reviews.\n4. Aggregates new reviews and creates a ClickUp task with review content.\n5. Repeats the same process for App Store reviews.\n6. Creates a separate ClickUp task for new App Store reviews.\n\n## Setup steps\n1. Create or select your DataForSEO connection (use your [API login and password](https://app.dataforseo.com/api-access)).\n2. Specify your app ID, location, and language for both Google Play and App Store nodes.\n3. Connect your ClickUp account.\n4. Configure your ClickUp workspace, space, folder, list, and task details.\n5. Activate the schedule trigger.\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "binaryMode": "separate",
    "availableInMCP": false,
    "executionOrder": "v1"
  },
  "versionId": "57afac9c-f3a1-40ae-b027-6b0e0940174b",
  "connections": {
    "Aggregate": {
      "main": [
        [
          {
            "node": "Create a task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "Create a task1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": " Get app reviews from Google Play Store",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get app reviews from App Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out (items)": {
      "main": [
        [
          {
            "node": "Filter only new reviews",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out1 (items)": {
      "main": [
        [
          {
            "node": "Filter only new reviews1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter only new reviews": {
      "main": [
        [
          {
            "node": "Structure review data for a task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter only new reviews1": {
      "main": [
        [
          {
            "node": "Structure review data for a task1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get app reviews from App Store": {
      "main": [
        [
          {
            "node": "Split Out1 (items)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structure review data for a task": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structure review data for a task1": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Get app reviews from Google Play Store": {
      "main": [
        [
          {
            "node": "Split Out (items)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}