Pipedrive node: search an organization, if not found, create one

So the easiest solution would probably be to move the “sub” loop into for your person search its own workflow and then call this “child” workflow from your main workflow using the Execute Workflow node.

If you don’t want to use sub workflows you’d need to use the Reset option on your second SplitInBatches node. This can easily get confusing though. Check this thread for an example of how to use the option: Multiple SplitInBatches nodes not working - #6 by jan

Edit: Or lastly, and after re-thinking this it might actually be the “cleanest” solution, merge your multiple executions into a single execution after you have finished searching your organizations and before you start the next loops:

The final loop will then run three times again: