This lesson will cover the following topics:

03 | Download
05 | Email

01 Getting Started

This tutorial covers how to configure Auto PDF for your Titan Web projects. This means you can save and download webpages as PDFs, upload that PDF to Salesforce, or send it as an email attachment.

02 Document Generation

1. Select the Project Settings gear icon.

2. Click the Tools tab and select Document Generation.

Screenshot of Titan project settings menu

3. Select Auto PDF.

Screenshot of upload template window

4. Enable the options that apply to the processes you need to run and click Next. For this tutorial, we will be demonstrating all the options.



5. Add a Label to your PDF. Labeling your document is important to differentiate it from other documents and if you need to reference it later.

6. Use the Source Page dropdown to select the corresponding Titan Web Page from which the document will be generated. You can have only one auto PDF per project page.

Screenshot of the General Auto PDF settings

7. Select the Download option.

03 Download

1. Ensure that the Enable Download toggle switch is on.

2. You can choose to add a static file name or enable the Dynamic File Name toggle switch to configure a dynamic file name.

3. Turn the Enable Digital Signature toggle switch if your PDF requires signatures.

4. Under Actions While Waiting, you can choose how your project displays while the document is downloading.

Screenshot of the Download settings for Auto PDF

04 Push to Salesforce

1. Ensure the Enable Push to Salesforce toggle switch is on.

2. Configure a Custom Name. You can choose between a static or dynamic file name.

3. Turn the Enable Digital Signature toggle switch if your PDF requires signatures.

Screenshot of Push to Salesforce Settings for Auto PDF

05 Email

1. Configure a Custom Name. You can choose between a static or dynamic file name.

2. Turn the Enable Digital Signature toggle switch if your PDF requires signatures.

3. Enable the optimized image quality if required. Click Apply.

Screenshot of Email Settings for Auto PDF

Your template now displays in the document generation settings window.

Screenshot of the template displayed

06 Download Button Trigger

1. Select the button and click the Interactivity icon from the menu. The On Click Action window opens.

screenshot of button menu

2. Click the Start + icon, select Document Generation as the node, and click Next.

Screenshot of on click action window displaying document generation node

3. Select the AutoPDF as the template and the action as Download. Click Next.

Screenshot of the edit node configuration

4. Enter a tag name and click Insert.

When the button is clicked, the user will download a PDF of the project page.

Screenshot of the configured on click action window

07 Salesforce Action Trigger

1. Select the button and click the Interactivity icon from the menu. The On Click Action window opens.

Screenshot of button menu

2. Click the Start + icon, select Salesforce Action as the node, and click Next.

Screenshot of on click action window with Salesforce action node selected

3. Click the Salesforce Integration button.

Screenshot of Integration Action window

4. Select the Push tab and click Create New.

Screenshot of Titan Salesforce Integration window displaying Push tab

5. In the Object Settings tab, choose Content Version as the Object in Salesforce, Create as the Action, and add a description.

Screenshot of Map Salesforce Fields window displaying Object Settings tab

6. In the Mapping tab, configure the AutoPDF as Version Data and a Title for your document. For this example, we choose a custom Title. Click Apply and Close.

Screenshot of Map Salesforce Fields window displaying Mapping tab

7. Use the dropdown to select the configured Push action and click Next.

Screenshot showing the selected Salesforce action

8. Enter a tag name and click Insert.

When the button is clicked, the PDF will be pushed to your Salesforce.

Screenshot of on click action window showing configured action

08 Email Trigger

1. Select the button and click the Interactivity icon from the menu. The On Click Action window opens.

Screenshot of button menu

2. Click the Start + icon, select Send Email as the node, and click Next.

Screenshot of on click action displaying send email node

3. Edit an existing template or set up a new one. For this example, we are using an existing template.

Screenshot of the edit now window displaying the email template

4. Configure your Recipients, Send Via, and Content, and click Next.

5. In the Attachments step, select the AutoPDF.

Screenshot of configure email settings displaying the attachments step

6. Configure your email name and click Apply.

7. Select your email and click Next.

Screenshot of the edit now window displaying the email template

8. Enter a tag name and click Insert.

When the button is clicked, the PDF will sent as an attachment to an email.

Screenshot of on click action window displaying the configured action

09 Got Feedback?

Additional Resources