This lesson will cover the following topics:

01 Getting Started

This tutorial covers emailing a document using the Generate document option in Salesforce.

02 Email Element

To add an email element to your form:

1. Expand the Basic dropdown in the elements menu.

2. Select the Input submenu and drag the email element onto your form. You can add multiple email fields to your form.

Screenshot of the Titan Form interface

3. In the form element settings, use the Label field to change the label of your email field.

Screenshot of Titan Form interface displaying how to edit email element label

4. Enable the Custom Mail to Filler feature for each email field you insert. To set the recipient details, click the edit button. This will send a single email to the email set in each field.

Screenshot of Titan element settings

5. Configure your email content in the Custom Message window and click Apply.

Screenshot of the Custom Message window

03 Populating Email Fields

If you want your field to populate the email fields automatically when the user opens the form, you must configure a Salesforce Get action.

1. Select your email field and navigate to the Form Settings menu.

2. Expand the Salesforce Integration dropdown and click Set Get.

Screenshot of Titan Form interface displaying the form settings menu

3. Click Add Object. The Map Salesforce Fields window opens.

Screenshot of Get From Salesforce window

4. Select the Object in Salesforce that contains the email address you need to populate—for example, Opportunity.

5. Expand the Condition dropdown and click Set Conditions.

Screenshot of map salesforce fields window displaying object settings dropdown

6. Use the dropdown to configure your Condition and click Apply. For example, the Opportunity ID equals the Record ID.

Screenshot of the condition for window

7. Expand the Mapping tab and click Set Mapping.

Screenshot of map salesforce fields window displaying mapping dropdown

8. Map the Fields on your form to the corresponding fields in Salesforce. Click Apply & Finish.

Screenshot of the salesforce mapping window

Titan will pull the email addresses in your Salesforce account when the document is generated.

04 Email and File Name

To configure an email and file name for your form:

1. Navigate to the Form Settings menu and expand the Document Generation dropdown.

2. Expand the Word Mapping dropdown and click Configure.

Screenshot of form settings menu displaying word mapping

3. Expand the Email/File Name dropdown. You can choose between setting a Static or Dynamic file name for your Form.

Screenshot of the email / file name dropdown

4. If you have inserted email fields into your form, ensure that you enable these fields. This will send two separate emails to these emails.

5. Enable Join Mails if you would like to send to multiple addresses the same email.

6. To configure your Subject and Body, click the corresponding buttons.

Screenshot of word mapping

When the document is generated, an attached copy of the form is sent to each recipient.

05 Got Feedback?

Additional Resources