Edit static workflow data (workflow variables) from UI

The idea is:

You should be able to see and edit or remove any of your global or node-specific static workflow data from the UI. I have found that it only gets saved during non-test-runs, so in order to clear any saved variables, I must run a release run where I only execute a Code block which deletes the data.

It would be great to be able to edit these variables in a settings menu.

My use case:

I use the workflow static data to keep track of my the state of my workflow as it runs on a schedule. In order to reset all of the state of the workflow, I must reset the workflow static data variables. The only way I’m aware to do this is by editing the workflow document using a text editor or to add a Code block, write in the variables to delete, and change my workflow to only run that node on the schedule.

This is inconvenient as you can see.

I think it would be beneficial to add this because:

It improves the usability of the application and user experience when working with variables.

Any resources to support this?

Are you willing to work on this?

I don’t think you would want me to write JavaScript. I just had to look up the syntax of console.log

I developed a community node for n8n, named n8n-nodes-globals, that might be helpful in your workspace replacing static node variables.

Usage example:

Please test this node and share your experiences or suggestions.

Github repo: GitHub - umanamente/n8n-nodes-globals: N8N community node that allows users to create global constants and use them in all their workflows

1 Like

Would also like this feature!