Export Workflows with workflow names as file names

I’d like to export my workflows, essentially with the --backup flag, but rather using the workflow name instead of the id as the file name.

Is this possible? Or would I need to write a custom script to modify the files once exported?

n8n version: 1.24.1
Database: Postgres
Running n8n via Docker
Operating System: Ubuntu

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:

Hello @dingo-dev. Use the export option on the UI on the workflow tab.

I see - and using the UI export option is the only way?

I’d preferably like to do this with the CLI.

Unfortunately, this doesn’t seem possible.

A script to rename files based on workflow names seems to be the simplest solution.

This is probably the best option or use the API to export the workflows and save them with the correct filename.