Hi @Prathameshpatka ,
You could refer to screenshot below to create the flow:

The first expression in the Condition as below:
formatDateTime(outputs('Date_of_visit'),'yyyy-MM-dd')
The second expression in the Condition as below:
formatDateTime(addDays(utcNow(),-1),'yyyy-MM-dd')
Best Regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.