Migrate a Flow to Not Use the Flex Capability Type

Update a flow so that it doesn’t use the deprecated Flex: * capability type by replacing the input variables with new values.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations
  1. Find every place in the flow that uses an input, and write down all input variables that the flow uses.
  2. Edit the Start element, and select Manual Inputs for the input type.
  3. Add all the input variables that you wrote down.
  4. For each input in the flow, replace {!input.<input_variable>.<field>} with {!<input_variable>.<field>}.
  5. Save the flow as a new version and activate it.
  6. Update your prompt templates to use the new version of the flow, and make sure that they work as expected
  7. Delete the old version of the flow.