Template Match Input

Input configuration for template matching against an uploaded or hosted document.
Properties
Property Name Type Description Required or Optional
sourceType String The source type of the document. Valid values are ContentDocument, AmazonS3, or ContentHub. Required
contentDocumentId String The native Salesforce ContentDocument ID. Required when sourceType is set to ContentDocument.
documentUrl String The pre-signed Amazon S3 URL pointing to the document location. Required when sourceType is set to AmazonS3.
contentHubRepositoryId String The Content Hub repository ID for the external connection. Required when sourceType is set to ContentHub.
externalId String The external object key within the Content Hub repository. Required when sourceType is set to ContentHub.
templates List<String> A list of template IDs or developer names to match against. If omitted, the top 20 newest active templates are considered. Optional