Merge/Compare dataset nodes not reading the second input. HELP!?!?!?!

I am trying to remove duplicate items from this flow. I have tried multiple methods and I am always open to new suggestions. In this case I have tried both a merge node and a compare datasets node. No matter which one I am using the node refuses to read the second input. I have tried using a set node, ive flattened the variable with a code node, ive tried every possible way i can think of and each execution it fails. When debugging I will even drag the variable over from the picker. Once I do this the variable will show green and I can even see it in the preview. But no matter what fails on execution. Any assistance would be greatly appreciated. Only 2/3 items should be passing after merge and I cant get this to work.

I won’t understand what you mean. You can remove the sensitive data, put the workflow on it and I can show it to you. At the same time, add your expected data.

If you want to “sort” between 2 inputs… why “Output type”→”Output Data From” only the 2nd Input?

Sharing the whole workflow will differently help in figuring how to help you with this, so if you can share the workflow with dummy data it will be great, now from the description & screenshots provided, I think what you need to do to remove the duplicate items is to do exactly as you did just after the merge node add another code node and in the code node type the JavaScript code that will remove the duplicate items and then continue the flow and create the leads …etc

I can for sure help you with the code but I need to see the output result from the merge node.