I am trying to create folders and subfolders for each month of the year. Dropbox’s “Create Folder” action throws an error if the folder already exists, so I’m trying to list the folder and then create it if there’s an error.
What is the error message (if any)?
The output of nodes prior to the dropbox list folder node is lost.
I know some modules break the link between input and output if there isn’t a clear matchup, but this should be a very clear one input to one or more outputs.
I thought the connection might be getting lost because all of the rows I care about come from “Continue on fail” situations. But I get the same problem if I connect the create folder node to the false output of the IF node.
I tried that. At least on the items that had the “error” element set, there was no .item within $(‘Full Folder Path’). I tried to illustrate that in my post in one of the screenshots above - when I enter {{ $(‘Full Folder Path’) }} the object is empty - you see Object: [{}] in the screenshot. When I entered {{ $(‘Full Folder Path’).item }} it gave me some kind of evaluation error that I didn’t screenshot.
I worked around this by just creating the folders and ignoring the error message when the folder already exists. But the bigger question - and one I find myself asking in a lot of N8N scenarios - is “why does the connection with upstream data get lost past this module?” In this case it shouldn’t be happening (as your fix shows) but it was happening for me and very confusing.
Happy to help dig into this and figure out why I was seeing what I was seeing and whether that’s the correct behavior or not.