Is there a way to tell the Email Parser to ignore all subsequent text that appears after a specific value in an email?
Our Outlook attaches long legal disclaimers after the “yours ...” salutation, that I do not need to parse, and in some cases causes the wrong value to be extracted.
I’m currently sending value pairs like:
but the parser can be hit and miss.
I can send a more rigid form like XML or JSON or pipe delimited, would be interested in learning if there is a 100% guaranteed way to assure the email body data is extracted properly from an email.
Best answer by nicksimardView original
Unfortunately not - the Zapier Parser aways examines the whole body text of the email. There isn’t a way to apply more nuance.
Would you like me to flag this post so someone from the Zapier team can add your vote to a feature request?
Yeah thanks Andrew, I think that would be a good feature.
Consider using a more robust email parser such as Mailparser: https://zapier.com/apps/mailparser/integrations#triggers-and-actions
Alternatives, a more advanced approach would be to use a Code step with custom code to parse out the desired data points.
I created that feature request for you and added your vote for it :)
Thanks for the feedback, we’ve opted for Parseur in the end as it provides an excellent interface into Zapier and allows us to create concise templates that are constrained by specific values (which is neat). Zap and Parseur working nicely together now.