title: Azure Logic Apps: Check for file type
body: <p>I setup an Azure Logic App that checks for newly created files in a OneDrive folder and then sends these (images) to the MS Vision API for tagging. This flow works fine.</p>
  
  <p>How can I setup a condition to only react on a specific file type (images) or even better only when the file has a certain file ending, like ".jpg", ".png" etc.?</p>
  
  <p>I tried to setup a condition on the "File content type" but couldn't figure out the appropriate value for the condition ("image" doesn't work). </p>
  
  <p><a href="https://i.stack.imgur.com/SfAcK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SfAcK.png" alt="enter image description here"></a></p>
  
  <p>I couldn't find any hints on the webs and neither on SO. Any help is very much appreciated.</p>