How To: Sending Generated Documents via Email
Last updated
Was this helpful?
Once documents are generated using the Generate Documents (S-Docs) Lightning Web Component, they are automatically listed in the Documents (S-Docs) component on the record page. From this component, users can select one or multiple generated documents and send them together in a single email.
The Documents (S-Docs) LWC allows you to predefine an email/HTML template that will be used when sending documents.
To use a specific email template:
Specify the Email Template Name in the component configuration (as shown in the screenshot below).
The template must be an HTML Email Template available for the object.
Considerations:
Only one email/HTML template can be configured per component.
Multiple email templates cannot be used simultaneously.
The configured template will automatically load when sending documents from the component.
Configuring an email template is optional.
If no email template is specified, select the “No Template” option.
The email editor will still open when you send documents.
You can manually customize the email at the time of sending.
This provides flexibility for users who need to customize emails on a case-by-case basis.
When generating documents using the Templates to Generate (S-Docs) LWC, you can configure the system to automatically open the email editor immediately after document generation.
To enable this behavior:
Check the Automatically Open Email Editor option within the Documents component.
This allows users to:
Generate documents
Immediately attach them to an email
Send the email without navigating away from the record page
Configuration Steps :
Sending Emails :
Considerations:
An email address is required in the To: field prior to sending
The To:, CC:, Subject, and Body can be pulled directly from the template.
Last updated
Was this helpful?
Was this helpful?

