Power automate compose if condition. The complete flow looks like below.