Trying to do a simple action of duplicating one sharepoint list to another list.
Both source (QuoteLogs) and destination (QuoteLog Read only) list have the same exact column and data type.
The idea is that any newly created item or any item get modified on the source list should be copied to destination list.
As you can see the source list have a few items on it and the destination list is empty

Below is the flow that I created but still not working:
Trigger start when a new item created on the list or if existing item get modified.
It will then look for the destination list in order to do a comparison between each list Quote No.

If Quote No from each list is the same then it will do an update item on the destination list instead of creating a new item
If both quote number is not the same then it should do create item on the destination list. 
However when I run the flow, it come up with "the input array is empty". At this point I'm a bit lost as i've tried other suggestion using empty or length function but i never could not get it to work maybe because i got the logic wrong or something.

Any help will be appreciated. Thanks