Flow Email Composer is a lightning component that provides the ability to select email template and prepare a draft version of the email with merge field values. User can also compose the email on the go without selecting email template.
-
Pre-populate the email composer with To,CC,Bcc,Subject. The e-mail addresses should be comma separated.
-
Prepares a draft version of the email being sent based on selected e-mail template. The draft version is loaded with evaluated merge fields, adds attachments if any added to template. This feature requires to specify whatId.
-
Ability to upload attachments. Uploaded attachments will get saved to Files. If you specify whatId, the attachment gets linked to the record.
- Install the package.
- Open the lightning flow you wish to edit or create one.
- Drag and drop Screen Element to the canvas.
- Select the component, Flow Email Composer in the Screen Component search wizard.
- Specify the values for whatId, To, CC, Bcc, Subject. The body of email uses whatId to evaluate the merge fields in selected email template. You can also use flow variables to populate these attributes