One suggested alteration to S-Venkadesh's solution. Instead of using a Compose you could add this check as a Trigger condition. Then the flow wouldn't even run if the message was a reply.
----------------------------------------------------------------------------------
If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!
Paul Papanek Stork, MVP
Blog: https://www.dontpapanic.com/blog