---
title: Replace connections across multiple modules
slug: replace-connections-across-multiple-modules
description: Replace connections in multiple modules of the same app across one or many scenarios
image: https://archbee-image-uploads.s3.amazonaws.com/oAyFj2GHlBeBVWF5OAir2/f6C_dEIVz0o6InGyUGTWq_domino-zoomin-purple-a-1.png
docTags: 
createdAt: 2025-07-23T09:18:34.418Z
---

In Make, you may occasionally need to replace a connection that's used in multiple modules of the same app across one or many scenarios. This might be necessary when: 

- You've switched accounts.
- The authentication method has been changed.
- You need to replace the connection instead of [editing the credentials for an existing one](https://help.make.com/connect-an-application#tN2pJ).

Instead of replacing each connection manually, you can choose one of the two methods, depending on where the connection is used: &#x20;

- [Replace connections within one scenario](docId\:pL5t6Q5y880mdEMPw7Csd) 
- [Replace connections within multiple scenarios](docId\:pL5t6Q5y880mdEMPw7Csd)

## Replace the connection within one scenario

Use this method when multiple modules in the same scenario use the connection you want to replace. &#x20;

:::hint{type="info"}
You'll need the **Make DevTool&#x20;**&#x69;nstalled. See the installation instructions [here](https://help.make.com/make-devtool#_pJCx). 
:::

:::::WorkflowBlock
:::WorkflowBlockItem
Open the scenario in Make where you want to change the connection. 
:::

:::WorkflowBlockItem
Click any module that will use the new connection, then click **Add&#x20;**&#x6E;ext to the **Connection** field.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/voWL0wH_SMMoMK2gVsp-j-20251009-143708.png" size="50" width="974" height="1394" position="center" darkWidth="974" darkHeight="1394" showCaption="false"}
:::

:::WorkflowBlockItem
Complete the required steps to create and save your new connection.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/lK99aHBo0sO-UHu3nY7Mj-20251009-143737.png" size="40" width="696" height="678" position="center" darkWidth="696" darkHeight="678" showCaption="false"}
:::

::::WorkflowBlockItem
Open **Chrome Developer Tools**:

- **Windows**: **Control+Shift+I** or **F12**
- **Mac**: **Fn+F12**

:::hint{type="info"}
Use a horizontal dock for better visibility. Click the three dots in the toolbar's right corner to configure this.
:::
::::

:::WorkflowBlockItem
Switch to the **Make** tab in the Developer Tools. 

![](https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/0Y_9hRD5YYolR76YcksLl-20251009-143806.png)
:::

:::WorkflowBlockItem
In the left sidebar, click **Tools**, then select **Swap Connection**.

::Image[]{src="https://api.archbee.com/api/optimize/PL8X94efBsjvhfQV3wyyj-guplp8zJYXUvpq09uctui-20250801-073631.png" size="80" width="1758" height="590" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
In the **Source** **Module** field, select the module where you’ve created the new connection. The number in brackets helps you locate it in the Scenario Builder.

In the **Target Module&#x20;**&#x66;ield, add the modules where you want to change the connection. Leave it empty to update all the modules of the same app in the scenario.

::Image[]{src="https://api.archbee.com/api/optimize/PL8X94efBsjvhfQV3wyyj-h8rrhQZAB12p_E15b4XUN-20250723-125031.png" size="40" width="728" height="592" position="center" showCaption="false"}
:::

:::WorkflowBlockItem
Click **Run**.
:::

:::WorkflowBlockItem
Wait for the “Run completed” message, and click **Done**.

::Image[]{src="https://api.archbee.com/api/optimize/PL8X94efBsjvhfQV3wyyj-r4N8kyePCquqBYG8Vgn5o-20250723-125129.png" size="40" width="706" height="394" position="center" showCaption="false"}
:::
:::::

All modules from the app in this scenario now use the new connection.  

## Replace connections within multiple scenarios 

If you need to update the connection used in multiple scenarios, using Make DevTool may be time-consuming. Instead, you can use [Make app](https://apps.make.com/make) modules to replace connections across multiple scenarios. For that, you need to:

- [Obtain the IDs of the old connection to be replaced and the new one](docId\:pL5t6Q5y880mdEMPw7Csd). 
- [Create a scenario to change the connections](docId\:pL5t6Q5y880mdEMPw7Csd). 

:::hint{type="warning"}
&#x20;The Make app is only available on [paid plans](https://www.make.com/en/pricing).&#x20;
:::

### Obtain the IDs of the old and new connections

To change the connection across multiple scenarios, you'll first need to obtain the IDs of both the old and new connections. 

:::hint{type="info"}
Before you begin, make sure you’ve already created the new connection in at least one scenario. If not, follow [these steps](https://help.make.com/connect-an-application#QzWef) to create a new connection, then return here to continue.
:::

::::WorkflowBlock
:::WorkflowBlockItem
Log in to your Make account and click **+ Create new scenario.**
:::

:::WorkflowBlockItem
Add the **Make app&#x20;**&#x61;nd select the **List connections in a team&#x20;**&#x6D;odule.
:::

:::WorkflowBlockItem
Configure the module settings:&#x20;

- In the **Connection** field, choose your Make connection. If you use an API connection, make sure your API key has the **organizations\:read** and **connections\:read&#x20;**&#x73;copes.&#x20;
- In the **Team ID** field, click **Search** **teams**, and select the required team.&#x20;
- Optional: In the **Type&#x20;**&#x66;ield, you can enter the app name, if you know the exact one:
  - The app name is typically the name of the service (e.g., shopify, notion, facebook).
  - If the app offers more than one connection type, the name may have a number appended (e.g., slack2, airtable3).
  - For apps with compound names, dashes are used (e.g., google-forms, google-sheets).&#x20;
  - You can also check the exact app name using the Make DevTool's **Highlight App&#x20;**&#x66;eature. See the instructions [here](https://help.make.com/make-devtool#Ua4B9). &#x20;
- Optional: In th&#x65;**&#x20;Limit&#x20;**&#x66;ield, you can specify how many connections you want to get in the output.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/IdqApK1DB8L00Y0YehtgB-20251009-150840.png" size="60" width="982" height="904" position="center" showCaption="false" indent="2"}
:::

:::WorkflowBlockItem
Click **Save**. 
:::

:::WorkflowBlockItem
Click the **Run once&#x20;**&#x62;utton in the Scenario Builder toolbar.&#x20;
:::

:::WorkflowBlockItem
Click the operation bubble above the module.
:::

:::WorkflowBlockItem
 In the **Output**, expand **Body&#x20;**> **Connections**.&#x20;

In the output, you will see:

- Your new and old connections' respective **IDs**.
- Your new and old connections' **names**. To identify the old and new connection names, compare the **Name** in the output with the name used when creating the connection.
- Unde&#x72;**&#x20;Account name**, the type of connection you searched for.&#x20;
:::

:::WorkflowBlockItem
 Copy the IDs for the next steps. 

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/hFXdZTdRRtOUlbDd-lCNh-20251009-150904.png" size="40" width="692" height="1362" position="center" darkWidth="692" darkHeight="1362" showCaption="false"}
:::
::::

### Create a scenario to replace connections

You can use our [template](https://www.make.com/en/hq/template/16232-migration-of-connection-in-scenarios) with a pre-set scenario to replace the connection, or create a scenario yourself.

In the latter case, you'll need to complete the steps described below to find the relevant scenarios, get their blueprints, and update them using the Make app. &#x20;

::::WorkflowBlock
:::WorkflowBlockItem
In your Make account, click **+ Create new scenario.&#xA0;**
:::

:::WorkflowBlockItem
Add the **Tools > Set variables** (formerly known as Set multiple variables) module, and set two variables obtained from the previous step:

- Item 1: old\_connection\_id (Variable name) and its ID (Variable value)
- Item 2: new\_connection\_id (Variable name) and its ID (Variable value)

Click **Save**.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/83uv365BKqg_OrQlC5xuj-20251009-150932.png" size="60" width="1020" height="1002" position="center" darkWidth="1020" darkHeight="1002" showCaption="false"}
:::

:::WorkflowBlockItem
To find all the scenarios that use the old connection you want to replace, add the **Make** > **Search scenarios** module. &#x20;
:::

:::WorkflowBlockItem
Configure the module settings:

- In the **Connection** field, choose your Make connection. 
- Select your **Organization** and **Team**.&#x20;
- Select the **Folder** if the required scenarios are stored in a particular folder.&#x20;
- Use **Filters** to refine the search by default and/or custom properties. For example, if you need to search for scenarios created by you.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/dVFNG4JF-zvb5JAmxKtlr-20251009-151003.png" size="70" width="1114" height="1388" position="center" showCaption="false" indent="2"}

- Choose which scenarios to include in the search: active, inactive, or all.&#x20;
- In the **Limit** field, specify how many scenarios to return in the output.

Click **Save**.&#x20;
:::

:::WorkflowBlockItem
Optional: Add a filter after this module to further narrow down the scenarios that need to be edited. This may be relevant if the **Search** **scenarios** module doesn’t allow filtering by the parameters you need.
:::

:::WorkflowBlockItem
To retrieve the scenario blueprint you'll work with, add the **Make** **>** **Get a scenario blueprint&#x20;**&#x6D;odule.&#x20;
:::

:::WorkflowBlockItem
Configure the module settings:

- In the **Connection** field, choose your Make connection. 
- In the **Scenario ID** field, map the `Scenario ID` from the **Search scenarios&#x20;**&#x6D;odule.&#x20;
- Click **Advanced settings**, and select **JSON string** in the **Return a blueprint&#x20;**&#x66;ield.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/9QzKgmduomkA0ev8WdU5Z-20251009-151029.png" size="70" width="1124" height="996" position="center" showCaption="false" indent="2"}

Click **Save**.
:::

:::WorkflowBlockItem
Optional: Add a filter for the connection ID to ensure that only scenarios containing the old connection are updated.

- Enter `toString`(map `Blueprint` from the **Get a scenario blueprint** module`)` to the **Condition** field.
- Choose **Text operator: Contains**.&#x20;
- Enter ("\_\_IMTCONN\_\_": map the old connection variable from the **Set a variable** module)

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/neH-L6O-qPrLkMdsGZMBO-20251009-151052.png" size="70" width="1124" height="996" position="center" showCaption="false" indent="2"}
:::

:::WorkflowBlockItem
Optional: You can temporarily add a **Tools > Text aggregator** module after the **Make >** **Get a scenario blueprint&#x20;**&#x6D;odule. This will list all scenarios that are about to be updated, helping you confirm that the connections will be replaced in the correct scenarios. Once you've verified that, you can either disconnect or delete the **Text aggregator&#x20;**&#x6D;odule.&#x20;

![](https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/dFjoeDBfahER_68BlW2VN-20251009-151526.png)
:::

:::WorkflowBlockItem
To update the scenarios that use the old connection with a new connection, add the **Make** > **Update a scenario** module. 
:::

:::WorkflowBlockItem
Configure the module settings:

- In the **Connection** field, choose your Make connection. 
- In the **Scenario ID** field, map the **Scenario ID** from the **Search scenarios&#x20;**&#x6D;odule.
- In th&#x65;**&#x20;Blueprint&#x20;**&#x66;ield, add a **replace** function, map the **Blueprint**, and add the old and new connection IDs in the following formats: `"__IMTCONN__": connection ID`.
- Leave the **Scenario name** and **Folder ID** fields blank.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/h2u30zTfE56iyt5UQ1RJL-20251009-151339.png" size="70" width="1254" height="1278" position="center" showCaption="false" indent="2"}

Click **Save**.
:::

:::WorkflowBlockItem
Click the **Run once&#x20;**&#x62;utton in the Scenario Builder toolbar.
:::
::::

All the old connections in the scenarios you selected will be updated to new ones.

## How to confirm the connections are replaced correctly

To verify that the right connections have been replaced in your scenarios, follow these steps.

::::WorkflowBlock
:::WorkflowBlockItem
After running the full scenario, add a **Tools > Text aggregator&#x20;**&#x6D;odule after the **Make > Update a scenario** module. Select **Make > Update a scenario** as a source module, and map `Name` and `Scenario ID` from that module.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/bMjMaQH4A1wQiNhq-rQjd-20251009-151719.png" size="70" width="1806" height="604" position="center" showCaption="false"}

Run the scenario again. If the connection was successfully replaced, this second run should return 0 results (i.e., there’s nothing to replace).
:::

:::WorkflowBlockItem
After running the full scenario, you can also set a filter to find scenarios that use the new connection.

- Enter `toString`(map `Blueprint` from the **Get a scenario blueprint** module`)` to the **Condition** field.
- Choose **Text operator: Contains**.&#x20;
- Enter ("\_\_IMTCONN\_\_": map the new connection variable from the **Set a variable** module)

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/yHJHD4bvI-XA8yOT4qihr-20251009-151803.png" size="70" width="1386" height="742" position="center" showCaption="false" indent="2"}

If you run the scenario again, it should return all scenarios that have the replaced connection.
:::
::::

## Troubleshooting

Here you can find solutions for the most common issues when replacing the connection across multiple modules in Make.

:::ExpandableHeading
### Don’t see any or certain scenarios from the Search scenario module

- Make sure you’ve selected the correct **Organization**, **Team,** and **Folder** (if applicable).
- Check whether the **filters** you’ve set match the properties of the scenarios you’re looking for. 
- Review the **Limit** field to ensure you’re not cutting off results. 
- Ensure you are filtering the correc&#x74;**&#x20;Connection ID**.
:::

:::ExpandableHeading
### The Update a scenario module fails or doesn’t update anything

- Confirm that the **Blueprint** field is filled in correctly, including the proper `replace ()` syntax. 
- Double-check that the blueprint actually contains the old connection ID you’re trying to replace.
- Verify that you are editing the correct app connection.
:::

:::ExpandableHeading
### What happens if you update scenarios incorrectly

An incorrect update can break the connections in your scenarios. It’s best to test your setup on one or two scenarios first before applying changes in bulk. 

Additionally, you can use the **Tools > Text aggregator&#x20;**&#x6D;odule after the **Make > Get a scenario blueprint&#x20;**&#x6D;odule, as explained above. This will display a list of all scenarios that are about to be updated, helping you confirm that the connections will be replaced in the correct scenarios.

You can also [restore a previous scenario version](https://help.make.com/restore-a-previous-scenario-version) if something goes wrong. &#x20;


:::

