Document understanding Question on Invoice and Receipt

Hi, I am new to UiPath,

I have created a bot which reads the invoice and receipts using document understanding. I am able to write all the data into an excel sheet. But can anyone help me, where I can create 2 separate excel files for Receipts and Invoices.

Thank you

Hi @Vaibhav_Prahallad
Welcome to the UiPath Community!

You can use the output from ClassificationResult object to detect the type of document. Based on that, put an if check and write the data to two separate excel files.

In order to help you with a more specific answer, would you be able to share your workflow and how you’re storing the data to an excel file?