Configure a document schema to represent data extracted from your source files into a Data Lake Object (DLO). Use the document schema builder to manually define the structure of the document schema by adding fields and tables.
Required Editions
| Available in: All Editions supported by Data 360. See Data 360 edition availability. |
| User Permissions Needed | |
|---|---|
| To create Document AI configurations: |
Permission set:
|
If you choose, you can create Document AI configurations using the Data Cloud Connect API. See the Data Cloud Connect API reference for details.
Before you begin
- To use Document AI in Data Cloud 360, turn on Einstein Generative AI and enable Agentforce.
- Ensure that you've followed the unstructured data workflow and have created an unstructured data model object (UDMO) to reference your source files.
See Also
Create an output DLO
Configure an output DLO to represent the schema definition of the data extracted from your source file.
- From the App Launcher, select Data Cloud.
- Click Process Content | Document AI | New.
- Click From a Source Object.
-
Select the UDMO that contains the documents you want to process.
- To process files from an existing source, select a UDMO that contains documents for processing, and click Next.
-
To process files ingested through the Salesforce CRM connector, select the
Content Document Version UDMO.
Choose the CRM object whose file attachments you want to process, such as Account or Contact, and click Save. The available objects come from your Content Document Relationship records.
- Use the toggles to select which file types are available for your document schema configuration, and click Next.
- Select which LLM you want to use, and click Next.
- On the Configure a Data Lake Object page, click Add.
- Click From Scratch, and in the New Data Lake Object dialog, supply values for the DLO Name and API Name, and then click Next.
Add Fields to Extract
Configure the fields to extract and define the structure of the document schema.
- In the document schema builder, click Create Manually and then click Confirm.
- In the Outputs panel, select the Fields tab and then click Add Field.
- Provide a name, API Name, and Category for the field.
- To add more fields, click Add.
- Click Test and verify the results of the extraction.
- Select Save Draft to revisit your configuration later or Publish to activate your configuration.
Add Tables to Extract
Configure the tables to extract.
- In the Outputs panel, select the Tables tab.
- Click Add Table.
- Provide a name, API Name, and Category for the table.
- Click the Columns tab, click Add New Column, and provide a name, API Name, and Category for the column.
- Continue adding columns until the table is complete.
- To configure more tables, click Add New and repeat the steps to add the table columns.
- Click Test and verify the results of the extraction.
- Select Save Draft to revisit your configuration later or Publish to activate your configuration.
You can view the document schema configuration on the details page. To instead populate the schema from a JSON file, review Import a Document Schema Configuration from JSON.