Cloudy DocGen & Signer Knowledge Base

Generate Document

The document generation process automatically creates finished, professional documents by combining your pre-designed template with live data from Salesforce. Once your template is fully configured with dynamic fields, layout design, and branding settings, generating a document is a seamless one-click process.

The system pulls information from the specified record (such as an Opportunity on Account) and all its related data, inserting it directly into the correct places in your template. It applies all your formatting rules, security settings, and branding elements to produce a polished PDF or Word file, ready for immediate use, sharing, or signing.

Document Generator Field Set

Users can configure the fields displayed on the Generate Document screen using the Field Set created for the Document Template. By default, the Document Generator Field Set is created with the Document Template Name and includes the following fields:

  • Document Template Name
  • File Name
  • Enable Signature
  • Created By

Users can add additional fields to the Document Generator Field Set based on their requirements. The fields added to the field set are displayed on the Generate Document screen, allowing users to view the required information before generating the document.

The Document Generator Field Set provides flexibility to control which fields are displayed during the document generation process. The default fields remain available, and users can add additional fields as needed to meet their specific requirements.

Configure the Document Generator Field Set

To configure the fields displayed on the Generate Document screen:

  1. Click the Setup (⚙️ Gear icon)
  2. In Quick Find, search for Object Manager and select it.
  3. Search for and select the Document Template object.
  4. Select Field Sets from the left-side menu.
  5. Locate and open the Document Generator Field Set.
  6. Add the required fields to the field set based on your requirements.
  7. Click Save.

The fields added to the Document Generator Field Set are displayed on the Generate Document screen when generating a document.

Default Field Set fields

Generate Document Using Lightning Experience

Users can generate documents directly from the target object record in Salesforce Lightning Experience.

If the Generate Document button is not appearing on your target object page, follow below mention  configuration process:

Steps :

➢ Navigate to the target object on which the document is created.

➢ Click the (⚙️ Gear icon) and select Edit Object.

➢ Go to the Button, Links and actions section.

➢ Click on New Action .

➢ Select Action Type as Lightning Web Component, choose Lightning Web Component as documentGenerator, and provide an appropriate Label.

➢ Click on Save.

➢ Go to the Page Layouts section on the same object.

➢ Select the desired Page Layout.

➢ In the Layout editor, Go to Mobile & Lightning Actions.



➢ Drag and drop the Generate Document button onto the layout.

➢ Click Save.

➢ Return to the object record page and refresh to view the Generate Document button.

Note: If the document template is not activated the system displays a message.

Created , Completion, Rejection ,Remainder and Expired Emails

  • Created Email → This email is sent when a document is created and initiated for the signing process. It notifies the signers that a new document is available for their review and signature, marking the official start of the signing workflow.
  • Completion Email → Once all signers have successfully signed the document, every signer will receive a completion email containing a copy of the final sign document.
  • Rejection Email:
    • If any signer rejects or declines to sign the document, the signing process is immediately terminated.
    • All signers who have already signed will be notified that the document has been rejected and is invalid.
  • Reminder Email (If configured in the signer section) → The reminder email is automatically sent to signers who have not yet signed the document within the defined timeframe. It serves as a gentle notification, prompting pending signers to complete the signing process before the expiration date, helping ensure timely completion of the document.
  • Expired Email → This email is triggered when a document is not signed within the defined expiration period. Once the expiration date is reached, the signing process automatically ends, and an expiration email is sent to all signers. This email notifies them that the document has expired and is no longer valid for signing.

Steps to generate the document with signers

➢ Navigate to the Target Object
Go to the Target Object selected while creating a document and open the desired object  record.

➢ Generate the Document
Click on Generate Document. If the Generate Document button is not visible, click to add it to the page layout and check its steps. (after click on this check the steps of Generate Document)

➢ You will see the document template you previously created.

➢ Load the Signer
Select the document template and click on Load Signer.

➢ Send the Document for Signing
Click on Send Email. The signer will receive an email with the subject to sign the document.

➢ Open the Email and Begin Signing
Open the email and click Review and Securely Sign. If you encounter any errors while accessing the document, click here to troubleshoot the issue.

➢ OTP Verification (If Enabled)
Click on Generate and Send OTP. You will receive a verification code via email. Enter the code and click Verify and Proceed.

➢ Welcome Page (If Enabled)
If the Welcome Page is enabled, it will appear after verification. Click Next to continue.

➢ View Document
The document template will be displayed.

➢ Click on Click here to sign the document.Sign the document by drawing or typing .Then click Save to temporarily save your signature.

➢ Submit the Signed Document
Click on Submit to finalize the signing process. If navigation is enabled, you will be redirected to the provided success URL. If not, a success or failure message will be displayed.

➢ Reject the document
A user can reject the document if they are not satisfied with its conditions or content. While rejecting, the user is required to provide a rejection reason, which helps indicate the necessary modifications or clarifications needed before the document can be resent for signing.

✅ Example: If redirect is enabled and a success URL is provided (e.g., https://www.google.com/), the user will be redirected there after submitting.

➢ Multi-Signer Process
If there is another signer in the list, an email will be sent to the next signer. The same signing steps will be followed for each signer.

➢ Completion
Once all signers have completed the process, a completion email will be sent along with the signed document attached.

Note: Once the document is signed, if the user navigates to the same link again, the system displays the message configured ,in the Signature Completion Message instead of the signed document.

Steps to generate the document without signers

➢ Navigate to the Target Object
Go to the Target Object selected while creating a document and open the desired object  record.

➢ Generate the Document
Click on Generate Document.

➢ You will see the document template you previously created.

➢ Preview the document
To preview the document select the document and click on Preview.



Document look likes

➢ Download the document
To download the document select the document and click on Download.

SEE ALSO :
____👉Preview document
____👉Download document
____👉Document Tracking