Writing instructions manually
See how to write parsing instructions manually to handle edge cases or customize parsing logic.
While Custom Parser helps you automate data parsing with AI-powered features, you can also write parsing instructions manually using CSS and XPath expressions. This gives you the option to handle edge cases or customize parsing logic for specific scenarios.
Custom Parser requires these mandatory parameters when creating a job:
parseset totrueparsing_instructionscontaining a JSON object with your extraction rules
Once you're happy with your custom parsing logic, you can save the instructions as a reusable parser preset.
Check out our comprehensive guides below, where you can find practical examples, best practices for XPath expressions, and a complete reference of all available parsing functions.
Parsing instruction examplesTips for writing XPath expressionsList of parsing functionsParsing function examplesLast updated
Was this helpful?

