You can look at the contentType of the attachment. In this example, the decision action is checking to see if there is an attachment, and if so the switch action is switching based on the type of the 1st attachment.
The Switch expression is
Email.Message.attachments[0].contentType
Case 1 is for pdf documents.
Case 2 is for Word 2003 or earlier documents.
Case 3 is for Word 2003+ documents. The full value is application/vnd.openxmlformats-officedocument.wordprocessingml.document
You can add more cases for other document types.
------------------------------
Melissa Bailey
Genesys - Employees
------------------------------