Managing local flow variables


Zoom Contact Center admins can use the Script or HTTP Call widgets to create and manage local variables that persist within a flow. They can also use the flow variable panel to view all local variables in the flow.

This article covers:

Prerequisites for managing local flow variables

How to add a local variable

  1. Sign in to the Zoom web portal.
  2. In the navigation menu, click Contact Center Management then Flows.
  3. Click the display name of a published flow you want to edit.
  4. In the top-right corner, click the variable icon .
  5. In the Local tab, click Add Local Variable and enter the following information:
    • Variable Name: Enter an internal display name to help identify the local variable.
    • Description (Optional): Enter a description for the local variable.
    • Data Type: Select a data type for the local variable.
    • Value: Select one of the following options.
      • Undefined: The local variables doesn't have a default value.
      • Default Value: Specify a default value for the local variable. The value must be in the required format for the data type.
  6. Click Add.

How to map an output to a local variable using the Script widget

  1. Add and customize the Script widget for a flow.
  2. Click the Settings tab.
  3. In the Output variables section, select the local variable in the Script value drop-down menu.

How to map an output to a local variable using the Http Call widget

  1. Add and customize the Http Call widget for a flow.
  2. Click the Settings tab.
  3. In the Results section, click Add Result and enter the following:
    • Path: Specify the result path for the HTTP request.
    • Map to variable: Select a local variable to map the result to.

How to view and manage all local variables in a flow

If you previously added local variables, you can see a list of all variables in the current flow.

  1. Sign in to the Zoom web portal.
  2. In the navigation menu, click Contact Center Management then Flows.
  3. Click the display name of a flow you want to edit.
  4. In the top-right corner, click the variable icon .
  5. Use the following options to view and manage local variables:
    • Right-arrow icon : Show the variable's details like data type and value.
    • Pencil icon : Edit the local variable's details.
    • Trash bin icon : Delete the local variable.