Hello!
I’m new to n8n and I’m trying out a very simple workflow: URLs to files from a webhook should be downloaded and saved on my Nextcloud. I also use the “Split Out Items” node at the beginning to only extract certain URLs from the json file of the webhook.
But I have 2 problems:
How do I define the “HTTP Request” node to download all URLs from the output of the “Split Out Items” node?
OK, I’m answering myself again.
I figured out that the “Http Request”-Node works correct with internal looping when the output from the previous node looks like this (I changed the output manually, it shows up as 4 items):
in the “HTTP Request” URL-Field and it works as it should.
But, how can n8n convert the following output from the “Split out items”-node (1 item) to look like above (4 items)? This is the JSON that needs to be converted:
And once again I have to answer myself. To perform the array conversion mentioned above, I had to write some code, the “Edit Field” node was unable to do this.