Skip to main content
Mitratech Success Center

Client Support Center

Need help? Click a product group below to select your application and get access to knowledge articles, webinars, training content, and release notes or to contact our support team.

Authorized users - log in to create a ticket, view tickets status and check your success plan details.

 

Document Builder

This page details TAP's Document Builder. Learn to create document templates and add them as conditions to workflow relationships.

What is the Document Builder?

TAP's Document Builder is used to generate documents on-the-fly within TAP, and is used for redlines within the collaboration state. (which is where multiple people can collaborate/edit a document at the same time). 

Document Builder can be used to fulfill any of the following:

  • Attach files to email notifications. The notification (with the document) will be sent every time a user passes through that stage in the workflow. 
  • Use it as a template for eSignature support. This is most common way it's used. (Note: this feature is visible in PDF but not in docx - see step 5).
  • Attach files for TeamConnect Support - pull TeamConnect fields into a TAP form.
  • Attach files for Salesforce Support - pull SF fields into a TAP form.

Note: Document Builder cannot be used to send documents to FTP.

 

Permissions for Document Builder

The document builder is found in the workflow Designer, however this will NOT be available to all users that have access to the Designer. 

Contact your system administrator if you need access to the document builder but cannot access it.

 

Create a Document Builder Template

Build documents within TAP to add as conditional attachments to a workflow stage.

  1. Hover your mouse over Business Automation and select Designer.
  2. Find the desired workflow and load it. 
  3. In the Workflow screen, select Options then click Workflow Templates.
    Workflow Template.png

     
  4. Click the Document Builder tab, then select Add.
    DocumentBuilderTab.png

     

  5. The next steps detail how to fill out the document builder screen and it's options:
     
    Document Text Header & Footer
    - Give the document an intuitive name.
    - Use the dropdown menu to specify if you want the document to be a docx or pdf file.
    - Fill in the body of the document using the rich text editor.
    - Use the Content Source, Form Result, and Condition Rules options to add additional content to the document. The Content and Form options act similarly to other parts of the designer (such as setting up notifications), but the Condition rule is unique. See additional details below:
    - Click on the Header & Footer tab to add header and footer information. 
    - The Add Document Header/Footer check boxes must be checked.

    - You can use HTML tags but there are height limits if you're using the PDF option. If the header will not appear if it exceeds the height limit.

    - There are 2 additional tags you can use to display the current page number and number of total pages: snip.png
    DocumentText.png DocumentHeaderFooter.png
    Content Source: TAP's concept of uploaded variables or small database elements that are configured to populate within dropdown menus. Populate a dropdown with a content source and it will be universal anywhere you use it.

    Form Result: values that are pulled from somewhere else on a form or from a completely different form.

    Condition Rules: Use conditional rules to affect variables within the document. Conditions are typically set up in a "if this, then that" manner, and several conditions can be applied to a single relationship.

     
  6. Fill in all of the desired options then click Save.

 

Using Condition Rules for the document body

Apply condition rules to the document you just created. 

  1. In the Workflow screen, select Options then click Workflow Templates.
  2. Select the Conditions tab and click the Add button.
    Conditions.png
     
  3. Check the Use condition for relationship or document builder only checkbox.
    Conditions1.png
     
  4. Save the condition. 
    Click Save as Template if you think this condition logic will be used again in the future. 
    Click Save to simply save it and apply it to this document.
     
  5. Navigate back to the document builder tab, select the document template you want to attach this condition then open it in edit mode.
    Conditions3.png
  6. In the body of the text, highlight some text and click the Add Condition Rule button (in the text editor).
    Conditions4.png
     
  7. Using the dropdown menu, select the condition you just created. Then click Ok.
    Conditions5.png
  8. After you click Ok you will see that your text is now surrounded by condition tags. 

    Note: If the condition is not "true", you will see an empty <p> tag that displays as empty lines. To prevent this, you can edit it by clicking the Source button in the top left corner of the text editor screen.

    Note: You can write the condition text tags in order to invoke them if you prefer. The syntax for an open tag is #if name of condition# and the close tag syntax is #/if name of condition #. See below for an example:

    if test.png
  9. SourceButton.png

 

Add Document Builder doc. to a workflow relationship

A document created in the document builder can only be added at the relationship level in a workflow. The instructions below detail how to set this up:

  1. Open the workflow, click on the desired relationship, then select Document Builder.
    2020-10-13_15-55-32.jpg
     
  2. Select the document that you want to attach to this particular relationship by clicking the Add to Relationship button.
    Document_Relationship2.png

    The button will be highlighted blue when the document is added. Simply click the Remove from Relationship button to remove this document with this particular relationship.
    Document_Relationship3.png

How do I check to see if the relationship has a document attached?

Select a relationship. If it has a document attached, you will see a Notification symbol on the Document Builder button.

Document_Relationship4.png