Test Drive
Document AI Test Drives
Business Document Fields & Line Items Extractor
introduction in this test drive, you will explore how cloudfiles document ai integrated with salesforce flows can automatically process business documents — such as purchase orders , invoices , quotes , or any other structured document — and intelligently extract key information refer to the below video to understand what to expect in this test drive the setup will automatically identify the type of document (po, invoice, quote, etc ) extract important fields like document number , document date , total amount , company name , and a document description if the document contains line items , it will parse and create child line item records linked to the parent business document record the entire flow is automated using cloudfiles document ai and salesforce automation this test drive takes less than a minute to complete instructions follow the steps below to test the setup go to the business documents tab and create a new record no additional input is required — just save it upload a document (purchase order, invoice, quote, or other) into the files related list in any format (pdf, docx, or image) wait a few seconds for automation to trigger refresh the page to see the updates check ai output cloudfiles ai will classify the document and update the document type field to one of purchase order , invoice , quote , or other other fields such as document number , document date , total amount , company and document decsription will also be auto populated on the business document record if the document includes line items (e g , from a po or invoice), you will see related line item records created showing item name , quantity , unit price , and line amount optional process external files if you want to see how cloudfiles document management & sharing docid 3gglz90lgx5zfwkrgm7ra works alongside document ai docid 9sebvqewr6cmi0b ljbsc to process external files, like sharepoint files, upload the documents via the cloudfiles widget in external files tab of the record (if don't see a folder connected in the widget, simply refresh the widget or the page) implementation this demo is powered by salesforce flows with the following salesforce file attached docid\ cnswhxyiaabekamvbfxon process document using ai docid 31ujx1ligtkwfkjuanbzt , and query document docid\ dm3eh gzaocyoqd5y0r8d cloudfiles document ai handles classification, summarization, and extraction, while a platform event triggers updates once processing is complete for more information, please refer to document ai tutorials docid\ k89awfijxxjssysaajwcr , batching ai queries docid\ zksvscjvldxl4f7nf3ix9 and line item extraction docid\ jdgphodrgv7sqwy32xrwk beyond this test drive this demo showcases a single workflow, but the capabilities of cloudfiles document ai extend far beyond simple classification and extraction by combining ai powered document understanding with salesforce automation, you can build scalable, intelligent workflows across departments here are a few advanced applications contract intelligence & summarization summarize contracts and extract key obligations, renewal dates, or termination clauses complex table & form parsing handle semi structured forms such as insurance claims, compliance reports, or regulatory filings document type routing & workflow triggers use document type and extracted fields to direct files into the correct process validate document calculations go beyond extraction by checking math and consistency inside uploaded documents cross check against salesforce data compare extracted fields with existing salesforce records to detect discrepancies file to file line item matching identify mismatches between related documents uploaded at different times fraud & error detection detect duplicate or inconsistent records across files end to end order reconciliation automate reconciliation between quotes, pos, invoices, and delivery notes for more advanced configurations, tutorials, and ideas, visit the document ai tutorials docid\ k89awfijxxjssysaajwcr let cloudfiles document ai docid 9sebvqewr6cmi0b ljbsc + salesforce work together to make your document processing workflows intelligent, fast, and scalable