Download image from http request

Hi i would like to read my googlesheet column and download the image that is associate to an image url. It’s the reason why i used http request module in order to get the image in binary file, but after that i tried to send images to google drive in order to keep it. BUT, when i tried this workflow on more than 300 image it’s took a lot of time… do you think that there is a way to make it faster ? or wht do you think about my worflow ?

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:

Hey @pierre_p

I suspect you will see memory issues if you are downloading lots of files, I would move the http request, code, google drive upload and sheet update to a sub workflow that way after each file the memory is cleared a bit.

thk you so much for you answer Jon ! what do you mean by sub workflow ?`{

@pierre_p you can copy the nodes to a new workflow and use the execute workfllow node to call it

Ok :slight_smile: i’ll will try ! thk you so much for your anwser ! :wink: i’ll tell you if it’s working :wink: