The content in this article is appropriate for: Supervisors and Administrators

This article will detail the use and configuration of conditional text.

It is assumed that a Guided Interaction (formerly known as a script) has already been created and user is logged in to SC WorkFlow (a.k.a. the scripter).

Types of Dynamic Text

SC WorkFlow has the ability to create text fields that will auto-populate and change, or text that is visible or hidden depending on input from other parts of the Guided Interaction, or directly from an outside source.

Types of dynamic fields include:

 

Preparing the Guided Interaction to Use Conditional Text

Conditional text is added in the field prompt using the Text Editor. It can be configured at any point during the Guided Interaction creation process, as long as any other fields that the conditions rely on have also been added. For example, a Guided Interaction directive may call for something like:

BONUS KIT: Thank you, as part of this promotional offer, we will also be sending you a BONUS accessory kit worth $19.99/$24.99 and will ship your items for FREE/a discounted rate of $4.99.

[US customers (lower 48, excluding AK, HI): $19.99/FREE]
[Canada, Non-Contiguous US customers: $24.99/a discounted rate of $4.99]

The above example shows how conditional text may be used. Instead of typing out 2 entire paragraph fields with separate visibility settings-- one for the US and one for Canada, the location-specific text can simply be set with conditions and would be added to a Guided Interaction as follows:
*This is not a complete build and assumes that all other relevant fields have been added. In this case, it is a Shipping Address field.

  1. Add a Paragraph field

  2. Type the following text into the Prompt:

 

How to Configure Conditional Text

Now that the setup portion of the Guided Interaction is ready, the conditional text can be configured.

  1. Click the Bonus Kit paragraph in the preview pane to access its settings

  2. Click and drag to highlight the {$24.99} placeholder text

  3. Click the dynamic text button and then click Create dynamic text

  4. Click and drag to highlight the {FREE} placeholder text

  5. Click the dynamic text button and then click Create dynamic text

  6. Click and drag to highlight the {a discounted rate of $4.99} placeholder text

  7. Click the dynamic text button and then click Create dynamic text

  8. The preview pane will also show both sets of conditional text, in brackets

  9. To see how the dynamic (conditional) text functions, click Launch Preview on the Graph.

 

 Field-Specific Options

As mentioned at the beginning of the article, dynamic text resides in the prompt area of any field. The conditions for dynamic text (and also for features like visibility, slide branching, etc) will be based on the field they are referencing.For example- If using an Address field as a condition, it can be based on any of the following address components:

Then, if region is is selected, a list of all 50 US states, territories, and all Canadian Provinces are available for selection:

The following is a comprehensive list of all options, by field:

Address

Button

Cart SKUs
This option will appear only if the Cart field is present and SKUs have been created. Once a SKU is selected from the dropdown, the following options will be available, followed by a number field.

Cart

Check

Checkboxes

Credit/Debit card

Dropdown

Embedded Link (not an available option for conditions)

Name

Number/Quantity

Radios

Text input/Text input (multi-line)

Date input