Skip to main content
About the Resource Center

Extract Secure Data action

Use the Extract Secure Data data action in a secure call or voice bot flow to copy secure data to a non-secure variable of the same type. For example, you might create a variable that extracts the last 4 digits of a customer’s credit card or a customer’s account balance. Architect grants read access to secure variables so that you can use them in the action’s expressions without extracting to a non-secure variable prior to using them.

The Extract Secure Data action is similar to the Update Data data action, with the following exceptions:

  • The destination variable must be a non-secure variable
  • When specifying the value to assign, expressions can read the values of secure variables
  • Flow authors must check a box on the Extract Secure Data data action to acknowledge the intent to unsecure data from a secure variable and assign it to a non-secure variable

In the Extract Secure Data data action, you can create secure or unsecure update statements. In the update statement:

  • The destination variable must be a non-secure variable
  • The input data must be an expression that contains a secure variable reference. For example,
    If(IsSet(Secure.CustomerId),Substring(Secure.CustomerId, 0, 3), "")

For each Extract Secure Data data action, Architect prompts you with a check box to acknowledge the user is making the data insecure. When checked, the application displays the user name and date the box was checked. This confirms that you plan to use the data in a way that Architect can no longer guarantee is secure. 

Note: If the user that checks this box is removed from Genesys Cloud, the flow will not result in an error. However, the next user to edit the flow will be prompted to check the box.

After you confirm security risk acceptance, the Extract Secure Data data action contains the same functionality as the Update Data data action:

NameDescription
Name field

Type a distinctive name for the Extract Secure Data data action. The label you enter here becomes the action’s name displayed in the call or voice bot flow structure.

Add update statement buttonClick this button to open a menu from which to choose the value to assign to a particular variable. The form may change, depending on the value or collection you choose. For information on the available variables and how to build them, see the Suggested content.
Note: For information about how to convert a string value into a typed value in Architect, see Convert a string value to a typed value.

Add update statement variables

Choose from these variables: