"extra" variable to access all extra fields in post processing
Based on feedback received, we are improving our Post Processing feature. You now have access to an
extra dict variable when writing your post processing code. This dictionary contains all extra fields, even if they are not enabled in your mailbox.
This allows you, for example, to extract a field using a regular expression from the
HtmlDocument extra field without having the full document content as part of your parsed result.
For example, we are now using this internally to improve the accuracy and data quality of our Doordash managed template. Doordash PDFs can have duplicated line items and the PDF footer gets in the way on multi-page orders. We are using post processing and the
extra["HtmlDocument"] data to extract items and clean totals from the PDF.
Learn more about writing Python code to post process your data.