Skip to main content
Question

How to parse a .html file sent as an attachment?

  • November 22, 2025
  • 1 reply
  • 7 views

I receive an HTML file as an attachment to an email. Sometimes it is accompanied by other PDF files, but I only want to parse and extract data from the HTML File. When I open the file in the browser it looks like this.

 

 

 

 

I want to extract: Line number, Description, Maker Ref (if any) and Qty. To do so, I:

  1. I poll GMAIL
  2. Filter by attachment Mime Type text/html.
  3. Upload to Drive (extra step) to see that this file looks good.

     
  4. I can either try the Formatter by Zapier or AI by Zapier, or both in succession

AI by Zapier does not recognise the Attchamnet


What can I do to successfully read this HTML FILE?

1 reply

AndrewJDavison
Forum|alt.badge.img+11
  • Zapier Solution Partner
  • November 22, 2025

@Ryan Rizzo 

 

Try selecting one of the GPT5 models in the AI step - the error seems to indicate the model it’s trying to use is invalid for attachments.