Skip to content

Rename variables in a flow

When you rename a variable, Studio rewrites references across the flow: formula pills, Transform data rows, step inputs, and other fields that pointed at the old name. That is different from reassign, where you keep the name and change the value on a Transform data step.

  • A variable name no longer matches its purpose (temp_url → search_url) and you want one rename instead of manual edits in every step.
  • You standardized naming after building a large flow.
  • Prefer Transform data and reassign variables when the name stays the same and only the value should change as the run progresses.

Before you begin, open the flow in the designer with permission to edit it.

Global variables are declared on the flow Configure tab, Variables section.

  1. Open Variables. In the designer, choose Configure, then open the Variables tab.

  2. Edit the name. Select the variable name field and type the new name. Studio opens a Save confirmation under the field.

    Configure Variables tab with Save confirmation while renaming a global variable

  3. Confirm Save. Choose Save (or press Enter). Studio updates formulas and references that used the previous name throughout the flow.

  4. Cancel if needed. Choose Cancel or press Escape to keep the old name.

Transform data steps expose the same rename pattern on the Variables tab for step-scoped rows.

  1. Select the Transform data step. Open the Variables tab on that step.

  2. Rename the row. Change the Name field, then Save when Studio prompts you. References in the same flow that used the old name update automatically.

A flow used alert_id in five Transform data steps and two service steps. The operator renames the global variable to incident_id on the Variables tab and confirms Save. Every / pick and formula pill that referenced alert_id now uses incident_id without editing each step by hand.

  • Rename changes the identifier, not the stored value. Use Transform data when you need a new value under the same or a new name.
  • You cannot rename the built-in Mindflow system variable. See Use Mindflow built-in variables.
  • After large renames, run a dry run or Live Run and spot-check Logs on steps that reference the variable.

Transform data and reassign variables · Work with data · Transform functions