I am Facing error in loop

I used the Google sheet to top 10 search results from Google search and scrape the data from search results. Afterwards, I want to send these data to the AI to process my data and give me the results I desire. But I am facing an error in the loop. it is working for a single link not multiple. can anyone help me to solve these problems.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

You actually don’t need a loop node here, you just need to parse the output of ‘HTTP Request’ and return a list, then the workflow will run over each item in the list automatically for the following nodes.

but it will be confusing if we are running multiple keyword. I am using google search API for getting me the link so what should i do? I am beginner and i don’t have much experience in the automation flow.

One way you can avoid confusion is you can put the nodes inside of the loop into its own workflow so that it runs once for every keyword. To achieve this, make a new workflow and put your inner loop in there, then, directly after your ‘HTTP Request’, call the ‘Execute Workflow’ trigger with the new workflow’s ID.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.