Text Review Widget with Data from Salesforce

Business Background

The text review widget simplifies version control and text revisions, saving time and reducing errors by clearly showing what’s changed between the two versions. Users can quickly view, accept, or revert edits, ensuring that only approved changes are incorporated before in-line editing begins. This streamlined approach keeps teams aligned on the most current content, enabling efficient decision-making and better collaboration. Ultimately, it enhances productivity, improves content accuracy, and supports agile workflows, making it a powerful tool for businesses, prioritizing precision and efficiency in document management.

Titan Solution

Use the text review widget to review, accept, or revert edits to text. A new draft can be saved, and the number of edits will be displayed.

Note:

The text review widget is not available by default. Please contact Titan Support for more information.

How to Video

Coming soon!

How to Guide

Note:

The Debug Mode is enabled for this example.

Project settings > Tools > Debug Mode.

Configure the widget

You can compare different fields in Salesforce, such as description fields with similar but different content. In this example, two different description fields are compared for review.

Salesforce fields
Salesforce fields
  1. Click the icon to open the list of elements.
  2. Under the Widget option, scroll down and drag-and-drop the Text Review widget to the canvas.
Text Review widget
  1. Click-and-drag a button element to the canvas. A Salesforce Action is added to the button.
  2. Click the On Click Action icon.
On Click Action icon.
On Click Action icon.
  1. Click the + icon next to the Start node to open the Add Node screen.
  2. Click the Salesforce Action option and then click the Next button.
Add Node screen
Add Node screen
  1. Click the Salesforce Integration button.
Add Node/Affected Elements
Add Node/Affected Elements
  1. Click the Create New button.
Salesforce Integration screen
Salesforce Integration screen
  1. Use the drop-down lists to select the object in Salesforce and the trigger to execute the pull. In this example, the following are used:
    • Contact
    • User interaction
Map Salesforce fields
Map Salesforce fields
  1. Under Condition, configure a condition. In this example, a specific contact is referenced.
Map Salesforce fields
Map Salesforce fields
  1. Under Mapping, map the Text Review/Old and Text Review/New fields to the fields in Salesforce that you want to review.
  2. Click the Apply button.
Map Salesforce fields
Map Salesforce fields
  1. Click the Close button on the Salesforce Integration screen.
Salesforce Integration screen
Salesforce Integration screen
  1. Use the drop-down list to select the integration action and click the Next button.
Add Node/Salesforce Action screen
Add Node/Salesforce Action screen
  1. If necessary, change the tag and click the Insert button. The Salesforce Action node is added to the On Click Action screen.
  2. Click the Apply button.
On Click Action screen
On Click Action screen
  1. Save and Preview the Project.
  2. Click the button.
Example
Example

The Salesforce fields are compared, and the changes are indicated.

  • The old text is in red and crossed out.
  • The new text is in green and underlined.
Example
Example

Each change can be accepted or reverted individually by clicking on a change and then clicking the required button.

Example
Example

Alternatively, clicking the widget’s default buttons can accept or revert all changes.

Example
Example

You can view the changes by clicking the Debug button on the project preview page.

Example
Example

The old, new, and draft text and the number of changes are shown.

Debug screen
Debug screen

When all the changes are accepted and/or reverted, the [Text Review]/Value will be updated.

Debug screen
Debug screen

After all the changes are accepted and/or reverted, you can add additional text to the text review widget. By adding a button with a Salesforce on-click integration action, you can push this change to Salesforce to update the field. Make sure to map the [Text Review]/Value in the Salesforce Push.

Example
Example

Hidden Title

Need more help?