Skip to main content
New Participant
Jun 18, 2025 7:41 AM UTC
Question

Receive Message Attachment

Hello, I am trying to capture the attachments sent by email when starting a process by email is configured. I have tried to store in a variable (multiple) of type document the following data but the variable remains null:

- fn!property(msg!properties,"attachment",null())

- fn!property(msg!properties,"Attachments",null())

And I also tried just msg!properties.Attachments but I get this error by email:

    3 replies

    meghar3159
    Participating Frequently
    Jun 18, 2025 8:03 AM UTC

    Try accessing msg!properties.AttachmentErrors This can help identify if there were any issues while processing the attachments in the incoming email. It can be a way to debug and check if Appian had trouble extracting the files.

    stefanhelzle0001
    Brainy
    Jun 18, 2025 8:44 AM UTC

    Seems like this email does not have any attachments.

    Did you follow the guidelines in the documentation regarding setting up incoming email in processes?

    Inspiring
    Jun 18, 2025 10:08 AM UTC

     [mention:1407643b23c24109b546c3ec9278acc3:e9ed411860ed4f2ba0265705b8793d05] Ensure that you configure the Process as a public trigger. You can do this in the Process properties by selecting "Allow anyone to fire triggers." Additionally, specify the attachment folder where you want to store the files.

      Receive Message Event - Appian 25.2