Email Parser

Extract data from incoming emails and automate your workflow

MENUMENU
DOCUMENTATION TOPICSDOCUMENTATION TOPICS

Capturing an HTML tag

The email body usually comes in HTML format in order to support different font types, sizes, colors etc. You can take advantage of this to capture a specific part of the email. The typical elements of an HTML tag are the following:

the anatomy of an HTML tag

 

The parsing method “Capture HTML tag” allows you to identify the text you want to capture via these elements:

 

 

For example, in this email:

 

 

The estimated delivery date is bold and the size is a bit larger than the rest of the text. Let’s take a look at how the HTML code looks like in the Processed emails tab:

 

The text “Tuesday, October 21, 2014” is inside a <td> tag with some special styling. We take advantage of this and set up “capture HTML tag” as following:

 

You will find that configuring this capture method requires a lot of trial and error. Usually, more than one HTML tags share the same styling and/or class names and you have to tweak the different options that Email Parser gives you in order to find what HTML styling differences the text you want to capture from the rest.