Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Email Attachment Type Routing

    Posted 06-13-2019 21:47
    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?

    Architect Email attributes
    #Routing(ACD/IVR)

    ------------------------------
    Thanks and regards
    Samuel Polgar
    CVT (Global) Pty Ltd
    ------------------------------


  • 2.  RE: Email Attachment Type Routing
    Best Answer

    GENESYS
    Posted 06-14-2019 11:03
      |   view attached
    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
    ------------------------------



  • 3.  RE: Email Attachment Type Routing

    Posted 06-15-2019 22:51
    Hello Melissa

    Hope you are well.

    Sincere thanks and appreciation for your assistance.

    That is extremely helpful for us.

    ------------------------------
    Thanks and regards
    Samuel Polgar
    CVT (Global) Pty Ltd
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources