Lost Pinned Webhook Data

Describe the problem/error/question

I had several webhooks pinned in my n8n workflow, which allowed me to access and use specific data efficiently. After trying to copy the workflow in the editor, all the pinned data disappeared. The execution history didn’t help recover the values since they weren’t tied to any executed node. Is there a way to recover the lost data or prevent this issue from recurring? Any advice or similar experiences shared would be greatly appreciated.

  • Running n8n via n8n cloud

Hi @Gabriel_Fontes Welcome!
Pinned data lives in the saved workflow itself, not in the copied nodes and not in execution history, so copying the workflow in the editor produces a clean copy with no pins, and there’s nothing in Executions to pull it back from. The recovery route is Workflow History, since a version from just before the copy still holds the pins. On Cloud Pro you have the last 5 days of versions (last 24 hours on the free plan)

  1. Open the original workflow.
  2. Select Workflow history (the clock icon in the header).
  3. Pick the version from just before you copied it, select Options, then Restore version or Clone to new workflow.

To avoid this next time, don’t copy nodes to duplicate a workflow. Use Workflow history > Clone to new workflow, or Download the workflow as JSON before structural edits. Both keep the pinned data.