Loading
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Configuration of Fields for Extraction From a File

          Configuration of Fields for Extraction From a File

          Custom contract extraction lets you extract specific values from a file for both predefined and user-defined fields. For example, extract a payment method from a document and map it to a custom contract field. Use adaptable extraction templates with tailored prompt instructions for different use cases.

          REQUIRED EDITIONS
          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, Professional, and Developer Editions

          As a contract admin, you have two options to create context definitions for extraction.

          • Create a Contract Extraction Template for Extraction
            Create an extraction template to define the attribute mapping, context mapping, and prompt instructions that generative AI uses to extract contract details from a file. Each template must have a unique name and combination of contract object and record type.
          • Clone the ContractsExtractionContext Context Definition for Extraction
            Create a custom context definition by choosing nodes, defining their relationship, and adding attributes. These custom definitions are available under the Custom Definitions tab. You can create custom definitions by using new, extend, and clone actions. For extraction, Salesforce recommends using the clone feature to clone the default ContractsExtractionContext context definition.
          • Add Description for User-Defined Fields
            Add descriptions for user-defined extraction fields. Each description acts as a prompt for generative AI, so precise and clear descriptions improve extraction accuracy.
          • Manage and Test Contract Extraction Instructions
            Set up and refine extraction instructions for standard and custom fields. Upload PDF files to test extraction results in the Preview tab, adjust field-level instructions to improve LLM accuracy, and save the validated instructions to extraction templates for runtime use.
           
          Loading
          Salesforce Help | Article