The Post-processing step allows you to modify parsed data before exporting it to webhooks, Zapier etc. Write Python code to add custom formatting and business logic: merge or split fields, format dates, prevent some documents from being exported and much ...
Prevent a document from being exported If you don't need to export some of the parsed documents (typically, based on a certain condition), simply return None. This will mark the document as "Skipped." Skipped documents aren't exported to Webhooks, Zapier ...
Let's say you have a books array: # data['books']: [ { "name": 'Book 1', "price": 44.99, "qty": 1 }, { "name": 'Book 2', "price": 9.99, "qty": 3 }, { "name": 'Book 3', "price": 24.99, "qty": 2 } ] "For" loops At the post-processing step yo ...