{
  "name": "Google Play app reviews to Google Sheets every morning",
  "nodes": [
    {
      "parameters": {
        "content": "## Google Play app reviews to Google Sheets every morning\n\nEvery morning, fetch the latest Google Play reviews of the apps you list, with rating, text, version and date, and append the rows to a Google Sheet.\n\n### Setup (3 minutes)\n1. **Apify token** - create a free account at apify.com and copy your API token (Settings > API & Integrations).\n   In the **Get Google Play reviews** node, create a *Header Auth* credential: name `Authorization`, value `Bearer YOUR_TOKEN`.\n2. **Google Sheets** node - connect your Google account and paste the URL of an empty sheet. Columns are created from the data automatically.\n3. Edit the JSON body of **Get Google Play reviews** with your own inputs, then activate the workflow.\n\n**Cost:** $0.10 per 1,000 reviews. `maxTotalChargeUsd` in the body is a hard cap per run.\nActor: https://apify.com/om_kh/google-play-store-scraper",
        "height": 460,
        "width": 460
      },
      "name": "Setup",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -540,
        -160
      ],
      "id": "3d73bd80-8671-4451-aea1-8d4b0346527a"
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "days",
              "daysInterval": 1,
              "triggerAtHour": 8
            }
          ]
        }
      },
      "name": "Every morning",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        0
      ],
      "id": "3a654464-509f-4ca7-872f-adce52c260d9"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/acts/om_kh~google-play-store-scraper/run-sync-get-dataset-items",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"apps\": [\n    \"com.whatsapp\"\n  ],\n  \"maxReviewsPerApp\": 300,\n  \"maxTotalChargeUsd\": 0.5\n}",
        "options": {
          "timeout": 300000
        }
      },
      "name": "Get Google Play reviews",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        260,
        0
      ],
      "id": "d21fe986-ed2e-4267-8827-4554e8106c0e"
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "mode": "url",
          "value": ""
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0"
        },
        "columns": {
          "mappingMode": "autoMapInputData",
          "value": {},
          "matchingColumns": [],
          "schema": []
        },
        "options": {}
      },
      "name": "Append to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        520,
        0
      ],
      "id": "54580235-c8be-439f-9ebe-bd729bac5207"
    }
  ],
  "connections": {
    "Every morning": {
      "main": [
        [
          {
            "node": "Get Google Play reviews",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Google Play reviews": {
      "main": [
        [
          {
            "node": "Append to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false
  }
}