Workflow Action: State Abbreviation

Workflow Action: State Abbreviation

Overview

The State Abbreviation component is used to return the two letter abbreviation of the State/Province from the specified phone number.

Configuration Options

Name The name assigned to this component
Description Enter a description for the component
Number Enter the phone number or a predefined variable that contains the phone number of which you would like to determine what State/Province it is from.
Variable Enter the name of the variable where you the response should be stored.
Condition Type If the condition returns true, then the Action will be performed. If condition returns false, then the Action will not be performed. If there is no condition specified, the Action will always be performed.

A sample of a condition could be:
If the system should only lookup the State/Province of the phone number if the caller pressed ‘1’ in a menu, the Condition Type would be as follow:

Expression: workitem.digits == ‘1’

  • workitem.digits would be entered in the first field
  • ‘==’ would be selected from the dropdown
  • ‘1’ would be entered in the last field

Here is a sample of how to use the State Abbreviation component
To have the system return the State/Province of the phone number of an inbound caller:

  • In the Number field, enter: workitem.from
  • In the Variable field enter: state

When the workflow executes the State Abbreviation component the value that will be stored in the variable workitem.data.state will be the 2 letter abbreviation of the state from the caller ID of the workitem.

Example: If the caller ID was from California, the value in workitem.data.state would be CA

Click Here to Download Linked File

What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

Static and dynamic content editing

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

How to customize formatting for each rich text

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.