Having trouble making a Invoice flow that takes them from Netsuite to Salesforce

I have the flow running off of a saved search in NetSuite that gets new invoices daily. The exporting from NetSuite process seems to be working fine but the importing to salesforce there seem to be some issues. The records that are failing are the ones where the company doesn’t exist inside of salesforce. Is there a way to make a condition so if the company doesn’t exist then create a record for that company in Salesforce? Also, the invoices related to companies that are already in Salesforce it still does not go through. Any ideas? Also cant figure out how to attach the invoice to the correct Order in Salesforce.

P.S: Accounts = Company for our Salesforce environment so those two are interchangeable.