The automation should be able to check if the designated "contact" within the thread is from the same company. If so, it should skip to the next sender in the thread until it finds an external customer/client.