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.
Requirements for managing local flow variables
How to add a local variable
- Sign in to the Zoom web portal as an admin with the privilege to edit flow settings.
- In the navigation menu, click Contact Center Management then Flows.
- Click the display name of a published flow you want to edit.
- In the top-right corner, click Flow Variables.
- 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.
- (Optional) Click the Display in Zoom Contact Center client toggle if you want to display the variables to the following locations:
- Display Name (Optional): The display name will override the variable name when shown in Zoom desktop app.
- Click Add.
How to map an output to a local variable using the Script widget
- Add and customize the Script widget for a flow.
- Click the Settings tab.
- 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
- Add and customize the Http Call widget for a flow.
- Click the Settings tab.
- 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.
- Sign in to the Zoom web portal as an admin with the privilege to edit flow settings.
- In the navigation menu, click Contact Center Management then Flows.
- Click the display name of a flow you want to edit.
- In the top-right corner, click the Flow Variables.
- Use the following options to view and manage variables:
- Local: View all variables unique to this flow. To add more, click Add Local Variable.
- Global: View all system and custom global variables used in this flow. To manage these, click Manage Global Variables and update as needed.