I have a headless flow that runs when a new user is created*. It looks up the users email address via a record lookup/contact search. If no contacts exist with that email address a new contact is created. This works great for a single user however if I run the flow for all users in the system (approx 200) I get the too many SOQL query error. I can get around it by reducing the batch size on the data loader but I would rather not have to do this. From what I gather, this is because the process builder does not allow for bulk operations.
My question is will the update mentioned here solve this issue? In summary, the process builder will be able to cope with bulk operations. Or is it because my flow does not use fast lookup/updates? My understanding is that flow interviews will take care of bulkifying the flow but I'm not 100% on this.
Any clarification on the above would be a huge help as I have to build 2 more of these for different use cases.
Thanks
*Flow is triggered when a checkbox is marked as true. In order to avoid the mixed DML operation error relating setup and non setup object, a time based workflow rule is used to update the checkbox one hour after the user is created.