Bug in integration n8n and Apify

Hi @ihortom!
I understood, that in my JSON that goes in http node I use the format, when it writes every link that I have in the google sheet and use it to start Apify actor.
So now I just make a single array of references to run a single actor with all references.
This is the expression of Set node to make a bundle:

{{
  JSON.stringify($items("Google Sheets").map(item => ({
    url: item.json.Link,
    method: "GET"
  })))
}}

Here is the JSON of http node:

{
  "aggressivePrune": true,
  "clickElementsCssSelector": ".jobTitle > a, .job-card-container__link",
  "crawlerType": "playwright:adaptive",
  "debugLog": false,
  "debugMode": false,
  "dynamicContentWaitSecs": 10,
  "expandIframes": true,
  "htmlTransformer": "readableText",
  "ignoreCanonicalUrl": false,
  "initialConcurrency": 5,
  "keepUrlFragments": false,
  "maxConcurrency": 5,
  "maxCrawlDepth": 1,
  "maxCrawlPages": 500,
  "maxRequestRetries": 5,
  "maxResults": 5000,
  "maxScrollHeightPixels": 5000,
  "maxSessionRotations": 10,
  "proxyConfiguration": {
      "useApifyProxy": true,
      "apifyProxyGroups": [
          "BUYPROXIES94952"
      ]
  },
  "readableTextCharThreshold": 100,
  "removeCookieWarnings": true,
  "saveFiles": false,
  "saveHtml": false,
  "saveHtmlAsFile": false,
  "saveMarkdown": true,
  "saveScreenshots": false,
  "startUrls": {{ $json["startUrls"] }},
  "useSitemaps": false
}

But thanks for the help!

1 Like