Add “Unpin All Nodes” option to clear pinned data in a workflow

It would help if there was a simple option to remove pinned data from all nodes in a workflow at once.

Currently, pinned data is very useful during debugging and workflow development. However, after testing is finished, you need to manually open each node and click “Unpin data”.

In large workflows with dozens or even hundreds of nodes, this becomes time-consuming and inconvenient.

My use case:

I often work with large workflows and pin data in many nodes while debugging. After finishing testing, I need to clean the workflow before production use, and removing pinned data node by node takes unnecessary time.

A global option such as:
• “Unpin All Nodes”
or
• “Clear all pinned data in workflow”

would make workflow cleanup much faster.

Possible implementation ideas:

  • A button in the workflow editor menu
  • A command in the Command Palette
  • A workflow context menu option

Any resources to support this?

Pinned data documentation:

https://docs.n8n.io/workflows/executions/pinning-data/

Are you willing to work on this?

I am not a TypeScript developer, but I am happy to help test the feature or provide feedback.

This would be especially useful for workflows with many nodes during debugging.

Have you tried ctrl + a and P?

Exactly, thank you! I didn’t even think about the combination, I was looking for the function in the context menu :wink: