01 Getting Started

This tutorial covers pushing a document generated by Titan Web to Salesforce. Before proceeding, ensure you have gone through the Auto PDF lesson.

02 Enable Salesforce Push for the Template

1. Select the Project Settings gear icon.

2. Click the Tools tab and select Document Generation.

Screenshot of Titan project settings menu

3. Click the template edit icon.

Screenshot of the configure project document generations settings window

4. Click Next.

Screenshot of the template options

5. Click + Add Option and select Push to SF.

Screenshot showing how to add a push to Salesforce option for document generation

6. Ensure the Enable Push to Salesforce is turned on. Click Apply.

Screenshot of the push to Salesforce configuration for document generation settings

03 Configure the Salesforce Push

1. Select the Project Settings gear icon and click the Salesforce tab.

Screenshot of the Titan project settings menu

2. Click the Push tab and select Create New.

Screenshot of the Salesforce Integration window

3. In the Object Settings tab, choose Content Version as the Object, Create as the Action, and enter a Tag Name.

Screenshot of the Map Salesforce Fields window displaying the Object Settings tab

4. In the Mapping tab, configure the following and click Apply.
  • Description - Other - My Attachment. This step is optional, and the title can be anything you choose.
  • Version Data - DocGen. Name of your template. This is the field in Salesforce that will hold your generated file.
  • First Publish Location ID - You must save a Salesforce Record ID. This is where your document will be attached.

Screenshot of the Map Salesforce Fields window displaying the Mapping tab

04 Invoking the Action

1. Select the button and click the interactivity icon. The On Click Action window opens.

Screenshot of the button menu

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

Screenshot of the On Click Action window displaying the Salesforce Action node

3. Choose the configured Salesforce Action and click Next.

Screenshot of selected salesforce action

4. Enter a Tag name and click Insert.

You can configure any other node to run - for example, a confirmation message that displays when the file has been successfully uploaded.

When the user completes the form and clicks the button. The document will be sent to Salesforce.

Screenshot of the configured on click action window

05 Got Feedback?

Additional Resources