N8n volume attachment to store workflows json files to appear in UI

i have a task to attach volume to n8n deployment in eks to store workflows json files. i was able to successfully do that part, i have mounted it to /home/node/.n8n directory, and i see my json files.

ideally i was hoping i will be able to see my workflows in n8n UI, that my json files from the volume would reflect in UI, but i dont see them.

my ? is- IS IT EVEN POSSIBLE? if yes, could you help me, please! any suggestions would be helpful! Thank you !

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hey @Naki,

Welcome to the community :raised_hands:

We store and load the workflows from the database rather than a directory on the filesystem, What are you actually trying to do by storing the workflows outside of the database?

One thing you could do to load your workflows would be to use the cli to import them, you could probably automate that as well using the Local File Trigger in n8n to start a workflow to import when a file is added to your path although I wouldn’t use the .n8n directory for that.

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