Skip to main content

Can I set a default value for parsing rules that do not return data?

Many customers require the ability to set a default (or fallback) value of a parsing rule in case the filters put in place do not return any data. For this need we created the set default values filter: Setting a default value filter in a mailparser.io parsing ruleMaking a phone number parsing rule for example, you can see below the default value does not affect the rule if a value is present:

Parsed phone number present so default value is not used

If the previous filters do not return data, the default value will now become the parsed data:

Default value applied when no phone number is parsed

New Design

Step 1:New design - Step 1 to add default value filter

Step 2:New design - Step 2 entering default value in filter setup

Step 3:New design - Step 3 showing default value applied in final output

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