Cloudy DocGen & Signer Knowledge Base

Document Template

Document Template is the master template used for creating actual documents.It defines the structure, content, behavior, and workflow of documents, allowing users to generate consistent, branded, and legally compliant documents quickly.

How the Document Template Object Represents in Cloudy DocGen & Signer

The Document Template object represents a reusable document configuration that defines how business documents are created, formatted, delivered, and signed in Cloudy DocGen & Signer.

In the Cloudy DocGen & Signer UI, the object is presented through configuration areas such as Template Information, Page Settings, Header & Footer, Signer, Template Section, Layout Designer, General Setting, and Site Setting.

A Document Template connects a Salesforce business record, such as a Quote, Account, Contact, Opportunity, Case, or Order, with the document generation and signing process.

Why is it Used?

The Document Template object is used to configure reusable templates for generating consistent, professional business documents directly from Salesforce data.

It helps organizations:

  • Generate documents from Salesforce records.
  • Maintain consistent document formatting and branding.
  • Define document page, header, footer, and layout settings.
  • Configure eSignature and signer-related processes.
  • Define signing order and expiration settings.
  • Configure document-related email notifications and messages.
  • Support customer-facing welcome, success, and failure experiences.
  • Reduce manual document creation and formatting effort.

Key Features

📄 Reusable Document Templates

Create standardized document templates that can be reused across different Salesforce business processes.

🔗 Salesforce Data Integration

Generate documents using data from supported Salesforce objects, including Account, Quote, Contact, Opportunity, Case, and Order.

🎨 Document Formatting & Branding

Configure fonts, colors, page size, orientation, margins, padding, headers, and footers to maintain consistent document presentation.

🖥️ Layout Designer

Define the visual structure and positioning of document elements using the Layout Designer.

✍️ eSignature Configuration

Configure document templates to support electronic signing workflows.

👥 Signer & Signing Order

Define how multiple signers participate in the signing process and establish the required signing sequence.

⏳ Expiration & Reminders

Define document expiration periods and reminder timing for pending documents or signing requests.

📧 Email Communication

Configure email content and subjects for document creation, completion, expiration, rejection, and reminder events.

🌐 Public Document & Signing Experience

Configure public domain and site-level content for externally accessible document and signing experiences.

👋 Welcome Experience

Customize the welcome page heading, message, and footer presented to users before the document or signing experience.

✅ Success & Failure Handling

Define success and failure messages and redirect URLs based on the outcome of the document process.

🔄 Template Status Management

Manage the lifecycle of templates using Draft, Active, and Inactive statuses.

Key Field Functionality

