Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Email Attachment Type Routing

    Posted 06-13-2019 21:47
    No replies, thread closed.
    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

    Posted 06-14-2019 11:03
      |   view attached
    No replies, thread closed.
    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
    No replies, thread closed.
    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
    ------------------------------