Silent Dot-Notation Restructuring Detector with Safe Relocation
Loading workflow…
Workflow Description
A manual-trigger workflow loads fictional test data mixing literal dotted keys like user.name with original nesting. A Code node maps every dotted key, identifies its artificial nested path created by n8n dot notation, and relocates the value to a safe flat key (dots replaced by double underscores) with a full relocation log. An If node verifies every value sits at its correct key and original nesting is intact, routing failures to a deviation report, then a Merge node appends both branches into one final audit report.
How it works
- 1.Click Execute on the Manual Trigger to load two fictional records: one with dotted keys plus original nesting, one empty edge case
- 2.The Code node analyzes keys, builds artificial paths, safe keys, and a relocation log
- 3.The If node verifies every value is at its correct location and original nesting is intact
- 4.Success branch: Set stamps PASS retaining all fields, then NoOp
- 5.Failure branch: a deviation report counts missing and misplaced values
- 6.Merge appends branches and a final Code node builds one consolidated audit report
Use cases
- Auditing Set node output before downstream use when keys contain dots such as file names or IDs
- Separating original nesting from artificial dot-notation nesting
- Producing an auditable relocation log before further processing
Requirements
- n8n version 2.48.7
- No credentials needed: only Manual Trigger, Code, Set, If, Merge, NoOp and Sticky Note nodes
- For real data, replace the loader node payload with your Set node output of the same schema
Setup and testing in n8n
- Import the JSON into n8n and open the workflow
- Execute the Manual Trigger and confirm one final item with all_values_placed=true and 3 relocations
- Edge case: edit the loader to simulate a lost value so the deviation branch activates
- Confirm the empty record passes with zero relocations
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (9)
Manual Trigger
Manual Trigger
Load Fictional Test Payload
Code
Detect and Relocate Dot-Notation Keys
Code
All Values Verified
If
Finalize Verified Flat Record
Set
Ready For Downstream Use
No Op
Build Deviation Report
Code
Append Success and Deviation Branches
Merge
Build Final Audit Report
Code
Sticky: Stage Overview
Sticky Note
Sticky: Verification and Routing
Sticky Note
Sticky: Final Merge
Sticky Note
Fresh workflows, straight to your inbox
Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.
- New workflows
- Clear overviews
- Setup guides