File Parsing
Acris allows you to parse files and extract data. This is useful if you want to extract data from files like Invoices, Receipts, etc.
- We first create a new step and add instructions to parse the file.
- Then we create a new Input by typing the @ symbol and typing the name of the file.
- We click on the input and change its type to File.
- We run the flow and select a file to parse.
Extract Data as Structured JSON
We can extract the data as structured JSON. This is useful if we want to use the data in our app. To do this, we first set the step to JSON type.
We define the JSON output structure and run the step to make sure it works: