{
  "name": "AusBizStack – ATS Detector & Careers Page Hiring Signals → Google Sheets",
  "nodes": [
    {
      "parameters": {},
      "id": "a1",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/acts/ausbizstack~b2b-hiring-intent-ats-careers-enricher/run-sync-get-dataset-items?timeout=300",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"domains\": [\n    \"stripe.com\",\n    \"canva.com\"\n  ]\n}",
        "options": {
          "timeout": 300000
        }
      },
      "id": "a2",
      "name": "Run Apify Actor",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        240,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "",
          "name": "Apify API (Authorization: Bearer <token>)"
        }
      }
    },
    {
      "parameters": {
        "jsCode": "return $input.all().map(i => { const o = {}; for (const f of [\"domain\", \"companyName\", \"atsProvider\", \"isActivelyHiring\", \"openRolesCountEstimate\", \"hiringVelocityTier\", \"hiringDepartmentsDetected\", \"sampleOpenJobTitles\", \"hiringLocationsDetected\", \"remoteOrHybridSignals\", \"hiringIntentScore\", \"recruiterLeadScore\"]) { const v = i.json[f]; o[f] = Array.isArray(v) ? v.join(', ') : (v ?? ''); } return { json: o }; });"
      },
      "id": "a3",
      "name": "Flatten for Sheets",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        480,
        0
      ]
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "mode": "url",
          "value": "https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID"
        },
        "sheetName": {
          "__rl": true,
          "mode": "name",
          "value": "Results"
        },
        "columns": {
          "mappingMode": "autoMapInputData",
          "value": {}
        },
        "options": {}
      },
      "id": "a4",
      "name": "Append to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        720,
        0
      ],
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "",
          "name": "Google Sheets account"
        }
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Run Apify Actor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run Apify Actor": {
      "main": [
        [
          {
            "node": "Flatten for Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Flatten for Sheets": {
      "main": [
        [
          {
            "node": "Append to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {}
}