Document Generation in Flow – Word and Excel Templates

Business Background

Easily configure document generation with Titan Web.

Titan Solution

  • Configure document generation by adding Microsoft Word and Microsoft Excel templates to a project.
  • For Word and Excel templates, you can do the following:
    • Email
    • Push to Salesforce
  • Editing this uploaded template does not impact or alter the original document.

How to Video

Video Coming Soon!

How to Guide

Note:

Prerequisite:

A Word template must contain interactive Salesforce fields or fields from a Web project added with the Titan Word add-in.

An Excel template must contain interactive Salesforce fields added with the Titan Excel add-in.

  1. Drop a Word or Excel document in the block from your file explorer. The file is added to the screen.
  2. Alternatively, click in the block to upload a document. The standard Microsoft Open screen opens.
    • Browse to the file destination and click on the required file.
    • Click on the Open button. The file is added to the screen.
Uploaded template (Word and Excel examples)
Uploaded template (Word and Excel examples)
Note:

The uploaded Excel and Word documents will be fully dynamic.

  1. Do the following if necessary:
    • Click the X icon next to the document name to delete the document.
    • Click on the Download Template option to download the temple.
    • Use the Drop document here block to replace the uploaded template.
      • You will see a confirmation message: “Please confirm: You are about to replace the template.”
      • Click the required button.
    • Click on the View Versions option to view the version of the template. The View Versions screen opens.
View Versions screen
View Versions screen
  1. Click the Next button on the Configure Project Document Generation Settings screen.
  2. Use the checkboxes to select option/s. The document in each option will be in DOCX or PDF format:
    • Email: Send the template as an email attachment.
    • Push to Salesforce: Push a DOCX or PDF document to Salesforce in the desired output format.
  3. Click the Next button.
Configure Project Document Generation Settings screen
Configure Project Document Generation Settings screen
  1. Under General, change the label of the template if necessary. The document name is added by default.
  2. Use the drop-down list to add a Record ID. (This is a custom variable that you added to the project.)
Note:

The options on the left of the screen under General depend on the options you selected on the previous screen.

You can add options:

  1. Click the + icon in front of Add Option.
  2. Click the + icon in front of an option to add it to the list.
Document Generation screen - General
Document Generation screen – General
  1. Configure the options that you selected:
  2. Change the captions if necessary.
  3. View where the template was used.

Email

  1. Click the Email option.
    1. Use the toggle switch to enable the Email functionality.
    2. Use the drop-down list to select an output format:
      • xlsx
      • docx
      • pdf
        • Use the drop-down list to select the program to convert the document.
    3. Use the toggle switch to add a dynamic file name if necessary.
      • The Custom Name field changes to a drop-down list where you can select the dynamic file name.
    4. Type a custom name.
    5. Click the checkbox to optimize the image quality for better performance.
      • This will reduce the image quality to 80% of the original and will therefore reduce the file size.
Document Generation screen - Email
Document Generation screen – Email

Push to Salesforce

  1. Click the Push to Salesforce option.
    1. Use the toggle switch to enable the Push to Salesforce functionality.
    2. Use the drop-down list to select an output format:
      • xlsx
      • docx
      • pdf
        • Use the drop-down list to select the program to convert the document.
          • For the Titan (recommended) option, use the checkbox to activate the PDF/A option if necessary. This is the ISO-standardized PDF.
          • For the Titan (recommended) option, use the checkbox to activate the Bookmarks option if necessary. This is the navigation tool for documents.
    3. Use the toggle switch to add a dynamic file name if necessary.
      • The Custom Name field changes to a drop-down list where you can select the dynamic file name.
    4. Type a custom name.
    5. Click the checkbox to optimize the image quality for better performance.
      • This will reduce the image quality to 80% of the original and will therefore reduce the file size.
Document Generation screen - Push to Salesforce
Document Generation screen – Push to Salesforce
  1. Make sure that you configure the Salesforce Push.

Where Used

  1. Click the Where Used option to view where the document generation is triggered.
Where used
Where used
  1. Click the Apply button. The Word or Excel template is added.
  2. Use the Edit icon to edit the template.
  3. Use the Kebab icon to do one of the following:
    • Turn Off
    • Delete
Template added
Template added

Add the Document Generation to an Email in Flow

  1. Click the + icon to add a node.
  2. Under Action, click the Send Email option and click the Next button.
  1. Click the + icon.
  2. Follow the steps as described here.
  3. Add a tag if necessary and click the Insert button. The node is added to the Flow.

Hidden Title

Need more help?