Parsing text from attached files

See also:
Multiple step parsing
Example. How to capture data from an attached CSV
Example. Parsing an attached PDF file

The content of attached files is not available by default in a field like the rest of the email data (Subject, Body, From… etc). You need to create a special field where the content of the file will be stored. This type of field is called “Attachment reader” as seen below:

reading an attached pdf file

You can name the field as you want. In this case, we have used attached_file_content but you can use any name.

The rest of the parameters are usually left as default. But if you expect to receive more than one attachment in the same email it is useful to set a filter to prevent Email Parser from opening and reading all the attached files.

Once we have the text of the file in a field, the next step is to use it for parsing. This is done using this field as input of another field:

parsing from a pdf file

© 2008-2021 FrozenFrog Software  ·  Privacy Policy & Terms of Use
PAD file  ·  Old email parsing forums (now read only)