FieldPurpose
Document Template NameIdentifies the document template and provides its primary name.
Background ColorDefines the background color applied to the generated document.
BorderDefines border configuration and styling for document elements.
ColorDefines the default color used for document content and styling.
Default Select For Download AllControls whether documents are selected by default when using the Download All functionality.
Default Site Settings?Determines whether the template uses the default site settings.
DescriptionProvides a description of the template and its intended business use.
Document Reject MessageDefines the message displayed when a document is rejected.
Document Template StatusDisplays the calculated status of the document template.
Email Notification on CompletionControls whether an email notification is sent when the document or signing process is completed.
Email Notification on CreationControls whether an email notification is sent when a document is created.
Email Notification on ExpirationControls whether an email notification is sent when a document expires.
Email Notification on RejectionControls whether an email notification is sent when a document is rejected.
Email Notification on ReminderControls whether reminder email notifications are sent for pending documents.
Email Template On CompletedDefines the email content sent when the document or signing process is completed.
Email Template On Completed SubjectDefines the subject line for completion notification emails.
Email Template On CreationDefines the email content sent when a document is created.
Email Template On Creation SubjectDefines the subject line for document creation notification emails.
Email Template On ExpirationDefines the email content sent when a document or signing request expires.
Email Template On Expiration SubjectDefines the subject line for expiration notification emails.
Email Template On RejectionDefines the email content sent when a document is rejected.
Email Template On Rejection SubjectDefines the subject line for rejection notification emails.
Email Template On ReminderDefines the email content used for reminder notifications.
Email Template On Reminder SubjectDefines the subject line for reminder notification emails.
Enable Dynamic SenderEnables the sender of document communications to be determined dynamically from Salesforce data.
Enable RedirectEnables redirection to a configured URL as part of the document process.
Enable SignatureEnables electronic signature functionality for the document template.
Enable Success MessageEnables the display of a success message or success page after successful completion.
Enable Verification CodeEnables verification-code functionality for the document signing experience.
Enable Welcome Page?Enables a welcome page before the document or signing experience begins.
Expire in (days)Defines the number of days before the document or signing request expires.
Expiry Email Sent to All ?Controls whether expiration notifications are sent to all applicable recipients.
Failure MessageDefines the message displayed when document generation or processing fails.
Fail UrlSpecifies the URL where users are redirected when the document process fails.
File NameDefines the name assigned to the generated document file.
Font FamilySpecifies the font family used for document content.
Font SizeDefines the default font size used in the generated document.
Footer Display TypeDefines which pages display the document footer.
Footer sizeDefines the size allocated for the document footer.
From Email AddressSpecifies the email address used as the sender for document-related communications.
Header Display TypeDefines which pages display the document header.
Header SizeDefines the size allocated for the document header.
Layout DesignerStores the layout configuration used to control the visual structure and positioning of document elements.
MarginDefines the spacing between document content and the page edges.
Org Wide Email AddressSpecifies the Salesforce organization-wide email address used for document communications.
OrientationDefines whether the document is generated in Portrait or Landscape orientation.
PaddingDefines the internal spacing around document content.
Page HeightDefines the height of the generated document page.
Page Number AlignmentDefines the alignment of page numbers on the document.
Page Number FormatDefines the format used for document page numbering.
Page SizeSpecifies the document page size, such as Letter, Legal, or A4.
Page WidthDefines the width of the generated document page.
Public Domain SiteSpecifies the public site used for externally accessible document or signing experiences.
Public Domain Site URLDefines the URL associated with the configured public domain site.
Related Object NameIdentifies the related Salesforce object associated with the template configuration.
Remind After (days)Defines when a reminder should be sent for a pending document or signing request.
Repeat Page Number Each Page?Controls whether page numbers are repeated on each page of the generated document.
Sender Field API NameIdentifies the Salesforce field used to determine the sender dynamically.
Show Page NumbersControls whether page numbers are displayed on generated documents.
Signing Order TypeDefines the sequence in which multiple signers complete the signing process.
Site FooterDefines the footer content displayed on the document or signing site.
Site HeaderDefines the header content displayed on the document or signing site.
StatusIndicates the current template lifecycle status: Draft, Active, or Inactive.
Success MessageDefines the message displayed after successful completion of the document or signing process.
Success UrlSpecifies the URL where users are redirected after successful completion.
Target ObjectDefines the Salesforce object used as the primary data source for document generation, such as Account, Quote, Contact, Opportunity, Case, or Order.
Welcome Page FooterDefines the footer content displayed on the welcome page.
Welcome Page HeaderDefines the heading displayed on the welcome page.
Welcome Page MessageDefines the main message or instructions displayed on the welcome page.

Example Business Scenario

Scenario: Generate and Sign a Customer Quote 

A sales team needs to generate professional customer quotes directly from Salesforce.

The administrator creates a Document Template and selects Quote as the Target Object. The template is configured with the required page size, orientation, fonts, branding, header, footer, and layout.

When a salesperson generates a document from a Quote record, Cloudy DocGen & Signer uses the configured template and Salesforce data to create the document.

The generated quote can then be sent through the configured eSignature workflow, allowing the required customer or internal signers to complete the signing process.

The template can also define the signing order, expiration period, reminders, email communication, welcome experience, success handling, and rejection messaging required for the business process.

Outcome:
Sales teams can generate consistent, Salesforce-powered quotes and send them for signature without manually creating documents or switching between separate document-generation and eSignature tools.

SEE ALSO :
___👉Document Signer
___👉Document Template Creation