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
------------------------------
Original Message:
Sent: 06-13-2019 21:46
From: Samuel Polgar
Subject: Email Attachment Type Routing
Dear PureCloud
Hope you are well.
Please may I ask if it's possible to route based on the email attachment type, e.g. PDF, DOC, etc?
I found in the Architect an attachments field that may help. Is there any information about these attributes please?
#Routing(ACD/IVR)
------------------------------
Thanks and regards
Samuel Polgar
CVT (Global) Pty Ltd
------------------------------