Parsing data from attached PDF files is as simple as parsing data from the body text of an email. All you need to do is to set the data source of your parsing rule to "Attachments"
You can also extract information from .zip attachments - attached files that are zipped will automatically be unzipped when imported into Mailparser, and parsing rules can then be created for attachments to extract the data you want. Keep in mind that the zip file would need to be unencrypted before being attached and sent to Mailparser.
Then choose "Text content" in the first filter. This will give you the text content of the attached PDF file. (If your email has multiple attachments you may also need to use the option to Filter by type or Filter by name pattern)
Once you have the text extracted you can chain up multiple text filters to isolate a data variable. This works exactly as parsing data fields from the body text of an email.
Read more in our ' parsing data from email attachments' blog article. Also, we recently launched Docparser, our most agile solution to extract data from PDF, should you need more features in your PDF parsing.
New Design
Step 1:
Step 2: