Searching Drive for a file then uploading to a specific folder based on result. Binary data issue

My workflow is taking a webhook request, running the data through a PDF creation, converting it to Binary data and then uploading that PDF into Google Drive. V1 worked just fine, but then I need to add a duplicate check in the mix.

I’m using the Drive Node “search folder” to then determine if the filename of the HTTP request is currently in Google Drive. If it IS, then it needs to go to a “duplicate” folder. If it doesn’t, then it goes to a “digital” folder.

The issue is the IF node removes the binary data that needs to be uploaded, and I can’t reference the HTTP node for the upload since it’s several nodes back. I’ve been talking with the AI assistant but I feel like I’m going in circles.

Are my set ups incorrect with the nodes, or is there a different/better way to do this? Is this even possible?