Skip to main content

Can I parse data from DOCX attachments?

Overview

Yes, Mailparser allows you to extract data from DOC and DOCX email attachments.

You can use this to pull:

  • Text content
  • Table data
  • Specific fields from Word documents

This works the same way as parsing data from an email body, using parsing rules.


How It Works

Mailparser processes the email and its attachments together.

  • The DOCX file is ingested with the email
  • You create parsing rules that target the attachment instead of the email body
  • Filters are then used to extract the data you need

How to Use It

Step 1: Send an Email with a DOCX Attachment

Forward or send an email with a .doc or .docx file to your Mailparser inbox.


Step 2: Create a Parsing Rule

  1. Open your Mailparser inbox
  2. Go to the Rules tab
  3. Click Create New Rule

Creating a new parsing rule in Mailparser for DOCX attachment


Step 3: Set Data Source to Attachment

  • In your rule, set the data source to:
    Attachment

Selecting 'Attachment' as data source in Mailparser parsing rule


Step 4: Filter by File Type

Select the file type to ensure you are targeting the correct attachment:

  • Choose DOC or DOCX from the filter options

Choosing DOC or DOCX file type in Mailparser filter settings


Step 5: Extract Data

Apply filters to extract the data you need, such as:

  • Text values
  • Table data
  • Specific fields

This works the same way as building rules for email content.


Tips

  • Use Filter by type if your emails contain multiple attachments
  • Start by extracting full text, then refine with additional filters
  • Ensure your documents have a consistent structure for best results

When to Use This Feature

Use DOCX parsing when:

  • You receive structured data in Word documents
  • Information is not available in the email body
  • You want to automate data extraction from attachments

Summary

Mailparser supports parsing data from DOC and DOCX attachments by treating them as a data source.

By selecting Attachment and applying filters, you can extract structured data from Word documents just like you would from an email.

Was this article helpful?
0 out of 0 found this helpful

Still stuck?

Send us your inbox name and a sample email.

Submit a request