Test Drive
Document AI Test Drives
Split Salesforce Files using AI
introduction in this test drive, you will explore how cloudfiles document ai, integrated with salesforce flows, can automatically process merged or misorganized pdf documents and intelligently split them into individual files using provided instructions the setup enables splitting a pdf (whether merged or multi part) based on custom or default instructions auto naming the resulting files based on their contents creating child result document records linked to each individual split file all of this is fully automated using cloudfiles document ai and salesforce flow the test drive takes under a minute to complete instructions follow the steps below to test the setup 1 go to the split or merge documents tab and create a new record no additional input is required — just save it 2 click ' split file using ai ' button on the record, this launches a screen flow 3 in the screen flow, upload the pdf file you want to split 4 if desired, input any specific instructions to guide the ai (e g , "split by individual invoices" or "separate each contract section") 5 wait a few seconds for automation to trigger refresh the page to see the updates 6 review the ai output cloudfiles ai will split the uploaded document into multiple child files and respective "result documents" records are created each child file is intelligently named based on its contents and the resultant child file can be found attached to the record implementation this demo is powered by salesforce flows with the split document using ai docid\ muam8ohdl70xumq9pmt96 flow action cloudfiles document ai handles splitting and auto naming of files based on content cloudfiles document ai processes the uploaded pdf detects content based boundaries splits the file accordingly auto generates meaningful filenames the flow automatically creates child result document records, each holding a split file for more details, refer to splitting multiple combined pos into child objects docid\ qwnude0gd2a9boqdrokdx beyond this test drive this test drive shows a basic example—but the split document using ai docid\ muam8ohdl70xumq9pmt96 action can be leveraged in various advanced salesforce automations 1\ screen flows for business users let agents or partners upload documents and supply optional split instructions on screen example a partner uploads a contract bundle ai splits it by section and names each split contract with the client name 2\ record triggered automations trigger splitting automatically when a file is uploaded or when a record meets certain criteria example a case record receives a complaint file with multiple documents it is auto split and stored under the appropriate child records 3\ email to record processing combine with email ingestion to split documents attached in emails automatically example a vendor emails a combined invoice pdf upon ingestion, it is split into separate invoices and linked to the appropriate po records 4\ community or partner portal uploads allow external users to upload large files that are split and processed behind the scenes example a vendor portal allows bulk upload of certificates each is split and stored under relevant compliance records 5\ file sync from external storage trigger splits when files are synced from google drive, sharepoint, or dropbox example a monthly batch of compliance forms synced from sharepoint is automatically split and linked to employee records 6\ ai metadata extraction after split post splitting, chain another document ai action to extract metadata from each child file example split resumes received as a bulk file, then extract candidate name and role applied for from each and map them into lead records 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