Writing file for simple workflow

Hi

i am using a docker which is mapped to my local directory. i tried to perform write but i can’t see where it is written.

docker run -it --rm \
	--name n8n \
	-p 5678:5678 \
	-v ~/.n8n:/home/node/.n8n \
	n8nio/n8n

Start- Execute Command (date) - Writespreadsheet (which i defines my local directory with a filename and set to write mode).

However, other than successful run of the workflow, there is nothing written. can please advise? thank you

You have to mount a folder first to which you can write to. Similar as described here in the Server Setup Guide:

So in your case, you could add something like: -v /home/<YOUR USERNAME>/n8n-local-files:/files. You can then write inside of n8n to /files and it would then show up on your host under /home/<YOUR USERNAME>/n8n-local-files.