How to write image to disk (self-hosted) and get the file path

Describe the problem/error/question

I want to get images of my shopify products, resize it with the image node and then upload it to shopify via http request. I used stagedUploadsCreate - GraphQL Admin for creating the upload parameters and url and now I’m trying to upload the file from the used image-node via putting it into a body param (Manage media for products)

My Problem: It doesnt upload the image to shopify

Information on your n8n setup

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

Hi @Wuddy

You will have to share your workflow, so we can check the configurations you have made.
Are you getting any errors?

Tip for sharing your workflow in the forum

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!


Hi @ria

please find below the workflow

Is used it for the following Topics:

  1. Manage media for products
  2. Product Image - REST

Ah so you were passing a JSON in the request body, but you need the binary file: