---
schema_version: "1"
id: 13d022abcdf7111a698f7846437ed6858b48cb229ac0c1287b623410a88cbb7a
title: Migrate a Flow to Not Use the Flex Capability Type
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/prompt_builder_migrate_flow.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.prompt_builder_migrate_flow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3c333a7982968bae0a1655df2eed46fb3f8f6ff09a47138969fa01432d637a25
description: "Update a flow so that it doesn’t use the deprecated Flex: * capability type by replacing the input variables with new values."
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations</td></tr></tbody></table>

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.