Write to Binary File in n8n Docker

Hello.

I am concatenating a few fields from a slack trigger input and trying to log them to a csv file for later analysis.
My workflow is as follows:
input json request → Set Fields node (extract the 4 fields i need) → convert to file node (convert json fields to csv) → Read/Write files from disk (append lines to a request_history.csv file)

I tried looking for the file in the docker n8n shell using “docker exec -it n8n sh” and then running a ls -lah within that shell. I could not file in the location where the n8nEventLogs live.

Is the Binary file written to a different location?
How can I access it from within the docker shell or from the outside via /tmp/n8n?

My n8n setup

  • n8n version: 1.82.3 Self Hosted
  • Database: SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via: Docker
  • Operating system: AWS Linux

hello @Bharat

What is your docker config?

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